<HTML>
<HEAD>
<TITLE>Re: [rabbitmq-discuss] Compiling rabbitmq-c</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Response may have been flagged as spam, so sending shell dump as attachment.<BR>
<BR>
Thanks in advance for your help,<BR>
Pieter<BR>
<BR>
<BR>
On 8/15/10 2:08 AM, "Alexandru Scvorţov" <<a href="alexandru@rabbitmq.com">alexandru@rabbitmq.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
Could you please try again with:<BR>
* rabbitmq-codegen default, and<BR>
* rabbimtq-c default.<BR>
<BR>
This should work and you give you a 0-8 client.<BR>
<BR>
Cheers,<BR>
Alex<BR>
<BR>
On Sat, Aug 14, 2010 at 11:42:40PM -0700, Pieter de Zwart wrote:<BR>
> Hey guys,<BR>
><BR>
> I freely admit that I am an idiot, but I could use some help. I am trying to<BR>
> get some combination of rabbitmq-c and codegen to compile on my box (FC8 ‹<BR>
> old, I know,) and it wont behave. I am using<BR>
> <a href="http://hg.rabbitmq.com/rabbitmq-c/rev/ce1eaceaee94">http://hg.rabbitmq.com/rabbitmq-c/rev/ce1eaceaee94</a> (amqp_0_8 tag) and<BR>
> <a href="http://hg.rabbitmq.com/rabbitmq-codegen/rev/d1b197ff0c5d">http://hg.rabbitmq.com/rabbitmq-codegen/rev/d1b197ff0c5d</a> (rabbitmq_v_1_8_0)<BR>
> and I keep on getting:<BR>
><BR>
> utility:~/workspace/rabbit/rabbitmq-c-0.8$ make<BR>
> make all-recursive<BR>
> make[1]: Entering directory `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8'<BR>
> Making all in librabbitmq<BR>
> make[2]: Entering directory<BR>
> `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/librabbitmq'<BR>
> PYTHONPATH=/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen python<BR>
> ./codegen.py header<BR>
> /home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp-rabbitmq-0.8.jso<BR>
> n amqp_framing.h<BR>
> Traceback (most recent call last):<BR>
> File "./codegen.py", line 490, in <module><BR>
> do_main(generateHrl, generateErl)<BR>
> File<BR>
> "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",<BR>
> line 263, in do_main<BR>
> do_main_dict({"header": header_fn, "body": body_fn})<BR>
> File<BR>
> "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",<BR>
> line 298, in do_main_dict<BR>
> execute(funcDict[function], sources, dest)<BR>
> File<BR>
> "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",<BR>
> line 277, in execute<BR>
> fn(amqp_specs)<BR>
> File "./codegen.py", line 487, in generateHrl<BR>
> genHrl(AmqpSpec(specPath))<BR>
> File<BR>
> "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",<BR>
> line 155, in __init__<BR>
> self.major = self.spec['major-version']<BR>
> KeyError: 'major-version'<BR>
> make[2]: *** [amqp_framing.h] Error 1<BR>
> make[2]: Leaving directory<BR>
> `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/librabbitmq'<BR>
> make[1]: *** [all-recursive] Error 1<BR>
> make[1]: Leaving directory `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8'<BR>
> make: *** [all] Error 2<BR>
><BR>
> What am I doing wrong?! What is the current secret magic incantation?<BR>
><BR>
> Thanks,<BR>
> Pieter<BR>
<BR>
> _______________________________________________<BR>
> rabbitmq-discuss mailing list<BR>
> <a href="rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><BR>
> <a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><BR>
<BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
-- <BR>
</SPAN></FONT><FONT COLOR="#323232"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:14pt'>the rubicon project<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#B80020"><FONT SIZE="1"><SPAN STYLE='font-size:9pt'><BR>
</SPAN><SPAN STYLE='font-size:7pt'>PIETER DE ZWART </SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#3E3E3E">| </FONT><FONT COLOR="#3F3F3F">INTERFACES TEAM, LEAD ENGINEER<BR>
</FONT><FONT COLOR="#B9001C">••• P 310 207 0272 | x224<BR>
••• F 323 466 7119<BR>
</FONT><BR>
<FONT COLOR="#3A3A3A"><BR>
1925 S. BUNDY DRIVE<BR>
LOS ANGELES, CALIFORNIA 90025<BR>
</FONT><FONT COLOR="#B40D1B"><BR>
</FONT><FONT COLOR="#0000FD">WWW.RUBICONPROJECT.COM</FONT><FONT COLOR="#B40D1B"> <</FONT><FONT COLOR="#0000FF"><U><a href="http://">http://</a>www.rubiconproject.com/</U></FONT><FONT COLOR="#B40D1B">> <BR>
</FONT></SPAN></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT><FONT COLOR="#2D2D2D"><FONT SIZE="4"><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:13pt'><IMG src="cid:3364761850_18453480" ><BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Verdana, Helvetica, Arial"><FONT COLOR="#767676"><FONT SIZE="1"><SPAN STYLE='font-size:7pt'>“COMPANY OF THE YEAR” ALWAYSON ONMEDIA 2009<BR>
#24 ON FAST COMPANY FAST 50 READER FAVORITES<BR>
2008 ALWAYSON 250 GLOBAL WINNER<BR>
2008 ALWAYSON ONMEDIA 100 WINNER<BR>
TWIISTUP3 BEST IN SHOW<BR>
</SPAN></FONT></FONT><FONT SIZE="1"><SPAN STYLE='font-size:7pt'><FONT COLOR="#757575">PRICEWATERHOUSECOOPERS – ENTRETECH BEST STARTUP<BR>
</FONT><FONT COLOR="#767676">AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST BEST NEW COMPANY<BR>
</FONT><FONT COLOR="#757575">AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST MOST INNOVATIVE COMPANY<BR>
AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST NEW PRODUCT OR SERVICE - SERVICES<BR>
<BR>
</FONT></SPAN></FONT></FONT><FONT COLOR="#177E00"><FONT SIZE="6"><FONT FACE="Webdings"><SPAN STYLE='font-size:24pt'>P</SPAN></FONT></FONT><FONT SIZE="1"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:7pt'> </SPAN></FONT><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:8pt'>Please consider the environment before printing this e-mail<BR>
</SPAN></FONT></FONT></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>