[php-maint] Bug#359004: Broken links in /usr/lib/php5/build

Thomas Luzat thomas.luzat at gmx.net
Sat Mar 25 20:11:59 UTC 2006


Package: php5-dev
Version: 5.1.2-1+b1

On my system /usr/lib/php5/build contains these two broken links:

libtool.m4 -> ../../../share/libtool/libtool.m4
ltmain.sh -> ../../../share/libtool/ltmain.sh

This makes phpize (phpize5) fail:

tom at mojo-jojo:~/tmp/eaccelerator-0.9.5-beta1$ /usr/bin/phpize5
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
cp: cannot stat `libtool.m4': No such file or directory
cp: cannot stat `ltmain.sh': No such file or directory
cat: ./build/libtool.m4: No such file or directory
configure.in:8: warning: LT_AC_PROG_SED is m4_require'd but is not m4_defun'd
configure.in:8: LT_AC_PROG_SED is required by...
aclocal.m4:2504: PHP_CONFIG_NICE is expanded from...
configure.in:8: the top level
configure.in:77: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:1350: error: possibly undefined macro: LT_AC_PROG_SED

I suppose the links should look like:

libtool.m4 -> ../../../share/aclocal/libtool.m4
ltmain.sh -> ../../../share/libtool/config/ltmain.sh

The build still doesn't work here, but it fixes the errors that are 
encountered first:

tom at mojo-jojo:~/tmp/eaccelerator-0.9.5-beta1$ /usr/bin/phpize5
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20050922
Zend Extension Api No:   220051025
configure.in:8: warning: LT_AC_PROG_SED is m4_require'd but is not m4_defun'd
configure.in:8: LT_AC_PROG_SED is required by...
aclocal.m4:2504: PHP_CONFIG_NICE is expanded from...
configure.in:8: the top level
[...]

But I suppose that's another bug either in the Debian "-dev"-toolchain or 
eAccelerator that I'll try to further investigate on.

Cheers,
Thomas Luzat




More information about the pkg-php-maint mailing list