configure: error: Please reinstall the libmagic distribution ===> Script "configure" failed unexpectedly. Please report the problem to ale@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 /var/db/pkg`). *** Error code 1 Stop in /usr/ports/sysutils/pecl-fileinfo. *** Error code 1 server1# cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.53. Invocation command line was $ ./configure --with-fileinfo=/usr --prefix=/usr/local i386-portbld-freebsd5.3 ## --------- ## ## Platform. ## ## --------- ## hostname = server1.mcbride.tld uname -m = i386 uname -r = 5.3-RELEASE uname -s = FreeBSD uname -v = FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC /usr/bin/uname -p = i386 /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/libexec/automake15 PATH: /usr/local/libexec/autoconf253 PATH: /usr/local/libexec/libtool13 PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/games PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1189: checking build system type configure:1207: result: i386-portbld-freebsd5.3 configure:1215: checking host system type configure:1229: result: i386-portbld-freebsd5.3 configure:1282: checking for i386-portbld-freebsd5.3-gcc configure:1308: result: cc configure:1590: checking for C compiler version configure:1593: cc --version &5 cc (GCC) 3.4.2 [FreeBSD] 20040728 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:1596: $? = 0 configure:1598: cc -v &5 Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.2 [FreeBSD] 20040728 configure:1601: $? = 0 configure:1603: cc -V &5 cc: `-V' option must have argument configure:1606: $? = 1 configure:1632: checking for C compiler default output configure:1635: cc -O -pipe conftest.c >&5 configure:1638: $? = 0 configure:1671: result: a.out configure:1676: checking whether the C compiler works configure:1682: ./a.out configure:1685: $? = 0 configure:1700: result: yes configure:1707: checking whether we are cross compiling configure:1709: result: no configure:1712: checking for suffix of executables configure:1714: cc -o conftest -O -pipe conftest.c >&5 configure:1717: $? = 0 configure:1739: result: configure:1745: checking for suffix of object files configure:1769: cc -c -O -pipe conftest.c >&5 configure:1772: $? = 0 configure:1791: result: o configure:1795: checking whether we are using the GNU C compiler configure:1822: cc -c -O -pipe conftest.c >&5 configure:1825: $? = 0 configure:1828: test -s conftest.o configure:1831: $? = 0 configure:1843: result: yes configure:1849: checking whether cc accepts -g configure:1873: cc -c -g conftest.c >&5 configure:1876: $? = 0 configure:1879: test -s conftest.o configure:1882: $? = 0 configure:1892: result: yes configure:1919: cc -c -O -pipe conftest.c >&5 conftest.c:2: error: syntax error before "me" configure:1922: $? = 1 configure: failed program was: #ifndef __cplusplus choke me #endif configure:2036: checking whether cc understands -c and -o together configure:2066: cc -c conftest.c -o conftest.o >&5 configure:2069: $? = 0 configure:2071: cc -c conftest.c -o conftest.o >&5 configure:2074: $? = 0 configure:2113: result: yes configure:2128: checking if compiler supports -R configure:2155: cc -o conftest -O -pipe conftest.c -R /usr/lib >&5 configure:2158: $? = 0 configure:2161: test -s conftest configure:2164: $? = 0 configure:2176: result: yes configure:2275: checking for PHP prefix configure:2277: result: /usr/local configure:2279: checking for PHP includes configure:2281: result: -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM configure:2283: checking for PHP extension directory configure:2285: result: /usr/local/lib/php/20020429 configure:2327: checking for re2c configure:2354: result: exit 0; configure:2366: checking for gawk configure:2395: result: no configure:2366: checking for mawk configure:2395: result: no configure:2366: checking for nawk configure:2382: found /usr/bin/nawk configure:2392: result: nawk configure:2406: checking for fileinfo support configure:2449: result: yes, shared configure:2461: checking for magic files in default path configure:2473: result: not found configure:2475: error: Please reinstall the libmagic distribution ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_prog_cc_g=yes ac_cv_env_LDFLAGS_set= ac_cv_c_compiler_gnu=yes ac_cv_exeext= ac_cv_env_CFLAGS_set=set lt_cv_sys_max_cmd_len=65536 ac_cv_env_CPPFLAGS_set= ac_cv_env_host_alias_set=set ac_cv_prog_CC=cc ac_cv_env_build_alias_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_target_alias_set=set ac_cv_host_alias=i386-portbld-freebsd5.3 ac_cv_env_CFLAGS_value='-O -pipe ' ac_cv_env_CC_set=set ac_cv_build_alias=i386-portbld-freebsd5.3 ac_cv_env_CPPFLAGS_value= ac_cv_host=i386-portbld-freebsd5.3 ac_cv_env_host_alias_value=i386-portbld-freebsd5.3 ac_cv_prog_AWK=nawk ac_cv_build=i386-portbld-freebsd5.3 ac_cv_env_build_alias_value=i386-portbld-freebsd5.3 ac_cv_prog_cc_cc_c_o=yes ac_cv_prog_RE2C='exit 0;' ac_cv_env_target_alias_value=i386-portbld-freebsd5.3 ac_cv_env_CC_value=cc php_cv_cc_dashr=yes ac_cv_objext=o ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" configure: exit 1