Bug #59956 [Opn->Csd]: fails to find igbinary headers
| From: | iliaa@php.net | Date: | Mon, 17 Oct 2011 23:29:59 +0000 |
| Subject: | Bug #59956 [Opn->Csd]: fails to find igbinary headers | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-164386@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=59956&edit=1
ID: 59956
Updated by: iliaa@php.net
Reported by: Fedora at FamilleCollet dot com
Summary: fails to find igbinary headers
-Status: Open
+Status: Closed
Type: Bug
Package: memcached
Operating System: GNU/Linux (Fedora 15)
PHP Version: 5.3.6
-Assigned To:
+Assigned To: iliaa
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Fixed in git.
Previous Comments:
------------------------------------------------------------------------
[2011-09-17 11:43:39] fedora at famillecollet dot com
This trivial patch fix the issue:
https://raw.github.com/remicollet/remirepo/master/php-pecl-memcached/memcached-incl.patch
I think ext/session/igbinary.h doesn't need to be checked as code include
ext/igbinary/igbinary.h
------------------------------------------------------------------------
[2011-09-17 11:38:28] Fedora at FamilleCollet dot com
Description:
------------
When headers are not in the standard directory, configure fails to find igbinary.h
I check the github master branch, same fix required.
Reproduce code:
---------------
./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu
--target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info
--enable-memcached-igbinary --with-php-config=/usr/bin/php53/php-config
Expected result:
----------------
checking for igbinary includes... /usr/include/php53/php
Actual result:
--------------
...
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php53/php -I/usr/include/php53/php/main
-I/usr/include/php53/php/TSRM -I/usr/include/php53/php/Zend -I/usr/include/php53/php/ext
-I/usr/include/php53/php/ext/date/lib
checking for PHP extension directory... /usr/lib64/php53/modules
checking for PHP installed headers prefix... /usr/include/php53/php
...
checking for session includes... /usr/include/php53/php
checking for igbinary includes... configure: error: Cannot find igbinary.h
...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=59956&edit=1