You are here: pear automatically crashing « PHP Programming Language « IT news, forums, messages
pear automatically crashing

Posted by Robert Lummert on 01/13/06 19:47

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)Extending aclocal'
or see http://sources.redhat.com/automake/automake.html#Extending-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 "Configuring for:"
echo " PHP Api Version: "$PHP_API_VERSION
echo " Zend Module Api No: "$ZEND_MODULE_API_NO
echo " Zend Extension Api No: "$ZEND_EXTENSION_API_NO

exit 0

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

Robert

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация