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

Bug #359062 reported by Sébastien Barbieri
This bug affects 2 people
Affects Status Importance Assigned to Milestone
php5 (Ubuntu)

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

  Installed: 5.2.9-0.dotdeb.2
  Candidate: 5.2.9-0.dotdeb.2
  Version table:
 *** 5.2.9-0.dotdeb.2 0
        500 stable/all Packages
        100 /var/lib/dpkg/status
     5.2.6-2ubuntu4.1 0
        500 intrepid-updates/main Packages
        500 intrepid-security/main Packages
     5.2.6-2ubuntu4 0
        500 intrepid/main Packages
  Installed: 2.2.4-0ubuntu4
  Candidate: 2.2.4-0ubuntu4
  Version table:
 *** 2.2.4-0ubuntu4 0
        500 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 `': No such file or directory
cat: ./build/libtool.m4: No such file or directory warning: LT_AC_PROG_SED is m4_require'd but not m4_defun'd
aclocal.m4:2628: PHP_CONFIG_NICE is expanded from... the top level 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

Revision history for this message
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)

Revision history for this message
Ondřej Surý (ondrej) wrote :

dotdeb problem

Changed in php5 (Ubuntu):
status: New → Invalid
Revision history for this message
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,}
    to the right locations.

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

Revision history for this message
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.

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers