From:             ikindred at cox dot net
Operating system: FreeBSD
PHP version:      4.3.4
PHP Bug Type:     Compile Failure
Bug description:  phpize fails to find libtoolize on FreeBSD

Description:
------------
phpize relies on shtool to find libtoolize, as can be seen in the
following excerpt from phpize (php 4.3.4):



libtoolize=`$builddir/build/shtool path glibtoolize libtoolize`

$libtoolize -f -c || exit 1



However, on FreeBSD 4.8 (and probably other versions of FreeBSD), there is
no libtoolize.  Instead there is libtoolize13, libtoolize14 and/or
libtoolize15.  I'm guessing that which libtoolizeXX versions are installed
depends on which versions of libtoolXX are install, but I have not
confirmed this.



This problem does not prevent PHP from compiling.  However, it does
prevent modules that depend on phpize from compiling.  I ran into this
problem while trying to add SQLite support to PHP 4.3.4.



A solution would be to add libtoolize13, libtoolize14 and libtoolize15 to
the list of "paths" that shtool searches.  However, as libtoolizeXX's
probably only exist on FreeBSD, I'm not sure the PHP team will want to
make this platform specific fix.  Another solution would be to have the
FreeBSD PHP port maintainer adjust the port to patch phpize when it gets
installed.



I believe that the same problem with phpize on FreeBSD exists with PHP
5.0.x, but I may be wrong about this.


-- 
Edit bug report at http://bugs.php.net/?id=27245&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27245&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27245&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27245&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27245&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27245&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27245&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27245&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27245&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27245&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27245&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27245&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27245&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27245&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27245&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27245&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27245&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27245&r=float

Reply via email to