[rabbitmq-discuss] Compiling rabbitmq-c
Pieter de Zwart
pdezwart at rubiconproject.com
Mon Aug 16 08:04:09 BST 2010
Response may have been flagged as spam, so sending shell dump as attachment.
Thanks in advance for your help,
Pieter
On 8/15/10 2:08 AM, "Alexandru Scvorţov" <alexandru at rabbitmq.com> wrote:
> 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
>
>
--
the rubicon project
PIETER DE ZWART | INTERFACES TEAM, LEAD ENGINEER
••• P 310 207 0272 | x224
••• F 323 466 7119
1925 S. BUNDY DRIVE
LOS ANGELES, CALIFORNIA 90025
WWW.RUBICONPROJECT.COM <http://www.rubiconproject.com/>
“COMPANY OF THE YEAR” ALWAYSON ONMEDIA 2009
#24 ON FAST COMPANY FAST 50 READER FAVORITES
2008 ALWAYSON 250 GLOBAL WINNER
2008 ALWAYSON ONMEDIA 100 WINNER
TWIISTUP3 BEST IN SHOW
PRICEWATERHOUSECOOPERS – ENTRETECH BEST STARTUP
AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST BEST NEW COMPANY
AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST MOST INNOVATIVE COMPANY
AMERICAN BUSINESS AWARDS - STEVIES ‘08 FINALIST NEW PRODUCT OR SERVICE -
SERVICES
P Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100816/1b5ed9c8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 28320 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100816/1b5ed9c8/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rabbitmq.txt
Type: application/octet-stream
Size: 2698 bytes
Desc: not available
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100816/1b5ed9c8/attachment-0001.obj>
More information about the rabbitmq-discuss
mailing list