ID: 27245 Comment by: jurgen at person dot be Reported By: ikindred at cox dot net Status: Wont fix Bug Type: Compile Failure Operating System: FreeBSD PHP Version: 4.3.4 New Comment:
O and I forget something. The version of shtool is pretty old ! #/usr/local/lib/php/build/shtool -v GNU shtool 1.6.2 (02-Nov-2002) Why to include shtool, if it's a separate package or tool to install (/usr/ports/devel/shtool) ? #/usr/local/bin/shtool -v GNU shtool 2.0.1 (11-Aug-2004) So I suggest at least to symlink. #cd /usr/local/lib/php/build #mv shtool shtool.old #ln -s /usr/local/bin/shtool But the problem of libtoolize remains remeans when You need phpize to buid a module (in this case Xdebug) #cd /usr/local/src/xdebug-2.0.0beta1 #phpize --clean #phpize autoheader: `config.h.in' is created -f: not found * line (/usr/local/bin/phpize) : * libtoolize=`$builddir/build/shtool path glibtoolize libtoolize` * $libtoolize -f -c || exit 1 :-) Previous Comments: ------------------------------------------------------------------------ [2004-09-18 17:11:17] jurgen at person dot be Derick, I don't agree with You on this. We have the same problem here with php 4.3.8 and FreeBSD 5.2.1 Compiling Xdebug2 fails for the same reason. php 4.3.8 was installed from SOURCE ! It's a little work to modify the script phpize to verify if the OS is freebsd and to catch this problem ! The error is not on FreeBSD but on phpize ------------------------------------------------------------------------ [2004-02-13 13:52:32] [EMAIL PROTECTED] Not a bug in PHP really, we can't help that FreBSD's port is fucked up :) ------------------------------------------------------------------------ [2004-02-13 13:40:06] ikindred at cox dot net 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 this bug report at http://bugs.php.net/?id=27245&edit=1
