ports/73374: Port sysutils/pecl-fileinfo doesnt like libmagic lib.

Charlie & root at ordinaweb.hosting.ordina.nl
Mon Nov 1 09:30:27 UTC 2004

>Number:         73374
>Category:       ports
>Synopsis:       Port sysutils/pecl-fileinfo doesnt like libmagic lib.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 01 09:30:26 GMT 2004
>Originator:     Charlie &
>Release:        FreeBSD 5.3-RC1 i386
System: FreeBSD ordinaweb.hosting.ordina.nl 5.3-RC1 FreeBSD 5.3-RC1 #0: Fri Oct 29 10:43:12 CEST 2004 root at ordinaweb.hosting.ordina.nl:/usr/obj/usr/src/sys/GENERIC i386

The port sysutils/pecl-fileinfo is broken on FreeBSD 5.3-RC1.
Try to make this port and you'll run into the issue that pecl-fileinfo
doesnt like the libmagic lib in /usr/lib .....
I dont know why. Below the output of make install of the port:

===>  Vulnerability check disabled, database not found
===>  Extracting for pecl-fileinfo-0.2
Go to ports/sysutils/pecl-fileinfo and do a make install there.
Sorry, i don't know. :-(

 >> Checksum OK for PECL/Fileinfo-0.2.tgz.
 ===>  Patching for pecl-fileinfo-0.2
 ===>  Applying FreeBSD patches for pecl-fileinfo-0.2
 ===>   pecl-fileinfo-0.2 depends on executable: phpize - found
 ===>   pecl-fileinfo-0.2 depends on file: /usr/local/bin/automake15 - found
 ===>   pecl-fileinfo-0.2 depends on file: /usr/local/bin/autoconf253 - found
 ===>   pecl-fileinfo-0.2 depends on file: /usr/local/bin/libtool13 - found
 ===>   pecl-fileinfo-0.2 depends on shared library: magic.1 - found
 ===>  PHPizing for pecl-fileinfo-0.2
 autoheader253: `config.h.in' is created
 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 -I/usr/local/include/php/TSRM
 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 FreeBSD.org [maintainer] and attach the
 "/usr/ports/sysutils/pecl-fileinfo/work/Fileinfo-0.2/config.log" including
 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.
 The describtion has been given above including building output.

More information about the freebsd-ports-bugs mailing list