[rabbitmq-discuss] STOMP for 1.5.3

Darien Kindlund darien at kindlund.com
Tue Feb 24 22:46:15 GMT 2009

Hi Tony,

Hrm, I'm getting the following errors when compiling the STOMP
adapter.  I'm using the v1.5.3 Debian package to install, but I also
downloaded/extracted the v1.5.3 source .tar.gz and created a
corresponding 'rabbitmq-server' symlink, as shown below.  -- Darien

-=[root at manager src]=-# ll
total 1708
drwxr-xr-x 7 root root    4096 2009-02-24 17:42 ./
drwxr-xr-x 8 root root    4096 2009-02-24 17:43 ../
drwxrwxrwx 9 root root    4096 2009-01-14 16:31 protobuf-2.0.3/
-rw-r--r-- 1 root root 1013535 2009-01-14 16:15 protobuf-2.0.3.tar.gz
drwxrwxrwx 4 root root    4096 2009-02-24 17:34 protobuf-perlxs-0.5/
-rw-r--r-- 1 root root     733 2009-01-21 01:38
-rw-r--r-- 1 root root   94351 2009-01-14 16:13 protobuf-perlxs-0.5.tar.gz
drwxrwxrwx 4 root root    4096 2009-02-24 17:35 protobuf-perlxs-0.7/
-rw-r--r-- 1 root root   99181 2009-02-24 17:34 protobuf-perlxs-0.7.tar.gz
lrwxrwxrwx 1 root root      21 2009-02-24 17:39 rabbitmq-server ->
drwxr-xr-x 8 root root    4096 2009-02-24 13:29 rabbitmq-server-1.5.3/
-rw-r--r-- 1 root root  364264 2009-02-24 13:41 rabbitmq-server_1.5.3-1_all.deb
-rw-r--r-- 1 root root  112165 2009-02-24 13:41 rabbitmq-server-1.5.3.tar.gz
drwxr-xr-x 7 root root    4096 2009-02-24 17:43 rabbitmq-stomp/
-=[root at manager src]=-# cd rabbitmq-stomp/
-=[root at manager rabbitmq-stomp]=-# hg up rabbitmq_v1_5_3
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
-=[root at manager rabbitmq-stomp]=-# make run
erlc -I ../rabbitmq-server/include -I include -o ebin -Wall
+debug_info  src/rabbit_stomp.erl
src/rabbit_stomp.erl:43: can't find include file "rabbit_framing.hrl"
src/rabbit_stomp.erl:201: record 'channel.close_ok' undefined
src/rabbit_stomp.erl:212: record 'basic.deliver' undefined
src/rabbit_stomp.erl:216: record 'P_basic' undefined
src/rabbit_stomp.erl:227: variable 'RoutingKey' is unbound
src/rabbit_stomp.erl:228: variable 'Exchange' is unbound
src/rabbit_stomp.erl:231: variable 'DeliveryTag' is unbound
src/rabbit_stomp.erl:232: variable 'ContentType' is unbound
src/rabbit_stomp.erl:233: variable 'ContentEncoding' is unbound
src/rabbit_stomp.erl:234: variable 'ConsumerTag' is unbound
src/rabbit_stomp.erl:240: variable 'Headers' is unbound
src/rabbit_stomp.erl:244: variable 'DeliveryMode' is unbound
src/rabbit_stomp.erl:245: variable 'Priority' is unbound
src/rabbit_stomp.erl:246: variable 'CorrelationId' is unbound
src/rabbit_stomp.erl:247: variable 'ReplyTo' is unbound
src/rabbit_stomp.erl:248: variable 'MessageId' is unbound
src/rabbit_stomp.erl:330: record 'channel.open_ok' undefined
src/rabbit_stomp.erl:331: record 'channel.open' undefined
src/rabbit_stomp.erl:334: record 'access.request_ok' undefined
src/rabbit_stomp.erl:335: record 'access.request' undefined
src/rabbit_stomp.erl:345: variable 'Ticket' is unbound
src/rabbit_stomp.erl:437: record 'P_basic' undefined
src/rabbit_stomp.erl:447: record 'basic.publish' undefined
src/rabbit_stomp.erl:470: record 'basic.ack' undefined
src/rabbit_stomp.erl:506: record 'queue.declare' undefined
src/rabbit_stomp.erl:522: record 'queue.bind' undefined
src/rabbit_stomp.erl:534: record 'basic.consume' undefined
src/rabbit_stomp.erl:566: record 'basic.cancel' undefined
src/rabbit_stomp.erl:571: record 'channel.close' undefined
src/rabbit_stomp.erl:324: Warning: variable 'Realm' is unused
src/rabbit_stomp.erl:349: Warning: function user_header_key/1 is unused
src/rabbit_stomp.erl:352: Warning: function user_queue_header_key/1 is unused
src/rabbit_stomp.erl:355: Warning: function user_binding_header_key/1 is unused
src/rabbit_stomp.erl:358: Warning: function make_string_table/2 is unused
src/rabbit_stomp.erl:432: Warning: variable 'Headers' is unused
src/rabbit_stomp.erl:433: Warning: variable 'Ticket' is unused
src/rabbit_stomp.erl:435: Warning: variable 'RoutingKeyStr' is unused
src/rabbit_stomp.erl:436: Warning: variable 'ExchangeStr' is unused
src/rabbit_stomp.erl:469: Warning: variable 'DeliveryTag' is unused
src/rabbit_stomp.erl:491: Warning: variable 'Headers' is unused
src/rabbit_stomp.erl:492: Warning: variable 'Ticket' is unused
src/rabbit_stomp.erl:493: Warning: variable 'AckMode' is unused
src/rabbit_stomp.erl:499: Warning: variable 'ConsumerTag' is unused
src/rabbit_stomp.erl:505: Warning: variable 'Queue' is unused
src/rabbit_stomp.erl:519: Warning: variable 'Exchange' is unused
src/rabbit_stomp.erl:521: Warning: variable 'RoutingKey' is unused
make: *** [ebin/rabbit_stomp.beam] Error 1

On Tue, Feb 24, 2009 at 3:30 PM, Tony Garnock-Jones <tonyg at lshift.net> wrote:
> If you're using the STOMP adapter with RabbitMQ server 1.5.3, please use
> the rabbitmq_v1_5_3 tag on the rabbitmq-stomp hg module:
>  hg up rabbitmq_v1_5_3
> Regards,
>  Tony
> --
>  [][][] Tony Garnock-Jones     | Mob: +44 (0)7905 974 211
>   [][] LShift Ltd             | Tel: +44 (0)20 7729 7060
>  []  [] http://www.lshift.net/ | Email: tonyg at lshift.net
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

More information about the rabbitmq-discuss mailing list