[rabbitmq-discuss] ./configure can not find /codegen/amqp-0.9.1.json file

Tony Garnock-Jones tonyg at lshift.net
Tue Apr 27 23:59:48 BST 2010


Hi Jim,

Jim Irrer wrote:
> checking location of AMQP codegen directory... configure: error: could
> not find AMQP spec file at "'/codegen/amqp-0.9.1.json'"
> 
> Is the the missing file supposed to be generated?

It's supposed to come from the rabbitmq-codegen project, which the code is
expecting in a directory next to the rabbitmq-c directory. A while ago I
updated the instructions in the README,
http://hg.rabbitmq.com/rabbitmq-c/file/aafba2c665b5/README#l23, to include all
the checkout and build steps. To summarise, for the AMQP 0-8 branch, the steps are:

    hg clone http://hg.rabbitmq.com/rabbitmq-codegen/
    hg clone http://hg.rabbitmq.com/rabbitmq-c/
    cd rabbitmq-c
    autoreconf -i
    ./configure
    make

For the AMQP 0-9-1 branch, it's exactly the same, but with these two commands
after the second hg clone:

    (cd rabbitmq-codegen; hg up amqp_0_9_1)
    (cd rabbitmq-c; hg up amqp_0_9_1)

You can also replace the hg clone/hg up statements with retrieval of
appropriate tarballs. For 0-8:

    http://hg.rabbitmq.com/rabbitmq-codegen/archive/default.tar.bz2
    http://hg.rabbitmq.com/rabbitmq-c/archive/default.tar.bz2

or for 0-9-1:

    http://hg.rabbitmq.com/rabbitmq-codegen/archive/amqp_0_9_1.tar.bz2
    http://hg.rabbitmq.com/rabbitmq-c/archive/amqp_0_9_1.tar.bz2

Regards,
  Tony



More information about the rabbitmq-discuss mailing list