Date: Wed, 16 Jul 2003 17:10:30 +0000 From: freebsd@drseuk.f2s.com To: freebsd-questions@freebsd.org Subject: Re: Configure script fails when building many ports (e.g. mozilla, spacehulk) Message-ID: <1058375430.3f1587062066c@webmail.freedom2surf.net> In-Reply-To: <20030716162122.GB40111@users.munk.nu> References: <1058372012.3f1579acb06c6@webmail.freedom2surf.net> <20030716162122.GB40111@users.munk.nu>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry, my (text) attachments are behaving weirdly :-) ls /var/db/pkg is in my original post. Here's the config.log from spacehulk: Cheers, Dr Seuk ==== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:625: checking host system type configure:646: checking target system type configure:664: checking build system type configure:705: checking for a BSD compatible install configure:785: checking whether build environment is sane configure:842: checking whether gmake sets ${MAKE} configure:888: checking for working aclocal-1.4 configure:901: checking for working autoconf configure:914: checking for working automake-1.4 configure:927: checking for working autoheader configure:940: checking for working makeinfo configure:1046: checking for gcc configure:1159: checking whether the C compiler (cc -O3 -pipe ) works configure:1175: cc -o conftest -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:1201: checking whether the C compiler (cc -O3 -pipe ) is a cross-compiler configure:1206: checking whether we are using GNU C configure:1234: checking whether cc accepts -g configure:1267: checking how to run the C preprocessor configure:1380: checking for c++ configure:1412: checking whether the C++ compiler (c++ -O3 -pipe ) works configure:1433: rm -rf SunWS_cache; c++ -o conftest -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.C -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:1459: checking whether the C++ compiler (c++ -O3 -pipe ) is a cross-compiler configure:1464: checking whether we are using GNU C++ configure:1492: checking whether c++ accepts -g configure:1981: checking whether c++ supports -fno-exceptions configure:2039: checking whether c++ supports -fno-check-new configure:2097: checking whether c++ supports -fexceptions configure:2614: checking how to run the C++ preprocessor configure:2717: checking whether c++ supports -frepo configure:2970: checking for ld used by GCC configure:3038: checking if the linker (/usr/libexec/elf/ld) is GNU ld configure:3055: checking for /usr/libexec/elf/ld option to reload object files configure:3067: checking for BSD-compatible nm configure:3105: checking whether ln -s works configure:3126: checking how to recognise dependant libraries configure:3447: checking for ranlib configure:3514: checking for strip configure:3686: checking for Cygwin environment configure:3719: checking for mingw32 environment ltconfig:678:checking for cc option to produce PIC ltconfig:687:checking that cc PIC flag -fPIC -DPIC works. ltconfig:749: checking if cc static flag -static works ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 36865 ltconfig:883: checking if cc supports -fno-rtti -fno-exceptions ltconfig:884: cc -c -O2 -O3 -pipe -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: cc -c -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1479: cc -o conftest -O2 -O3 -pipe -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c conftstm.o 1>&5 ltconfig:1863: checking for dlfcn.h ltconfig:1902: checking whether a program can dlopen itself ltconfig:1976: checking whether a statically linked program can dlopen itself c++ -E conftest.cc ltconfig:678:checking for c++ option to produce PIC ltconfig:687:checking that c++ PIC flag -fPIC -DPIC works. ltconfig:697: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 1>&5 ltconfig:749: checking if c++ static flag -static works ltconfig:758: c++ -o conftest -O2 -O3 -pipe -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -static conftest.cc -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 36865 ltconfig:883: checking if c++ supports -fno-rtti -fno-exceptions ltconfig:884: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc 1>&5 ltconfig:1427: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1479: c++ -o conftest -O2 -O3 -pipe -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.cc conftstm.o 1>&5 ltconfig:1863: checking for dlfcn.h ltconfig:1902: checking whether a program can dlopen itself ltconfig:1976: checking whether a statically linked program can dlopen itself configure:3866: checking for object suffix configure:3872: cc -c -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c 1>&5 configure:3892: checking for executable suffix configure:3902: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4019: checking for main in -lutil configure:4034: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lutil -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4055: checking for main in -lcompat configure:4070: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lcompat -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4092: checking for crypt in -lcrypt configure:4111: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lcrypt -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4186: checking for socklen_t configure:4216: c++ -c -O2 -O3 -pipe -fno-exceptions -fno-check-new -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.C 1>&5 configure:4283: checking for dnet_ntoa in -ldnet configure:4302: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldnet -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldnet configure: failed program was: #line 4291 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:4324: checking for dnet_ntoa in -ldnet_stub configure:4343: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldnet_stub -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldnet_stub configure: failed program was: #line 4332 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:4365: checking for inet_ntoa configure:4393: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4455: checking for connect configure:4483: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4546: checking for remove configure:4574: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4638: checking for shmat configure:4666: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4730: checking for res_init configure:4758: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4818: checking for killpg in -lucb configure:4837: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lucb -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -lucb configure: failed program was: #line 4826 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char killpg(); int main() { killpg() ; return 0; } configure:4906: checking size of int configure:4925: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4944: checking size of long configure:4963: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:4982: checking size of char * configure:5001: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:5020: checking size of char configure:5039: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:5060: checking for dlopen in -ldl configure:5104: checking for shl_unload in -ldld configure:5123: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -ldld -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/libexec/elf/ld: cannot find -ldld configure: failed program was: #line 5112 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char shl_unload(); int main() { shl_unload() ; return 0; } configure:5152: checking for extra includes configure:5183: checking for extra libs configure:5217: checking for libz configure:5243: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -L/usr/local/lib -lz 1>&5 configure:5296: checking for X configure:5335: cc -E -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c >/dev/null 2>conftest.out configure:5411: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H conftest.c -lXt -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_signal' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' /usr/X11R6/lib/libX11.so.6: undefined reference to `pthread_cond_broadcast' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_init' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_unlock' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_self' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_destroy' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_lock' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_destroy' /usr/X11R6/lib/libXt.so: undefined reference to `pthread_mutex_init' configure: failed program was: #line 5404 "configure" #include "confdefs.h" int main() { XtMalloc() ; return 0; } configure:5585: checking for IceConnectionNumber in -lICE configure:5604: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -L/usr/X11R6/lib conftest.c -lICE -Wl,-export-dynamic -L/usr/local/lib -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib 1>&5 configure:5633: checking for libXext configure:5659: cc -o conftest -O2 -O3 -pipe -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -D_GETOPT_H -L/usr/X11R6/lib -L/usr/local/lib conftest.c -lXext -lX11 1>&5 /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_signal' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_init' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_unlock' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_self' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_destroy' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_lock' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_wait' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_destroy' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_init' configure: failed program was: #line 5645 "configure" #include "confdefs.h" #include <stdio.h> #ifdef STDC_HEADERS # include <stdlib.h> #endif int main() { printf("hello Xext\n"); ; return 0; } ------------------------------------------------- Everyone should have http://www.freedom2surf.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1058375430.3f1587062066c>