pear automatically crashing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Lummert

    pear automatically crashing

    Hi there,

    I've got a severe problem with pear when trying to install pdflib.

    First pear demanded a program named phpize. After searching a while
    I found that phpize is part of php-devel while pear is part of the
    php package itself. Maybe that should be changed as it makes absolutely
    no sense having pear without phpize.

    Now after installing php-devel pear still fails, now stating:

    running: phpize
    /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of
    AM_PATH_SMPEG
    run info '(automake)Exte nding aclocal'
    or see http://sources.redhat.com/automake/a...ending-aclocal
    Configuring for:
    PHP Api Version: 20020918
    Zend Module Api No: 20020429
    Zend Extension Api No: 20021010
    `phpize' failed

    and after temporarily moving smpeg.m4 from aclocal still:

    downloading pdflib-2.0.4.tgz ...
    Starting to download pdflib-2.0.4.tgz (36,082 bytes)
    ...........done : 36,082 bytes
    7 source files, building
    running: phpize
    Configuring for:
    PHP Api Version: 20020918
    Zend Module Api No: 20020429
    Zend Extension Api No: 20021010
    `phpize' failed

    just 'failed' with no further hints!
    But having a look at the phpize script, it must obviously have run
    without errors as the last lines go:

    # dumping API NOs:
    PHP_API_VERSION =`egrep '#define PHP_API_VERSION '
    $includedir/main/php.h|sed 's/#define PHP_API_VERSION//'`
    ZEND_MODULE_API _NO=`egrep '#define ZEND_MODULE_API _NO'
    $includedir/Zend/zend_modules.h| sed 's/#define ZEND_MODULE_API _NO//'`
    ZEND_EXTENSION_ API_NO=`egrep '#define ZEND_EXTENSION_ API_NO'
    $includedir/Zend/zend_extensions .h|sed 's/#define ZEND_EXTENSION_ API_NO//'`

    echo "Configurin g for:"
    echo " PHP Api Version: "$PHP_API_VERSI ON
    echo " Zend Module Api No: "$ZEND_MODULE_A PI_NO
    echo " Zend Extension Api No: "$ZEND_EXTENSIO N_API_NO

    exit 0

    What could pear have made fail like that?
    any suggestions?
    TIA,

    Robert
Working...