|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59603 Compilation errors when installing
Submitted: 2011-02-02 17:44 UTC Modified: 2011-10-26 02:11 UTC
From: dritchie at gmail dot com Assigned:
Status: Not a bug Package: amqp (PECL)
PHP Version: 5.3.3 OS: Ubuntu 10.10
Private report: No CVE-ID: None
 [2011-02-02 17:44 UTC] dritchie at gmail dot com
Installing from pecl results in and which suggests a disconnect between librabbitmq-c 0.9.1 and PECL 2.2.

$ pecl install "channel://"

Reproduce code:
pecl install "channel://"

Expected result:
Install should complete correctly.

Actual result:

config.status: creating config.h
config.status: executing libtool commands
running: make
/bin/bash /var/tmp/pear-build-root/amqp-0.2.2/libtool --mode=compile cc  -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/var/tmp/pear-build-root/amqp-0.2.2/include -I/var/tmp/pear-build-root/amqp-0.2.2/main -I/tmp/pear/temp/amqp -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/amqp/amqp.c -o amqp.lo
libtool: compile:  cc -I. -I/tmp/pear/temp/amqp -DPHP_ATOM_INC -I/var/tmp/pear-build-root/amqp-0.2.2/include -I/var/tmp/pear-build-root/amqp-0.2.2/main -I/tmp/pear/temp/amqp -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/amqp/amqp.c  -fPIC -DPIC -o .libs/amqp.o
/tmp/pear/temp/amqp/amqp.c: In function ?amqp_error?:
/tmp/pear/temp/amqp/amqp.c:255: error: ?amqp_rpc_reply_t? has no member named ?library_error?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-17 16:59 UTC] joseph dot moniz at gmail dot com
Installing the latest version of librabbitmq-c solves this. 
Perhaps a stricter configure check is required and possibly 
with better messaging.
 [2011-10-26 02:11 UTC]
-Status: Open +Status: Bogus
 [2011-10-26 02:11 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 30 02:01:23 2020 UTC