Hi,
If I exactly follow the install instructions from the php-amqp homepage:
I have : root@test:/usr/src/rabbitmq-c# phpize Cannot find config.m4. Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
I think the file config.m4 should be created by autoreconf but in the new version it does not.
Do you have a solution for me ? Pecl installation failed on a compilation error...
Regards. Sam
Comment #1
Posted on May 5, 2012 by Massive ElephantIf I understand where you're at in the process correctly you don't need to phpize rabbitmq-c. You just have to build and install it.
cd /usr/src/ hg clone http://hg.rabbitmq.com/rabbitmq-c/ rabbitmq-c cd rabbitmq-c hg clone http://hg.rabbitmq.com/rabbitmq-codegen codegen autoreconf -i && ./configure && make && sudo make install
Once you've got that installed than you can download the php amqp extension from http://pecl.php.net/package/amqp or install from Pecl. If you want to build the code from Pecl yourself you'll have to use:
tar -xvf amqp-1.0.1.tgz cd amqp-1.0.1 phpize && ./configure --with-amqp && make && sudo make install
Status: New
Labels:
Type-Defect
Priority-Medium