Fwd: php extensions compile error

Kris Kennaway kris at obsecurity.org
Fri Sep 9 17:59:16 PDT 2005


On Fri, Sep 09, 2005 at 05:43:01PM -0700, Vizion wrote:

> configure:2971: checking for magic files in default path
> configure:2984: result: not found
> configure:2986: error: Please reinstall the libmagic distribution

OK, not directly helpful.  I checked the configure script and it's
looking for

      if test -r $i/include/magic.h || test -r $i/magic.h; then
        FILEINFO_DIR=$i
        AC_MSG_RESULT(found in $i)
        break
 
a header file.  5.3 did not install this header (5.4 does), so you can
either upgrade to 5.4 (may be necessary to avoid further problems
later), or try copying /usr/src/contrib/file/magic.h to
/usr/include/magic.h and see if it works.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050909/3b370bb2/attachment.bin


More information about the freebsd-questions mailing list