Hi Matthew,<br><br>Thanks for the response! Lots of work is better than no work ;)<br><br>Here's what I ended up having to do to get everything to compile and work under Windows + Cygwin:<br><br>Use python26<br>Install zip and unzip packages in Cygwin via Cygwin's setup.exe<br>
Change the line in <a href="http://common.mk/" target="_blank">common.mk</a> to LIBS_PATH=ERL_LIBS="$(DEPS_DIR)/$(DIST_DIR)/$(ERL_LIBS)/"<br><div id=":8n" class="ii gt">Copy the dist/rabbit_common directory that gets generated to the Erlang /lib/ directory</div>
<br>I can't remember if I had to run "make" again after copying the rabbit_common directory, but the above should get Windows users 95% there.<br><br>Might be useful to throw up on an FAQ somewhere until a later release makes it more streamlined.<br>
<br>-Colin<br><br><div class="gmail_quote">On Wed, Dec 9, 2009 at 7:08 AM, Matthew Sackman <span dir="ltr"><<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Colin,<br>
<br>
Sorry for the delayed response, we've been somewhat snowed under here.<br>
Or more accurately, meteorologically, drowned.<br>
<div class="im"><br>
On Wed, Dec 02, 2009 at 06:44:08PM -0500, Colin Z wrote:<br>
> Hey guys, I'm trying to upgrade all my Erlang and Rabbit components and am<br>
> completely baffled at the complexity of changes since the last time I<br>
> 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<br>
> pre-built version:<br>
> <a href="http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.0/rabbitmq-server-windows-1.7.0.zip" target="_blank">http://www.rabbitmq.com/releases/rabbitmq-server/v1.7.0/rabbitmq-server-windows-1.7.0.zip</a><br>
<br>
</div>Right, that's your problem. The Erlang client shares code with the<br>
server. Now in the past we did have a big push to make sure you could<br>
compile the client without needing the source of the server, and it did<br>
work correctly like that for a while. I have a horrible feeling though<br>
that this is broken, maybe this happened when plugins came in. There is<br>
no fundmental reason, as far as I know, why the client requires the<br>
server sources.<br>
<div class="im"><br>
> The client does not seem to come in a pre-built version, and I cannot get it<br>
> to build from source either. It seems to want to build RabbitMQ itself and<br>
> the pre-built version of MQ doesn't come with a Makefile, unfortunately.<br>
<br>
</div>Yup indeed.<br>
<div class="im"><br>
> If I instead grab Rabbit from Mercurial:<br>
</div><div class="im">> I get this:<br>
><br>
> Admin@myhost /cygdrive/f/Program<br>
> 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<br>
> src/rabbit_framing.erl<br>
> File "codegen.py", line 60<br>
> else: raise 'Non-empty table defaults not supported', d<br>
<br>
</div>Hmm. I'm not a python expert so I don't know. I'm using Python 2.5 here<br>
and that works fine. I wonder whether this is python 3000 issue.<br>
<div class="im"><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>
</div>> Any ideas?<br>
<br>
I'm afraid, I'd suggest trying a python before 3000. If that does work<br>
for you then please let us know. I guess we're going to have to rewrite<br>
all our python scripts for python 3000. Joy.<br>
<div><div></div><div class="h5"><br>
Matthew<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
</div></div></blockquote></div><br>