ID:               30141
 Updated by:       [EMAIL PROTECTED]
 Reported By:      jurgen at shop dot fr
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: FreeBSD
 PHP Version:      Irrelevant
 New Comment:

I think this is only applicable to FreeBSD5.  Every FreeBSD4 box I have
checked has libtoolize.


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

[2004-09-18 18:47:07] jurgen at shop dot fr

Bug #21216 should be solved either.

------------------------------------------------------------------------

[2004-09-18 18:46:04] jurgen at shop dot fr

1) Seems some modules needs libtoolize13 to compile !
   (Like xdebug2.so)

2) Bug #21216 phpize passes --no-verify to ltconfig without   
   specifying host
   quote Derick: PHP requires libtool 1.4 anyway

------------------------------------------------------------------------

[2004-09-18 17:53:35] jurgen at shop dot fr

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 this bug report at http://bugs.php.net/?id=30141&edit=1

Reply via email to