Edit report at https://bugs.php.net/bug.php?id=59615&edit=1

 ID:                 59615
 Updated by:         pdezw...@php.net
 Reported by:        nbari at dalmp dot com
 Summary:            Can not compile extencion
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            amqp
 Operating System:   FreeBSD 8.1 amd64
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

You are using incompatible versions of php-amqp and librabbitmq-c. Please use 
php-amqp v0.3 and the following librabbitmq-c branch: 
http://hg.rabbitmq.com/rabbitmq-c/rev/b01825ecc112 along with the appropriate 
codegen for your version: http://hg.rabbitmq.com/rabbitmq-codegen/tags


Previous Comments:
------------------------------------------------------------------------
[2011-07-06 00:04:27] vadim at bionicman dot ru

Hello. I have similar trouble:

----------
# pecl install -f amqp
.....
/go-pear/amqp/amqp.c: In function 'amqp_error':
/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 
'library_error'
*** Error code 1

Stop in /go-pear/pear-build-rootXEY6RJ/amqp-0.3.0.   
ERROR: `make' failed
----------

RabbitMQ C librares is installed from ports:
----------
# pkg_info -L rabbitmq-c-devel-0.0.1_1
Information for rabbitmq-c-devel-0.0.1_1:

Files:
/usr/local/share/licenses/rabbitmq-c-devel-0.0.1_1/catalog.mk
/usr/local/share/licenses/rabbitmq-c-devel-0.0.1_1/LICENSE
/usr/local/share/licenses/rabbitmq-c-devel-0.0.1_1/GPLv2
/usr/local/share/licenses/rabbitmq-c-devel-0.0.1_1/MPL
/usr/local/bin/amqp_bind
/usr/local/bin/amqp_consumer
/usr/local/bin/amqp_exchange_declare
/usr/local/bin/amqp_listen
/usr/local/bin/amqp_listenq
/usr/local/bin/amqp_producer
/usr/local/bin/amqp_sendstring
/usr/local/bin/amqp_unbind
/usr/local/include/amqp.h
/usr/local/include/amqp_framing.h
/usr/local/lib/librabbitmq.a
/usr/local/lib/librabbitmq.la
/usr/local/lib/librabbitmq.so
/usr/local/lib/librabbitmq.so.0
----------

------------------------------------------------------------------------
[2011-06-14 14:46:17] jtansava...@php.net

Do you have rabbitmq-c installed

http://hg.rabbitmq.com/rabbitmq-c/

------------------------------------------------------------------------
[2011-02-09 16:41:42] nbari at dalmp dot com

Description:
------------
cat not compiling using pecl install or by source

'amqp_rpc_reply_t' has no member named 'library_error'


pecl install channel://pecl.php.net/amqp-0.2.2


/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 
'library_error'
*** Error code 1



Reproduce code:
---------------
1. cd /usr/ports/net/rabbitmq-c-devel
2. sudo make install clean
3. wget http://pecl.php.net/get/amqp-0.2.2.tgz
4. tar -xzvf ampq-0.2.2.tgz
5. cd ampq-0.2.2
6. phpize && ./configure --with-amqp && make && sudo make install


Expected result:
----------------
successfully compiled 

Actual result:
--------------
/go-pear/amqp/amqp.c:255: error: 'amqp_rpc_reply_t' has no member named 
'library_error'
*** Error code 1




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=59615&edit=1

Reply via email to