bad symlink or missing package in php5-dev with libtool.m4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| php5 (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Binary package hint: php5-dev
libtool does not contains /usr/share/
It was ok in hardy but not in intrepid anymore.
Description: Ubuntu 8.10
Release: 8.10
php5-dev:
Installed: 5.2.9-0.dotdeb.2
Candidate: 5.2.9-0.dotdeb.2
Version table:
*** 5.2.9-0.dotdeb.2 0
500 http://
100 /var/lib/
5.
500 http://
500 http://
5.2.6-2ubuntu4 0
500 http://
libtool:
Installed: 2.2.4-0ubuntu4
Candidate: 2.2.4-0ubuntu4
Version table:
*** 2.2.4-0ubuntu4 0
500 http://
100 /var/lib/
If it's a dotdeb problem, then Ok, but it looks like /usr/share/
Problem linked to this "bug":
unable to install pecl package for PHP:
sudo pecl install Inotify
downloading inotify-0.1.3.tgz ...
Starting to download inotify-0.1.3.tgz (8,909 bytes)
.....done: 8,909 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20060613
Zend Extension Api No: 220060519
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 not m4_defun'd
aclocal.m4:2628: PHP_CONFIG_NICE is expanded from...
configure.in:8: the top level
configure.in:137: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:1849: error: possibly undefined macro: LT_AC_PROG_SED
ERROR: `phpize' failed
Ondřej Surý (ondrej) wrote : | #1 |
Ondřej Surý (ondrej) wrote : | #3 |
Just for the record:
php5 (5.2.6-2ubuntu3) intrepid; urgency=low
* debian/rules: Point /usr/lib/
to the right locations.
-- Chuck Short <email address hidden> Wed, 20 Aug 2008 11:23:46 -0400
David Parrish (daveparrish) wrote : | #4 |
This was a dotdeb problem for me. After getting the ubuntu php5 packages I did not get this error.
I had dotdeb installed because I wanted updated php5-gd libraries for a Drupal install. I then couldn't install the PECL uploadprogress extension because I would get this error.
Alan GIvati (alangiv) wrote : | #5 |
I had the same problem with the dotdeb packages on Ubuntu 9.04. Pulled my hair out for a while till I found this bug report. Would be nice to have it fixed - dotdeb provides an awesome service otherwise.
Location of /usr/share/ */libtool. m4 is not relevant, if you look into the script, it copies those files from $phpdir:
(cd "$phpdir" && cp $FILES_BUILD "$builddir"/build)