Date: Sun, 12 Dec 1999 14:16:30 +0100 (CET) From: robsch@robkaos.ruhr.de (Robert Schien) To: FreeBSD-ports@freebsd.org Subject: problems making glib12 under -current Message-ID: <m11x8rW-000E7iC@robkaos.ruhr.de>
next in thread | raw e-mail | index | archive | help
On my 4.0-current system (a week old) I am unable to get the glib12 port compiled: ------------------------- ===> Extracting for glib-1.2.6 >> Checksum OK for glib-1.2.6.tar.gz. ===> glib-1.2.6 depends on executable: libtool - found ===> Patching for glib-1.2.6 ===> Applying FreeBSD patches for glib-1.2.6 ===> Configuring for glib-1.2.6 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... found checking host system type... i386--freebsd4.0 checking build system type... i386--freebsd4.0 checking for ranlib... ranlib checking for gcc... cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for ld used by GCC... /usr/libexec/elf/ld checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.lo... yes checking if cc supports -fno-rtti -fno-exceptions ... yes checking if cc static flag -static works... -static checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/libexec/elf/ld option to reload object files... -r checking dynamic linker characteristics... freebsd4.0 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... i386--freebsd4.0 checking whether to enable memory checking... no checking whether to enable memory profiling... no checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... none needed checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for extra flags to get ANSI library prototypes... none needed checking for extra flags for POSIX compliance... none needed checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for vprintf... yes checking for atexit... yes checking for on_exit... no checking size of char... 1 checking size of short... 2 checking size of long... 4 checking size of int... 4 checking size of void *... 4 checking size of long long... 8 checking for working const... yes checking for __inline... yes checking for __inline__... yes checking for inline... yes checking whether byte ordering is bigendian... no checking for float.h... yes checking for limits.h... yes checking for pwd.h... yes checking for sys/param.h... yes checking for sys/poll.h... yes checking for sys/select.h... yes checking for sys/time.h... yes checking for sys/times.h... yes checking for unistd.h... yes checking for values.h... no checking for lstat... yes checking for strerror... yes checking for strsignal... yes checking for memmove... yes checking for vsnprintf... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for sys_errlist... yes checking for sys_siglist... yes checking for sys_siglist declaration... yes checking for fd_set... yes, found in sys/types.h checking for wchar.h... no checking for wctype.h... no checking for iswalnum... no checking for iswalnum in -lw... no checking if iswalnum() and friends are properly defined... yes checking whether realloc (NULL,) will work... yes checking for an implementation of va_copy()... no checking for an implementation of __va_copy()... no checking whether va_lists can be copied by value... yes checking for dlopen... yes checking for dlsym... yes checking for preceeding underscore in symbols... no checking for dlerror... yes checking for pthread.h... yes checking for thread implementation... posix checking for pthread_attr_init in -lpthread... no checking for pthread_attr_init in -lpthreads... no checking for pthread_attr_init in -lc_r... no checking for pthread_attr_init... no checking for __d10_pthread_attr_init in -lthread... no checking for __pthread_attr_init_system in -lpthread... no configure: error: I can't find the libraries for the thread implementation posix. Please choose another thread implementation or provide information on your thread implementation. You can also run 'configure --disable-threads' to compile without thread support. ===> Script "configure" failed: here are the contents of "config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:634: checking for a BSD compatible install configure:687: checking whether build environment is sane configure:744: checking whether make sets ${MAKE} configure:783: checking for working aclocal configure:796: checking for working autoconf configure:809: checking for working automake configure:822: checking for working autoheader configure:835: checking for working makeinfo configure:951: checking host system type configure:972: checking build system type configure:992: checking for ranlib configure:1022: checking for gcc configure:1135: checking whether the C compiler (cc ) works configure:1151: cc -o conftest conftest.c 1>&5 configure:1177: checking whether the C compiler (cc ) is a cross-compiler configure:1182: checking whether we are using GNU C configure:1191: cc -E conftest.c configure:1210: checking whether cc accepts -g configure:1253: checking for ld used by GCC configure:1316: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.9.1 (with BFD 2.9.1) configure:1332: checking for BSD-compatible nm configure:1369: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: cc -c conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: cc -o conftest conftest.c 1>&5 ltconfig:776: checking if cc PIC flag -fPIC works ltconfig:777: cc -c -fPIC -DPIC conftest.c 1>&5 ltconfig:829: checking if cc supports -c -o file.o ltconfig:830: cc -c -o out/conftest2.o conftest.c 1>&5 ltconfig:862: checking if cc supports -c -o file.lo ltconfig:863: cc -c -c -o conftest.lo conftest.c 1>&5 ltconfig:914: checking if cc supports -fno-rtti -fno-exceptions ltconfig:915: cc -c -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:958: checking if cc static flag -static works ltconfig:959: cc -o conftest -static conftest.c 1>&5 GNU ld version 2.9.1 (with BFD 2.9.1) ltconfig:1592: checking if global_symbol_pipe works ltconfig:1593: cc -c conftest.c 1>&5 ltconfig:1596: 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:1648: cc -o conftest -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 configure:1550: checking whether to enable maintainer-specific portions of Makefiles configure:1580: checking host system type configure:1648: checking whether to enable memory checking configure:1661: checking whether to enable memory profiling configure:1691: checking for gcc configure:1804: checking whether the C compiler (cc ) works configure:1820: cc -o conftest conftest.c 1>&5 configure:1846: checking whether the C compiler (cc ) is a cross-compiler configure:1851: checking whether we are using GNU C configure:1879: checking whether cc accepts -g configure:1914: checking for cc option to accept ANSI C configure:1967: cc -c conftest.c 1>&5 configure:2002: checking for a BSD compatible install configure:2075: checking for extra flags to get ANSI library prototypes configure:2087: cc -o conftest -Wall conftest.c -lm 1>&5 configure:2128: checking for extra flags for POSIX compliance configure:2137: cc -c -Wall conftest.c 1>&5 configure: In function `main': configure:2133: warning: unused variable `dir' configure:2171: checking how to run the C preprocessor configure:2192: cc -E conftest.c >/dev/null 2>conftest.out configure:2251: checking for ANSI C header files configure:2264: cc -E conftest.c >/dev/null 2>conftest.out configure:2331: cc -o conftest -Wall conftest.c 1>&5 configure:2357: checking for vprintf configure:2385: cc -o conftest -Wall conftest.c 1>&5 configure:2465: checking for atexit configure:2493: cc -o conftest -Wall conftest.c 1>&5 configure:2465: checking for on_exit configure:2493: cc -o conftest -Wall conftest.c 1>&5 /usr2/tmp/ccr23326.o: In function `main': /usr2/tmp/ccr23326.o(.text+0x7): undefined reference to `on_exit' configure: failed program was: #line 2470 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char on_exit(); below. */ #include <assert.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 on_exit(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_on_exit) || defined (__stub___on_exit) choke me #else on_exit(); #endif ; return 0; } configure:2519: checking size of char configure:2538: cc -o conftest -Wall conftest.c 1>&5 configure:2530: warning: return-type defaults to `int' configure:2558: checking size of short configure:2577: cc -o conftest -Wall conftest.c 1>&5 configure:2569: warning: return-type defaults to `int' configure:2597: checking size of long configure:2616: cc -o conftest -Wall conftest.c 1>&5 configure:2608: warning: return-type defaults to `int' configure:2636: checking size of int configure:2655: cc -o conftest -Wall conftest.c 1>&5 configure:2647: warning: return-type defaults to `int' configure:2675: checking size of void * configure:2694: cc -o conftest -Wall conftest.c 1>&5 configure:2686: warning: return-type defaults to `int' configure:2714: checking size of long long configure:2733: cc -o conftest -Wall conftest.c 1>&5 configure:2725: warning: return-type defaults to `int' configure:2754: checking for working const configure:2808: cc -c -Wall conftest.c 1>&5 configure: In function `main': configure:2782: warning: unused variable `s' configure:2802: warning: unused variable `foo' configure:2770: warning: unused variable `zero' configure:2764: warning: unused variable `x' configure:2830: checking for __inline configure:2846: cc -o conftest -Wall conftest.c 1>&5 configure:2871: checking for __inline__ configure:2887: cc -o conftest -Wall conftest.c 1>&5 configure:2912: checking for inline configure:2928: cc -o conftest -Wall conftest.c 1>&5 configure:2954: checking whether byte ordering is bigendian configure:2972: cc -c -Wall conftest.c 1>&5 configure:2987: cc -c -Wall conftest.c 1>&5 configure: In function `main': configure:2982: syntax error before `big' configure: failed program was: #line 2976 "configure" #include "confdefs.h" #include <sys/types.h> #include <sys/param.h> int main() { #if BYTE_ORDER != BIG_ENDIAN not big endian #endif ; return 0; } configure:3048: checking for float.h configure:3058: cc -E conftest.c >/dev/null 2>conftest.out configure:3091: checking for limits.h configure:3101: cc -E conftest.c >/dev/null 2>conftest.out configure:3134: checking for pwd.h configure:3144: cc -E conftest.c >/dev/null 2>conftest.out configure:3177: checking for sys/param.h configure:3187: cc -E conftest.c >/dev/null 2>conftest.out configure:3220: checking for sys/poll.h configure:3230: cc -E conftest.c >/dev/null 2>conftest.out configure:3263: checking for sys/select.h configure:3273: cc -E conftest.c >/dev/null 2>conftest.out configure:3306: checking for sys/time.h configure:3316: cc -E conftest.c >/dev/null 2>conftest.out configure:3349: checking for sys/times.h configure:3359: cc -E conftest.c >/dev/null 2>conftest.out configure:3392: checking for unistd.h configure:3402: cc -E conftest.c >/dev/null 2>conftest.out configure:3435: checking for values.h configure:3445: cc -E conftest.c >/dev/null 2>conftest.out In file included from configure:3441: /usr/include/values.h:2: warning: #warning "this file includes <values.h> which is obsoleted, use <limits.h> or <float.h> instead" configure: failed program was: #line 3440 "configure" #include "confdefs.h" #include <values.h> configure:3479: checking for lstat configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for strerror configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for strsignal configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for memmove configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for vsnprintf configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for strcasecmp configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3479: checking for strncasecmp configure:3507: cc -o conftest -Wall conftest.c 1>&5 configure:3534: checking for sys_errlist configure:3547: cc -o conftest -Wall conftest.c 1>&5 configure:3567: checking for sys_siglist configure:3579: cc -o conftest -Wall conftest.c 1>&5 configure:3599: checking for sys_siglist declaration configure:3610: cc -c -Wall conftest.c 1>&5 configure:3630: checking for fd_set configure:3639: cc -c -Wall conftest.c 1>&5 configure: In function `main': configure:3635: warning: unused variable `writeMask' configure:3635: warning: unused variable `readMask' configure:3687: checking for wchar.h configure:3694: cc -E conftest.c >/dev/null 2>conftest.out configure:3690: wchar.h: No such file or directory configure: failed program was: #line 3689 "configure" #include "confdefs.h" #include <wchar.h> configure:3718: checking for wctype.h configure:3725: cc -E conftest.c >/dev/null 2>conftest.out configure:3721: wctype.h: No such file or directory configure: failed program was: #line 3720 "configure" #include "confdefs.h" #include <wctype.h> configure:3749: checking for iswalnum configure:3777: cc -o conftest -Wall conftest.c 1>&5 /usr2/tmp/ccz23965.o: In function `main': /usr2/tmp/ccz23965.o(.text+0x7): undefined reference to `iswalnum' configure: failed program was: #line 3754 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char iswalnum(); below. */ #include <assert.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 iswalnum(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_iswalnum) || defined (__stub___iswalnum) choke me #else iswalnum(); #endif ; return 0; } configure:3795: checking for iswalnum in -lw configure:3814: cc -o conftest -Wall conftest.c -lw 1>&5 /usr/libexec/elf/ld: cannot open -lw: No such file or directory configure: failed program was: #line 3803 "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 iswalnum(); int main() { iswalnum() ; return 0; } configure:3846: checking if iswalnum() and friends are properly defined configure:3868: cc -o conftest -Wall conftest.c 1>&5 configure: In function `main': configure:3863: warning: implicit declaration of function `isalnum' configure:3863: warning: value computed is not used configure:3889: checking whether realloc (NULL,) will work configure:3906: cc -o conftest -Wall conftest.c 1>&5 configure:3931: checking for an implementation of va_copy() configure:3957: cc -o conftest -Wall conftest.c 1>&5 configure: In function `f': configure:3946: warning: implicit declaration of function `va_copy' /usr2/tmp/ccA24026.o: In function `f': /usr2/tmp/ccA24026.o(.text+0x18): undefined reference to `va_copy' configure: failed program was: #line 3940 "configure" #include "confdefs.h" #include <stdarg.h> void f (int i, ...) { va_list args1, args2; va_start (args1, i); va_copy (args2, args1); if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) exit (1); va_end (args1); va_end (args2); } int main() { f (0, 42); return 0; } configure:3976: checking for an implementation of __va_copy() configure:4002: cc -o conftest -Wall conftest.c 1>&5 configure: In function `f': configure:3991: warning: implicit declaration of function `__va_copy' /usr2/tmp/ccb24040.o: In function `f': /usr2/tmp/ccb24040.o(.text+0x18): undefined reference to `__va_copy' configure: failed program was: #line 3985 "configure" #include "confdefs.h" #include <stdarg.h> void f (int i, ...) { va_list args1, args2; va_start (args1, i); __va_copy (args2, args1); if (va_arg (args2, int) != 42 || va_arg (args1, int) != 42) exit (1); va_end (args1); va_end (args2); } int main() { f (0, 42); return 0; } configure:4021: checking whether va_lists can be copied by value configure:4047: cc -o conftest -Wall conftest.c 1>&5 configure:4091: checking for dlopen configure:4119: cc -o conftest -Wall conftest.c 1>&5 configure:4134: checking for dlsym configure:4162: cc -o conftest -Wall conftest.c 1>&5 configure:4375: checking for preceeding underscore in symbols configure:4398: cc -o conftest -Wall -Wl,-E conftest.c 1>&5 configure: failed program was: #line 4384 "configure" #include "confdefs.h" #include <dlfcn.h> int glib_underscore_test (void) { return 42; } int main() { void *f1 = (void*)0, *f2 = (void*)0, *handle; handle = dlopen ((void*)0, 0); if (handle) { f1 = dlsym (handle, "glib_underscore_test"); f2 = dlsym (handle, "_glib_underscore_test"); } return (!f2 || f1); } configure:4423: checking for dlerror configure:4451: cc -o conftest -Wall conftest.c 1>&5 configure:4580: checking for pthread.h configure:4590: cc -E conftest.c >/dev/null 2>conftest.out configure:4659: checking for thread implementation configure:4678: checking for pthread_attr_init in -lpthread configure:4697: cc -o conftest -Wall conftest.c -lpthread 1>&5 /usr/libexec/elf/ld: cannot open -lpthread: No such file or directory configure: failed program was: #line 4686 "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 pthread_attr_init(); int main() { pthread_attr_init() ; return 0; } configure:4719: checking for pthread_attr_init in -lpthreads configure:4738: cc -o conftest -Wall conftest.c -lpthreads 1>&5 /usr/libexec/elf/ld: cannot open -lpthreads: No such file or directory configure: failed program was: #line 4727 "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 pthread_attr_init(); int main() { pthread_attr_init() ; return 0; } configure:4761: checking for pthread_attr_init in -lc_r configure:4780: cc -o conftest -Wall conftest.c -lc_r 1>&5 /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid. /usr/lib/libc_r.so: undefined reference to `__sigisempty' configure: failed program was: #line 4769 "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 pthread_attr_init(); int main() { pthread_attr_init() ; return 0; } configure:4803: checking for pthread_attr_init configure:4831: cc -o conftest -Wall conftest.c 1>&5 /usr2/tmp/cct24221.o: In function `main': /usr2/tmp/cct24221.o(.text+0x7): undefined reference to `pthread_attr_init' configure: failed program was: #line 4808 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_attr_init(); below. */ #include <assert.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 pthread_attr_init(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_attr_init) || defined (__stub___pthread_attr_init) choke me #else pthread_attr_init(); #endif ; return 0; } configure:4853: checking for __d10_pthread_attr_init in -lthread configure:4872: cc -o conftest -Wall conftest.c -lthread 1>&5 /usr/libexec/elf/ld: cannot open -lthread: No such file or directory configure: failed program was: #line 4861 "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 __d10_pthread_attr_init(); int main() { __d10_pthread_attr_init() ; return 0; } configure:4896: checking for __pthread_attr_init_system in -lpthread configure:4915: cc -o conftest -Wall conftest.c -lpthread 1>&5 /usr/libexec/elf/ld: cannot open -lpthread: No such file or directory configure: failed program was: #line 4904 "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 __pthread_attr_init_system(); int main() { __pthread_attr_init_system() ; return 0; } (end of "config.log") *** Error code 1 Stop in /usr2/FreeBSD/robsch/glib12. *** Error code 1 Stop in /usr2/FreeBSD/robsch/glib12. *** Error code 1 Stop in /usr2/FreeBSD/robsch/glib12. *** Error code 1 Stop in /usr2/FreeBSD/robsch/glib12. ------------------ I recompiled and installed libtool on which gtk12 depends, too. Is there a solution to the problem? TIA Robert To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m11x8rW-000E7iC>