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."<br><br>
Trying to target:<br> Erlang 13B03<br> RabbitMQ server 1.7.0<br> Latest version of RabbitMQ Erlang client<br><br>I cannot get RabbitMQ to build from source, so I defaulted to using the pre-built version:<br><a href="http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.0/rabbitmq-server-windows-1.7.0.zip">http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.0/rabbitmq-server-windows-1.7.0.zip</a><br>
<br><br>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.<br>
<br>I have Python30 installed, if that matters.<br><br>Theres seems to be an issue auto-generating some of the AMQP spec stuff.<br><br>This is with RabbitMQ pre-built and in lib/rabbitmq-server:<br><br>Admin@myhost /cygdrive/f/Program Files/erl5.7.4/lib/rabbitmq-erlang-client-default<br>
$ make<br>sed -e 's:%%VSN%%:0.0.0:g' < <a href="http://rabbit_common.app.in">rabbit_common.app.in</a> > rabbit_common.app<br>f:/Program Files/GnuWin32/bin/make -C ../rabbitmq-server<br>make[1]: Entering directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'<br>
make[1]: *** No targets specified and no makefile found. Stop.<br>make[1]: Leaving directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'<br>make: *** [dist/rabbit_common.ez] Error 2<br><br>If I instead grab Rabbit from Mercurial:<br>
<pre class="sourcecode">hg clone <a href="http://hg.rabbitmq.com/rabbitmq-codegen">http://hg.rabbitmq.com/rabbitmq-codegen</a><br></pre><pre class="sourcecode">hg clone <a href="http://hg.rabbitmq.com/rabbitmq-server">http://hg.rabbitmq.com/rabbitmq-server</a><br>
<br>cd rabbitmq-server<br><br>make<br></pre>I get this:<br><br>Admin@myhost /cygdrive/f/Program Files/erl5.7.4/lib/rabbitmq-erlang-client-default<br>$ make<br>f:/Program Files/GnuWin32/bin/make -C ../rabbitmq-server<br>make[1]: Entering directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'<br>
python codegen.py body ../rabbitmq-codegen//amqp-0.8.json src/rabbit_framing.erl<br> File "codegen.py", line 60<br> else: raise 'Non-empty table defaults not supported', d<br> ^<br>
SyntaxError: invalid syntax<br>make[1]: *** [src/rabbit_framing.erl] Error 1<br>make[1]: Leaving directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server'<br>make: *** [dist/rabbit_common.ez] Error 2<br><br>I get the same codegen error if I try to just build RabbitMQ directly, too.<br>
<br>Any ideas?<br>