#41849 [Opn->Csd]: php-config report wrong --includes which break phpize'd program building
| From: | sniper@php.net | Date: | Fri, 29 Jun 2007 11:36:14 +0000 |
| Subject: | #41849 [Opn->Csd]: php-config report wrong --includes which break phpize'd program building | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-114442@lists.php.net to get a copy of this message | ||
ID: 41849
Updated by: sniper@php.net
Reported By: phpxcache at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Compile Failure
Operating System: linux
PHP Version: 5CVS-2007-06-29 (CVS)
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2007-06-29 02:03:01] 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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41849&edit=1