php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59956 fails to find igbinary headers
Submitted: 2011-09-17 11:38 UTC Modified: 2011-10-17 23:29 UTC
From: Fedora at FamilleCollet dot com Assigned: iliaa (profile)
Status: Closed Package: memcached (PECL)
PHP Version: 5.3.6 OS: GNU/Linux (Fedora 15)
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Fedora at FamilleCollet dot com
New email:
PHP Version: OS:

 

 [2011-09-17 11:38 UTC] 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
...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-17 11:43 UTC] 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-10-17 23:29 UTC] iliaa@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: iliaa
 [2011-10-17 23:29 UTC] iliaa@php.net
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.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 11:01:31 2025 UTC