|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-12-27 13:48 UTC] alex at milivojevic dot org
Description: ------------ I'm attemtpting to install Fileinfo on CentOS 4 (equivalent to Red Hat Enterprise Linux 4). First, I planned on building RPM from the sources, and I got: $ pear makerpm Fileinfo-1.0.2.tgz `phpize' failed Not much debugging info. However, then I unpacked the sources and attempted to use "pear build" command. Got a bit more verbose output: $ pear build package.xml running: phpize configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR configure.in:33: warning: underquoted definition of PHP_EXT_DIR configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. `phpize' failed The versions of autoconf and automake are: $ rpm -q autoconf automake autoconf-2.59-5 automake-1.9.2-3 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 16:00:02 2025 UTC |
No, it is not fixed. [root@xerxes ~]# pear install Fileinfo-1.0.4 PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/fileinfo.so' - /usr/lib/php4/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0 downloading Fileinfo-1.0.4.tgz ... Starting to download Fileinfo-1.0.4.tgz (5,835 bytes) .....done: 5,835 bytes 3 source files, building running: phpize configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR configure.in:33: warning: underquoted definition of PHP_EXT_DIR configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. `phpize' failed