<HTML>
<HEAD>
<TITLE>Compiling rabbitmq-c</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey guys,<BR>
<BR>
I freely admit that I am an idiot, but I could use some help. I am trying to get some combination of rabbitmq-c and codegen to compile on my box (FC8 — old, I know,) and it wont behave. I am using <FONT COLOR="#0000FF"><U><a href="http://hg.rabbitmq.com/rabbitmq-c/rev/ce1eaceaee94">http://hg.rabbitmq.com/rabbitmq-c/rev/ce1eaceaee94</a></U></FONT> (amqp_0_8 tag) and <FONT COLOR="#0000FF"><U><a href="http://hg.rabbitmq.com/rabbitmq-codegen/rev/d1b197ff0c5d">http://hg.rabbitmq.com/rabbitmq-codegen/rev/d1b197ff0c5d</a></U></FONT> (rabbitmq_v_1_8_0) 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 `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/librabbitmq'<BR>
PYTHONPATH=/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen python ./codegen.py header /home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp-rabbitmq-0.8.json amqp_framing.h<BR>
Traceback (most recent call last):<BR>
File "./codegen.py", line 490, in <module><BR>
do_main(generateHrl, generateErl)<BR>
File "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py", line 263, in do_main<BR>
do_main_dict({"header": header_fn, "body": body_fn})<BR>
File "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py", line 298, in do_main_dict<BR>
execute(funcDict[function], sources, dest)<BR>
File "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py", line 277, in execute<BR>
fn(amqp_specs)<BR>
File "./codegen.py", line 487, in generateHrl<BR>
genHrl(AmqpSpec(specPath))<BR>
File "/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py", 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 `/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</SPAN></FONT>
</BODY>
</HTML>