FreeBSD Port: pecl-fileinfo-0.2

Michael Rubin mhr at
Sun Jan 9 18:41:20 PST 2005

HI. I am trying to install pecl-fileinfo on my 5.3Rc1 system. It is 
needed by many other ports. But it fails on the configure for myself 
and many others on the net. Here is the config.log. I have seen posts 
and emails asking about ti since 11/1/04. But I have yet to here or see 
any solution. Do you know what is going on?

I have attached the config.log.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 5808 bytes
Desc: not available
Url :
-------------- next part --------------

Here is the console output. :

===>  PHPizing for pecl-fileinfo-0.2
autoheader253: `' is unchanged
Configuring for:
   PHP Api Version:   20020918
   Zend Module Api No:   20020429
   Zend Extension Api No:   20021010
===>  Configuring for pecl-fileinfo-0.2
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.3
checking host system type... i386-portbld-freebsd5.3
checking for i386-portbld-freebsd5.3-gcc... cc
checking for C compiler default output... 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 cc accepts -g... yes
checking whether cc understands -c and -o together... yes
checking if compiler supports -R... yes
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php 
-I/usr/local/include/php/main -I/usr/local/include/php/Zend 
checking for PHP extension directory... /usr/local/lib/php/20020429
checking for re2c... exit 0;
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking for fileinfo support... yes, shared
checking for magic files in default path... not found
configure: error: Please reinstall the libmagic distribution
===>  Script "configure" failed unexpectedly.
Please report the problem to ale at [maintainer] and attach the
the output of the failure of your make command. Also, it might be a 
good idea
to provide an overview of all packages installed on your system (e.g. 
an `ls
*** Error code 1

Stop in /usr/ports/sysutils/pecl-fileinfo.
*** Error code 1

More information about the freebsd-ports mailing list