lphp extensions compile error & libmagic

Vizion vizion at vizion.occoxmail.com
Fri Sep 9 14:42:05 PDT 2005


Can anyone advise please

With so many "magic" packages I am uncertain which packages to reinstall when 
I get the following error in
# cd /usr/ports/lang/php5-extensions.

dns1# make config
.
.
. 
dns1# make
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php5-extensions-1.0
===>  Extracting for php5-extensions-1.0
===>  Patching for php5-extensions-1.0
===>  Configuring for php5-extensions-1.0
dns1# make install
===>  Installing for php5-extensions-1.0
.
.
.
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-1.0/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
/var/db/pkg`).
*** Error code 1

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

Stop in /usr/ports/lang/php5-extensions.
\*************************************

I have made the detailed report, as requested, to the maintainer but would 
like to be sure that I am using the correct port for  libmagic.

The error report indicates absense of libmagic but:
dns1# pwd
/usr/lib
dns1# ls -l | grep magic
-r--r--r--   1 root  wheel    65030 Nov  4  2004 libmagic.a
lrwxrwxrwx   1 root  wheel       13 Apr 28  2004 libmagic.so -> libmagic.so.1
-r--r--r--   1 root  wheel    52848 Nov  4  2004 libmagic.so.1
-r--r--r--   1 root  wheel    66438 Nov  4  2004 libmagic_p.a

Comments appreciated


Thanks

davdi
-- 
40 yrs navigating and computing in blue waters.
English Owner & Captain of British Registered 60' bluewater Ketch S/V Taurus.
 Currently in San Diego, CA. Sailing bound for Europe via Panama Canal after 
completing engineroom refit.


More information about the freebsd-questions mailing list