OK, here is the whole thing: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:621: checking host system type configure:642: checking target system type configure:660: checking build system type configure:719: checking for a BSD compatible install configure:776: checking for -p flag to install configure:799: checking whether build environment is sane configure:837: checking whether make sets ${MAKE} configure:883: checking for working aclocal configure:896: checking for working autoconf configure:909: checking for working automake configure:922: checking for working autoheader configure:935: checking for working makeinfo configure:1041: checking for a C-Compiler configure:1047: checking for gcc configure:1153: checking whether the C compiler (gcc ) works configure:1169: gcc -o conftest conftest.c 1>&5 configure:1195: checking whether the C compiler (gcc ) is a cross-compiler configure:1200: checking whether we are using GNU C configure:1209: gcc -E conftest.c configure:1312: checking how to run the C preprocessor configure:1333: gcc -E conftest.c >/dev/null 2>conftest.out configure:1374: checking for a C++-Compiler configure:1380: checking for g++ configure:1496: checking whether the C++ compiler (g++ ) works configure:1517: rm -rf SunWS_cache; g++ -o conftest conftest.C 1>&5 configure:1543: checking whether the C++ compiler (g++ ) is a cross-compiler configure:1548: checking whether we are using GNU C++ configure:1557: g++ -E conftest.C configure:1631: checking whether g++ supports -fno-exceptions configure:1664: checking whether g++ supports -fno-check-new configure:1808: checking whether g++ supports -fexceptions configure:1842: checking whether g++ supports -frtti configure:1931: checking how to run the C++ preprocessor configure:1953: g++ -E conftest.C >/dev/null 2>conftest.out configure:2013: checking whether g++ supports -frepo configure:2207: checking for ld used by GCC configure:2275: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.10.91 (with BFD 2.10.1.0.2) configure:2292: checking for /usr/bin/ld option to reload object files configure:2304: checking for BSD-compatible nm configure:2342: checking whether ln -s works configure:2363: checking how to recognise dependant libraries configure:2684: checking for ranlib configure:2751: checking for strip configure:2923: checking for Cygwin environment configure:2939: gcc -c -O2 conftest.c 1>&5 configure: In function `main': configure:2935: `__CYGWIN32__' undeclared (first use in this function) configure:2935: (Each undeclared identifier is reported only once configure:2935: for each function it appears in.) configure: failed program was: #line 2928 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:2956: checking for mingw32 environment configure:2968: gcc -c -O2 conftest.c 1>&5 configure: In function `main': configure:2964: `__MINGW32__' undeclared (first use in this function) configure:2964: (Each undeclared identifier is reported only once configure:2964: for each function it appears in.) configure: failed program was: #line 2961 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } ltcf-c.sh:need_lc: gcc -c -O2 conftest.c 1>&5 ltcf-c.sh:need_lc: gcc -shared conftest. -v -Wl,-soname -Wl,conftest -o conftest ltconfig:678:checking for gcc option to produce PIC ltconfig:687:checking that gcc PIC flag -fPIC -DPIC works. ltconfig:697: gcc -c -O2 -fPIC -DPIC -DPIC conftest.c 1>&5 ltconfig:749: checking if gcc static flag -static works ltconfig:758: gcc -o conftest -O2 -static conftest.c 1>&5 ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 73729 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -O2 -o out/conftest2.o conftest.c 1>&5 ltconfig:883: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:884: gcc -c -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: gcc -c -O2 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: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 ltconfig:1583: checking for dlopen in -ldl ltconfig:1603: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c -ldl 1>&5 ltconfig:1863: checking for dlfcn.h ltconfig:1874: gcc -c -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c 1>&5 >/dev/null 2>conftest.out ltconfig:1902: checking whether a program can dlopen itself ltconfig:1957: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl 1>&5 ltconfig:1976: checking whether a statically linked program can dlopen itself ltconfig:2031: gcc -o conftest -O2 -fno-builtin -fno-rtti -fno-exceptions -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl 1>&5 ltconfig: failed program was: /*#line 1984 "ltconfig"*/ #if HAVE_DLFCN_H #include <dlfcn.h> #endif #include <stdio.h> #ifdef RTLD_GLOBAL # define LTDL_GLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LTDL_GLOBAL DL_GLOBAL # else # define LTDL_GLOBAL 0 # endif #endif /* We may have to define LTDL_LAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LTDL_LAZY_OR_NOW # ifdef RTLD_LAZY # define LTDL_LAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LTDL_LAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LTDL_LAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LTDL_LAZY_OR_NOW DL_NOW # else # define LTDL_LAZY_OR_NOW 0 # endif # endif # endif # endif #endif void fnord() { int i=42; } int main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW); if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord"); if(ptr1 || ptr2) { dlclose(self); exit(0); } } exit(1); return 1; } g++ -E conftest.cc ltconfig:678:checking for g++ option to produce PIC ltconfig:687:checking that g++ PIC flag -fPIC -DPIC works. ltconfig:697: g++ -c -O2 -fno-exceptions -fno-check-new -fPIC -DPIC -DPIC conftest.cc 1>&5 ltconfig:749: checking if g++ static flag -static works ltconfig:758: g++ -o conftest -O2 -fno-exceptions -fno-check-new -static conftest.cc 1>&5 ltconfig:780: finding the maximum length of command line arguments ltconfig:@lineno@: result: 73729 ltconfig:883: checking if g++ supports -fno-rtti -fno-exceptions ltconfig:884: g++ -c -O2 -fno-exceptions -fno-check-new -fno-rtti -fno-exceptions -c conftest.cc conftest.cc 1>&5 ltconfig:1423: checking if global_symbol_pipe works ltconfig:1424: g++ -c -O2 -fno-exceptions -fno-check-new 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: g++ -o conftest -O2 -fno-exceptions -fno-check-new -fno-builtin -fno-rtti -fno-exceptions 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:3103: checking for object suffix configure:3109: gcc -c -O2 conftest.c 1>&5 configure:3129: checking for executable suffix configure:3139: gcc -o conftest -O2 conftest.c 1>&5 configure:3185: checking for msgfmt configure:3219: checking for gmsgfmt configure:3264: checking for xgettext configure:3317: checking for main in -lcompat configure:3332: gcc -o conftest -O2 conftest.c -lcompat 1>&5 /usr/bin/ld: cannot find -lcompat collect2: ld returned 1 exit status configure: failed program was: #line 3325 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:3354: checking for crypt in -lcrypt configure:3373: gcc -o conftest -O2 conftest.c -lcrypt 1>&5 configure:3448: checking for socklen_t configure:3478: g++ -c -O2 -fno-exceptions -fno-check-new conftest.C 1>&5 configure:3545: checking for dnet_ntoa in -ldnet configure:3564: gcc -o conftest -O2 conftest.c -ldnet 1>&5 /usr/bin/ld: cannot find -ldnet collect2: ld returned 1 exit status configure: failed program was: #line 3553 "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:3586: checking for dnet_ntoa in -ldnet_stub configure:3605: gcc -o conftest -O2 conftest.c -ldnet_stub 1>&5 /usr/bin/ld: cannot find -ldnet_stub collect2: ld returned 1 exit status configure: failed program was: #line 3594 "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:3627: checking for inet_ntoa configure:3655: gcc -o conftest -O2 conftest.c 1>&5 configure:3717: checking for connect configure:3745: gcc -o conftest -O2 conftest.c 1>&5 configure:3808: checking for remove configure:3836: gcc -o conftest -O2 conftest.c 1>&5 configure:3900: checking for shmat configure:3928: gcc -o conftest -O2 conftest.c 1>&5 configure:3990: checking for res_init configure:4018: gcc -o conftest -O2 conftest.c 1>&5 /tmp/ccOwgLu4.o: In function `main': /tmp/ccOwgLu4.o(.text+0x6): undefined reference to `res_init' collect2: ld returned 1 exit status configure: failed program was: #line 3995 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char res_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 res_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_res_init) || defined (__stub___res_init) choke me #else res_init(); #endif ; return 0; } configure:4036: checking for res_init in -lresolv configure:4055: gcc -o conftest -O2 conftest.c -lresolv 1>&5 /tmp/cctHgljq.o: In function `main': /tmp/cctHgljq.o(.text+0x6): undefined reference to `res_init' collect2: ld returned 1 exit status configure: failed program was: #line 4044 "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 res_init(); int main() { res_init() ; return 0; } configure:4082: checking for killpg in -lucb configure:4101: gcc -o conftest -O2 conftest.c -lucb 1>&5 /usr/bin/ld: cannot find -lucb collect2: ld returned 1 exit status configure: failed program was: #line 4090 "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:4170: checking size of int configure:4190: gcc -o conftest -O2 conftest.c 1>&5 configure:4209: checking size of long configure:4229: gcc -o conftest -O2 conftest.c 1>&5 configure:4248: checking size of char * configure:4268: gcc -o conftest -O2 conftest.c 1>&5 configure:4287: checking size of char configure:4307: gcc -o conftest -O2 conftest.c 1>&5 configure:4328: checking for dlopen in -ldl configure:4372: checking for shl_unload in -ldld configure:4391: gcc -o conftest -O2 conftest.c -ldld 1>&5 /usr/bin/ld: cannot find -ldld collect2: ld returned 1 exit status configure: failed program was: #line 4380 "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:4420: checking for extra includes configure:4451: checking for extra libs configure:4485: checking for libz configure:4511: gcc -o conftest -O2 conftest.c -lz 1>&5 configure:4504:17: zlib.h: No such file or directory configure: failed program was: #line 4502 "configure" #include "confdefs.h" #include<zlib.h> int main() { return (zlibVersion() == ZLIB_VERSION); ; return 0; }