php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: dritchie at gmail dot com
New email:
PHP Version: OS:

 

 [2011-02-02 17:44 UTC] dritchie at gmail dot com
Description:
------------
Installing from pecl results in and which suggests a disconnect between librabbitmq-c 0.9.1 and PECL 2.2.

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

Reproduce code:
---------------
pecl install "channel://pecl.php.net/amqp-0.2.2"

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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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] pdezwart@php.net
-Status: Open +Status: Bogus
 [2011-10-26 02:11 UTC] pdezwart@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 20:01:45 2024 UTC