Fileinfo install...
| From: | Shawn Rizzoli | Date: | Thu, 17 Feb 2005 17:49:13 +0000 |
| Subject: | Fileinfo install... | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2022@lists.php.net to get a copy of this message | ||
Trying to install fileinfo for the past couple of hours... Going I little
nuts trying to solve a problem, hopefully you guys can give me some help.
Here's what's going on;
Centos 3.4 (RHEL repack)
PHP Version 4.3.2
Apache 2.0.46-44
**ERROR MSG:**
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
I can't figure out how to get the magic library working, I've read the same
problem happening on FreeBSD 5.3 but the fix doesn't work for me.
# pear install Fileinfo-beta
downloading Fileinfo-0.2.tgz ...
Starting to download Fileinfo-0.2.tgz (5,491 bytes)
.....done: 5,491 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version: 20020918
Zend Module Api No: 20020429
Zend Extension Api No: 20021010
building in /var/tmp/pear-build-root/Fileinfo-0.2
running: /tmp/tmpMkxiMw/Fileinfo-0.2/configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main
-I/usr/include/php/Zend -I/usr/include/php/TSRM
checking for PHP extension directory... /usr/lib/php4
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for gawk... gawk
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
`/tmp/tmpMkxiMw/Fileinfo-0.2/configure' failed