Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jan 2005 18:39:29 -0800
From:      Michael Rubin <mhr@neverthere.org>
To:        ale@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: pecl-fileinfo-0.2
Message-ID:  <D9EF3FD1-62B0-11D9-8922-000A95CD9CC8@neverthere.org>

next in thread | raw e-mail | index | archive | help

--Apple-Mail-1-316034251
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

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.

--Apple-Mail-1-316034251
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-mac-type=2A2A2A2A;
	x-unix-mode=0644;
	x-mac-creator=48647261;
	name="config.log"
Content-Disposition: attachment;
	filename=config.log


20%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 = firstgear.neverthere.org
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 </dev/null >&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 </dev/null >&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 </dev/null >&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

--Apple-Mail-1-316034251
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed


Here is the console output. :

===>  PHPizing for pecl-fileinfo-0.2
autoheader253: `config.h.in' 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 
-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@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

--Apple-Mail-1-316034251--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D9EF3FD1-62B0-11D9-8922-000A95CD9CC8>