[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

libmagic



Hello,
I'm in the proccess of installing Horde. One of the recommended PHP
modules is fileinfo. When runninf PEAR to install it I get an error that
the magic files are not found. Apt-get tells me that 4.12 is the current
file package (ftp.astron.com has 4.17). I can not find the files that
are listed in the magdir in 4.17. In fact, I can't find Magdir at all.

Below is the output of PEAR:

root@zviman-server:/Second/downloads/file-4.17# pear install fileinfo
downloading Fileinfo-1.0.3.tgz ...
Starting to download Fileinfo-1.0.3.tgz (5,727 bytes)
.....done: 5,727 bytes
3 source files, building
running: phpize
Configuring for:
PHP Api Version:         20031224
Zend Module Api No:      20041030
Zend Extension Api No:   220040412
building in /var/tmp/pear-build-root/Fileinfo-1.0.3
running: /tmp/tmpuFUequ/Fileinfo-1.0.3/configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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/php5
-I/usr/include/php5/main -I/usr/include/php5/TSRM
-I/usr/include/php5/Zend
checking for PHP extension directory... /usr/lib/php5/20041030
checking for re2c... exit 0;
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/tmpuFUequ/Fileinfo-1.0.3/configure' failed


Any ideas?

TIA

Muz



Reply to: