#41849 [NEW]: php-config report wrong --includes which break phpize'd program building
| From: | phpxcache at gmail dot com | Date: | Fri, 29 Jun 2007 02:03:01 +0000 |
| Subject: | #41849 [NEW]: php-config report wrong --includes which break phpize'd program building | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-114430@lists.php.net to get a copy of this message | ||
From: phpxcache at gmail dot com
Operating system: linux
PHP version: 5CVS-2007-06-29 (CVS)
PHP Bug Type: Compile Failure
Bug description: php-config report wrong --includes which break phpize'd program building
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 bug report at http://bugs.php.net/?id=41849&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41849&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41849&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41849&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41849&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41849&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41849&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41849&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41849&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41849&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41849&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41849&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41849&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41849&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41849&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41849&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41849&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41849&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41849&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41849&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41849&r=mysqlcfg