bad symlink or missing package in php5-dev with libtool.m4

Bug #359062 reported by Sébastien Barbieri on 2009-04-10
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: php5-dev

libtool does not contains /usr/share/libtool/libtool.m4 which is required by php5-dev (php5-dev use a symlink to that libtool.m4)
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://packages.dotdeb.org stable/all Packages
        100 /var/lib/dpkg/status
     5.2.6-2ubuntu4.1 0
        500 http://be.archive.ubuntu.com intrepid-updates/main Packages
        500 http://security.ubuntu.com intrepid-security/main Packages
     5.2.6-2ubuntu4 0
        500 http://be.archive.ubuntu.com intrepid/main Packages
libtool:
  Installed: 2.2.4-0ubuntu4
  Candidate: 2.2.4-0ubuntu4
  Version table:
 *** 2.2.4-0ubuntu4 0
        500 http://be.archive.ubuntu.com intrepid/main Packages
        100 /var/lib/dpkg/status

If it's a dotdeb problem, then Ok, but it looks like /usr/share/libtool/libtool.m4 has been removed and replaced by a /usr/share/aclocal/libtool.m4 ...

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 :

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)

Ondřej Surý (ondrej) wrote :

dotdeb problem

Changed in php5 (Ubuntu):
status: New → Invalid
Ondřej Surý (ondrej) wrote :

Just for the record:

php5 (5.2.6-2ubuntu3) intrepid; urgency=low

  * debian/rules: Point /usr/lib/php5/build/{libtool.m4, ltmain.sh}
    to the right locations.

 -- Chuck Short <email address hidden> Wed, 20 Aug 2008 11:23:46 -0400

David Parrish (daveparrish) wrote :

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 :

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers