From: jurgen at shop dot fr Operating system: FreeBSD PHP version: Irrelevant PHP Bug Type: Feature/Change Request Bug description: phpize patch so it works on FreeBSD
Description: ------------ phpize relies on shtool to find libtoolize. libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` $libtoolize -f -c || exit 1 However, on FreeBSD there is no libtoolize. Instead there is libtoolize13, libtoolize14 and/or libtoolize15. Solution: -libtoolize=`$builddir/build/shtool path glibtoolize gibtoolize` +if test $HOSTTYPE = "FreeBSD"; then + libtoolize=`$builddir/build/shtool path glibtoolize libtoolize15` +else + libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` +fi Optionally update old version shtool: #cd /usr/local/lib/php/build #mv shtool shtool.old #ln -s /usr/local/bin/shtool Reproduce code: --------------- #phpize --clean #phpize autoheader: `config.h.in' is created -f: not found Expected result: ---------------- phpize fails to do it's job and You can't compile modules afterwards. -- Edit bug report at http://bugs.php.net/?id=30141&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30141&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30141&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30141&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30141&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30141&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30141&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30141&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30141&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30141&r=support Expected behavior: http://bugs.php.net/fix.php?id=30141&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30141&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30141&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30141&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30141&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30141&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30141&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30141&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30141&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30141&r=mysqlcfg