[rabbitmq-discuss] Rabbit Erlang Client on Windows

Colin Z theczintheroc2007 at gmail.com
Wed Dec 2 23:44:08 GMT 2009


Hey guys, I'm trying to upgrade all my Erlang and Rabbit components and am
completely baffled at the complexity of changes since the last time I
upgraded. Previously, everything seemed to "just work."

Trying to target:
 Erlang 13B03
 RabbitMQ server 1.7.0
 Latest version of RabbitMQ Erlang client

I cannot get RabbitMQ to build from source, so I defaulted to using the
pre-built version:
http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.0/rabbitmq-server-windows-1.7.0.zip


The client does not seem to come in a pre-built version, and I cannot get it
to build from source either. It seems to want to build RabbitMQ itself and
the pre-built version of MQ doesn't come with a Makefile, unfortunately.

I have Python30 installed, if that matters.

Theres seems to be an issue auto-generating some of the AMQP spec stuff.

This is with RabbitMQ pre-built and in lib/rabbitmq-server:

Admin at myhost /cygdrive/f/Program
Files/erl5.7.4/lib/rabbitmq-erlang-client-default
$ make
sed -e 's:%%VSN%%:0.0.0:g' < rabbit_common.app.in > rabbit_common.app
f:/Program Files/GnuWin32/bin/make -C ../rabbitmq-server
make[1]: Entering directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'
make: *** [dist/rabbit_common.ez] Error 2

If I instead grab Rabbit from Mercurial:

hg clone http://hg.rabbitmq.com/rabbitmq-codegen

hg clone http://hg.rabbitmq.com/rabbitmq-server

cd rabbitmq-server

make

I get this:

Admin at myhost /cygdrive/f/Program
Files/erl5.7.4/lib/rabbitmq-erlang-client-default
$ make
f:/Program Files/GnuWin32/bin/make -C ../rabbitmq-server
make[1]: Entering directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'
python codegen.py body   ../rabbitmq-codegen//amqp-0.8.json
src/rabbit_framing.erl
  File "codegen.py", line 60
    else: raise 'Non-empty table defaults not supported', d
                                                        ^
SyntaxError: invalid syntax
make[1]: *** [src/rabbit_framing.erl] Error 1
make[1]: Leaving directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'
make: *** [dist/rabbit_common.ez] Error 2

I get the same codegen error if I try to just build RabbitMQ directly, too.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20091202/924fc3f2/attachment.htm 


More information about the rabbitmq-discuss mailing list