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:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to