php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41849 php-config report wrong --includes which break phpize'd program building
Submitted: 2007-06-29 02:03 UTC Modified: 2007-06-29 11:36 UTC
From: phpxcache at gmail dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5CVS-2007-06-29 (CVS) OS: linux
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: phpxcache at gmail dot com
New email:
PHP Version: OS:

 

 [2007-06-29 02:03 UTC] phpxcache at gmail dot com
Description:
------------
php-config report wrong --includes which break phpize'd program building

relative commit:

http://cvs.php.net/viewvc.cgi/php-src/scripts/php-config.in?r1=1.3.2.2.2.2&r2=1.3.2.2.2.3

suggested fix:
vim scripts/php-config.in
:%s/$includedir/$include_dir/g
:wq
svn ci -m oops


Reproduce code:
---------------
~/php5-debug-zts-simple/bin/php-config --includes


Expected result:
----------------
-I -I/home/moo/php5-debug-zts-simple/include/php/main -I/home/moo/php5-debug-zts-simple/include/php/TSRM -I/home/moo/php5-debug-zts-simple/include/php/Zend -I/home/moo/php5-debug-zts-simple/include/php/ext -I/home/moo/php5-debug-zts-simple/include/php/ext/date/lib

Actual result:
--------------
-I -I/main -I/TSRM -I/Zend -I/ext -I/ext/date/lib

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-29 11:36 UTC] sniper@php.net
Fixed. Thanks for the heads up, but next time: send an email to the internals list. Opening a bug report for CVS versions is not very useful.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 19:00:03 2025 UTC