pecl & phpize-Errors unter Ubuntu 9.04

Änderungen an Libtool stehen im direkten Zusammenhang mit Fehlermeldungen beim Installieren von PHP Extensions aus dem Pecl Repository. Dies außert sich im Beispiel von APC (oder auch oci8) folgendermaßen:

downloading APC-3.0.19.tgz ...
Starting to download APC-3.0.19.tgz (115,735 bytes)
.................done: 115,735 bytes
47 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
configure.in:158: warning: LTOPTIONS_VERSION is m4_require'd but not m4_defun'd
aclocal.m4:2943: LT_INIT is expanded from...
aclocal.m4:2978: AC_PROG_LIBTOOL is expanded from...
configure.in:158: the top level
configure.in:158: warning: LTSUGAR_VERSION is m4_require'd but not m4_defun'd
configure.in:158: warning: LTVERSION_VERSION is m4_require'd but not m4_defun'd
configure.in:158: warning: LTOBSOLETE_VERSION is m4_require'd but not m4_defun'd
configure:6197: error: possibly undefined macro: m4_ifval
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure:8806: error: possibly undefined macro: _LT_SET_OPTIONS
configure:8806: error: possibly undefined macro: LT_INIT
ERROR: `phpize' failed

Problem:

Seit Libtool Version 2.2 wurden diverse Macros in mehrere Dateien gesplittet und somit vermisst das phpize eigene Build-Script build/libtool.m4 autoconf Definitionen und ist somit nicht mehr lauffähig.

Lösung (unter root):

root@host:/usr/share/aclocal# cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4

Quelle: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/262251

Diesen Eintrag bookmarken
  • Digg
  • MisterWong
  • Facebook
  • del.icio.us
  • Google
  • De.lirio.us
  • YahooMyWeb
  • Sphinn
  • Mixx
  • Technorati
  • Yigg

 

Tags: , , ,

2 Responses in “pecl & phpize-Errors unter Ubuntu 9.04”

  1. meffe Schreibt:

    Kleine Korrektur am Lösungsschnippsel. Müsste es nicht heissen:

    > root@horst:/usr/share/aclocal# cat lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4 >> libtool.m4

  2. Kevin Horst Schreibt:

    nein, ich hab noch keinen localhorst

Kommentar

Sicherheitscode