[rabbitmq-discuss] Compiling rabbitmq-c
Pieter de Zwart
pdezwart at rubiconproject.com
Sun Aug 15 07:42:40 BST 2010
Hey guys,
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
http://hg.rabbitmq.com/rabbitmq-c/rev/ce1eaceaee94 (amqp_0_8 tag) and
http://hg.rabbitmq.com/rabbitmq-codegen/rev/d1b197ff0c5d (rabbitmq_v_1_8_0)
and I keep on getting:
utility:~/workspace/rabbit/rabbitmq-c-0.8$ make
make all-recursive
make[1]: Entering directory `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8'
Making all in librabbitmq
make[2]: Entering directory
`/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/librabbitmq'
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.jso
n amqp_framing.h
Traceback (most recent call last):
File "./codegen.py", line 490, in <module>
do_main(generateHrl, generateErl)
File
"/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",
line 263, in do_main
do_main_dict({"header": header_fn, "body": body_fn})
File
"/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",
line 298, in do_main_dict
execute(funcDict[function], sources, dest)
File
"/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",
line 277, in execute
fn(amqp_specs)
File "./codegen.py", line 487, in generateHrl
genHrl(AmqpSpec(specPath))
File
"/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/codegen/amqp_codegen.py",
line 155, in __init__
self.major = self.spec['major-version']
KeyError: 'major-version'
make[2]: *** [amqp_framing.h] Error 1
make[2]: Leaving directory
`/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8/librabbitmq'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pdezwart/workspace/rabbit/rabbitmq-c-0.8'
make: *** [all] Error 2
What am I doing wrong?! What is the current secret magic incantation?
Thanks,
Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100814/2c93a655/attachment.htm>
More information about the rabbitmq-discuss
mailing list