[rabbitmq-discuss] Compiling rabbitmq-c
Alexandru Scvorţov
alexandru at rabbitmq.com
Sun Aug 15 10:08:26 BST 2010
Hi,
Could you please try again with:
* rabbitmq-codegen default, and
* rabbimtq-c default.
This should work and you give you a 0-8 client.
Cheers,
Alex
On Sat, Aug 14, 2010 at 11:42:40PM -0700, Pieter de Zwart wrote:
> 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
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
More information about the rabbitmq-discuss
mailing list