Hi Matthew,<br><br>Thanks for the response! Lots of work is better than no work ;)<br><br>Here&#39;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&#39;s setup.exe<br>
Change the line in <a href="http://common.mk/" target="_blank">common.mk</a> to LIBS_PATH=ERL_LIBS=&quot;$(DEPS_DIR)/$(DIST_DIR)/$(ERL_LIBS)/&quot;<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&#39;t remember if I had to run &quot;make&quot; 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">&lt;<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>&gt;</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&#39;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>
&gt; Hey guys, I&#39;m trying to upgrade all my Erlang and Rabbit components and am<br>
&gt; completely baffled at the complexity of changes since the last time I<br>
&gt; upgraded. Previously, everything seemed to &quot;just work.&quot;<br>
&gt;<br>
&gt; Trying to target:<br>
&gt; �Erlang 13B03<br>
&gt; �RabbitMQ server 1.7.0<br>
&gt; �Latest version of RabbitMQ Erlang client<br>
&gt;<br>
&gt; I cannot get RabbitMQ to build from source, so I defaulted to using the<br>
&gt; pre-built version:<br>
&gt; <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&#39;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>
&gt; The client does not seem to come in a pre-built version, and I cannot get it<br>
&gt; to build from source either. It seems to want to build RabbitMQ itself and<br>
&gt; the pre-built version of MQ doesn&#39;t come with a Makefile, unfortunately.<br>
<br>
</div>Yup indeed.<br>
<div class="im"><br>
&gt; If I instead grab Rabbit from Mercurial:<br>
</div><div class="im">&gt; I get this:<br>
&gt;<br>
&gt; Admin@myhost /cygdrive/f/Program<br>
&gt; Files/erl5.7.4/lib/rabbitmq-erlang-client-default<br>
&gt; $ make<br>
&gt; f:/Program Files/GnuWin32/bin/make -C ../rabbitmq-server<br>
&gt; make[1]: Entering directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server&#39;<br>
&gt; python codegen.py body � ../rabbitmq-codegen//amqp-0.8.json<br>
&gt; src/rabbit_framing.erl<br>
&gt; � File &quot;codegen.py&quot;, line 60<br>
&gt; � � else: raise &#39;Non-empty table defaults not supported&#39;, d<br>
<br>
</div>Hmm. I&#39;m not a python expert so I don&#39;t know. I&#39;m using Python 2.5 here<br>
and that works fine. I wonder whether this is python 3000 issue.<br>
<div class="im"><br>
&gt; SyntaxError: invalid syntax<br>
&gt; make[1]: *** [src/rabbit_framing.erl] Error 1<br>
&gt; make[1]: Leaving directory `f:/Program Files/erl5.7.4/lib/rabbitmq-server&#39;<br>
&gt; make: *** [dist/rabbit_common.ez] Error 2<br>
&gt;<br>
</div>&gt; Any ideas?<br>
<br>
I&#39;m afraid, I&#39;d suggest trying a python before 3000. If that does work<br>
for you then please let us know. I guess we&#39;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>