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.61. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = screw uname -m = i686 uname -r = 2.6.25 uname -s = Linux uname -v = #24 SMP PREEMPT Tue May 13 00:44:35 CEST 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/whirm/.bin PATH: /home/whirm/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2049: checking for a BSD-compatible install configure:2105: result: /usr/bin/install -c configure:2116: checking whether build environment is sane configure:2159: result: yes configure:2187: checking for a thread-safe mkdir -p configure:2226: result: /bin/mkdir -p configure:2239: checking for gawk configure:2255: found /usr/bin/gawk configure:2266: result: gawk configure:2277: checking whether make sets $(MAKE) configure:2298: result: yes configure:2538: checking for gcc configure:2554: found /usr/bin/gcc configure:2565: result: gcc configure:2803: checking for C compiler version configure:2810: gcc --version >&5 gcc (GCC) 4.2.3 (Debian 4.2.3-5) Copyright (C) 2007 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:2813: $? = 0 configure:2820: gcc -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 (Debian 4.2.3-5) configure:2823: $? = 0 configure:2830: gcc -V >&5 gcc: '-V' option must have argument configure:2833: $? = 1 configure:2856: checking for C compiler default output file name configure:2883: gcc conftest.c >&5 configure:2886: $? = 0 configure:2924: result: a.out configure:2941: checking whether the C compiler works configure:2951: ./a.out configure:2954: $? = 0 configure:2971: result: yes configure:2978: checking whether we are cross compiling configure:2980: result: no configure:2983: checking for suffix of executables configure:2990: gcc -o conftest conftest.c >&5 configure:2993: $? = 0 configure:3017: result: configure:3023: checking for suffix of object files configure:3049: gcc -c conftest.c >&5 configure:3052: $? = 0 configure:3075: result: o configure:3079: checking whether we are using the GNU C compiler configure:3108: gcc -c conftest.c >&5 configure:3114: $? = 0 configure:3131: result: yes configure:3136: checking whether gcc accepts -g configure:3166: gcc -c -g conftest.c >&5 configure:3172: $? = 0 configure:3271: result: yes configure:3288: checking for gcc option to accept ISO C89 configure:3362: gcc -c -g -O2 conftest.c >&5 configure:3368: $? = 0 configure:3391: result: none needed configure:3420: checking for style of include used by make configure:3448: result: GNU configure:3473: checking dependency style of gcc configure:3564: result: gcc3 configure:3591: checking how to run the C preprocessor configure:3631: gcc -E conftest.c configure:3637: $? = 0 configure:3668: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:3674: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | /* end confdefs.h. */ | #include configure:3707: result: gcc -E configure:3736: gcc -E conftest.c configure:3742: $? = 0 configure:3773: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:3779: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | /* end confdefs.h. */ | #include configure:3874: checking for g++ configure:3890: found /usr/bin/g++ configure:3901: result: g++ configure:3932: checking for C++ compiler version configure:3939: g++ --version >&5 g++ (GCC) 4.2.3 (Debian 4.2.3-5) Copyright (C) 2007 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:3942: $? = 0 configure:3949: g++ -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.2.3 (Debian 4.2.3-5) configure:3952: $? = 0 configure:3959: g++ -V >&5 g++: '-V' option must have argument configure:3962: $? = 1 configure:3965: checking whether we are using the GNU C++ compiler configure:3994: g++ -c conftest.cpp >&5 configure:4000: $? = 0 configure:4017: result: yes configure:4022: checking whether g++ accepts -g configure:4052: g++ -c -g conftest.cpp >&5 configure:4058: $? = 0 configure:4157: result: yes configure:4182: checking dependency style of g++ configure:4273: result: gcc3 configure:4381: checking for a BSD-compatible install configure:4437: result: /usr/bin/install -c configure:4448: checking whether make sets $(MAKE) configure:4469: result: yes configure:4556: checking build system type configure:4574: result: i686-pc-linux-gnu configure:4596: checking host system type configure:4611: result: i686-pc-linux-gnu configure:4633: checking for a sed that does not truncate output configure:4689: result: /bin/sed configure:4692: checking for grep that handles long lines and -e configure:4766: result: /bin/grep configure:4771: checking for egrep configure:4849: result: /bin/grep -E configure:4865: checking for ld used by gcc configure:4932: result: /usr/bin/ld configure:4941: checking if the linker (/usr/bin/ld) is GNU ld configure:4956: result: yes configure:4961: checking for /usr/bin/ld option to reload object files configure:4968: result: -r configure:4986: checking for BSD-compatible nm configure:5035: result: /usr/bin/nm -B configure:5039: checking whether ln -s works configure:5043: result: yes configure:5050: checking how to recognize dependent libraries configure:5236: result: pass_all configure:5477: checking for ANSI C header files configure:5507: gcc -c -g -O2 conftest.c >&5 configure:5513: $? = 0 configure:5612: gcc -o conftest -g -O2 conftest.c >&5 configure:5615: $? = 0 configure:5621: ./conftest configure:5624: $? = 0 configure:5641: result: yes configure:5665: checking for sys/types.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for sys/stat.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for stdlib.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for string.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for memory.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for strings.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for inttypes.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for stdint.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5665: checking for unistd.h configure:5686: gcc -c -g -O2 conftest.c >&5 configure:5692: $? = 0 configure:5708: result: yes configure:5735: checking dlfcn.h usability configure:5752: gcc -c -g -O2 conftest.c >&5 configure:5758: $? = 0 configure:5772: result: yes configure:5776: checking dlfcn.h presence configure:5791: gcc -E conftest.c configure:5797: $? = 0 configure:5811: result: yes configure:5839: checking for dlfcn.h configure:5847: result: yes configure:5870: checking how to run the C++ preprocessor configure:5906: g++ -E conftest.cpp configure:5912: $? = 0 configure:5943: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5949: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:5982: result: g++ -E configure:6011: g++ -E conftest.cpp configure:6017: $? = 0 configure:6048: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:6054: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:6147: checking for g77 configure:6177: result: no configure:6147: checking for xlf configure:6177: result: no configure:6147: checking for f77 configure:6177: result: no configure:6147: checking for frt configure:6177: result: no configure:6147: checking for pgf77 configure:6177: result: no configure:6147: checking for cf77 configure:6177: result: no configure:6147: checking for fort77 configure:6177: result: no configure:6147: checking for fl32 configure:6177: result: no configure:6147: checking for af77 configure:6177: result: no configure:6147: checking for xlf90 configure:6177: result: no configure:6147: checking for f90 configure:6177: result: no configure:6147: checking for pgf90 configure:6177: result: no configure:6147: checking for pghpf configure:6177: result: no configure:6147: checking for epcf90 configure:6177: result: no configure:6147: checking for gfortran configure:6177: result: no configure:6147: checking for g95 configure:6177: result: no configure:6147: checking for xlf95 configure:6177: result: no configure:6147: checking for f95 configure:6177: result: no configure:6147: checking for fort configure:6177: result: no configure:6147: checking for ifort configure:6177: result: no configure:6147: checking for ifc configure:6177: result: no configure:6147: checking for efc configure:6177: result: no configure:6147: checking for pgf95 configure:6177: result: no configure:6147: checking for lf95 configure:6177: result: no configure:6147: checking for ftn configure:6177: result: no configure:6204: checking for Fortran 77 compiler version configure:6211: --version >&5 ./configure: line 6212: --version: command not found configure:6214: $? = 127 configure:6221: -v >&5 ./configure: line 6222: -v: command not found configure:6224: $? = 127 configure:6231: -V >&5 ./configure: line 6232: -V: command not found configure:6234: $? = 127 configure:6242: checking whether we are using the GNU Fortran 77 compiler configure:6261: -c conftest.F >&5 ./configure: line 6262: -c: command not found configure:6267: $? = 127 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:6284: result: no configure:6290: checking whether accepts -g configure:6307: -c -g conftest.f >&5 ./configure: line 6308: -c: command not found configure:6313: $? = 127 configure: failed program was: | program main | | end configure:6329: result: no configure:6358: checking the maximum length of command line arguments configure:6470: result: 98304 configure:6482: checking command to parse /usr/bin/nm -B output from gcc object configure:6587: gcc -c -g -O2 conftest.c >&5 configure:6590: $? = 0 configure:6594: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6597: $? = 0 configure:6649: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6652: $? = 0 configure:6690: result: ok configure:6694: checking for objdir configure:6709: result: .libs configure:6801: checking for ar configure:6817: found /usr/bin/ar configure:6828: result: ar configure:6897: checking for ranlib configure:6913: found /usr/bin/ranlib configure:6924: result: ranlib configure:6993: checking for strip configure:7009: found /usr/bin/strip configure:7020: result: strip configure:7618: checking if gcc supports -fno-rtti -fno-exceptions configure:7636: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:7640: $? = 0 configure:7653: result: no configure:7668: checking for gcc option to produce PIC configure:7900: result: -fPIC configure:7908: checking if gcc PIC flag -fPIC works configure:7926: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 configure:7930: $? = 0 configure:7943: result: yes configure:7971: checking if gcc static flag -static works configure:7999: result: yes configure:8009: checking if gcc supports -c -o file.o configure:8030: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8034: $? = 0 configure:8056: result: yes configure:8082: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:9063: result: yes configure:9084: checking whether -lc should be explicitly linked in configure:9089: gcc -c -g -O2 conftest.c >&5 configure:9092: $? = 0 configure:9107: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:9110: $? = 0 configure:9122: result: no configure:9130: checking dynamic linker characteristics configure:9744: result: GNU/Linux ld.so configure:9768: checking how to hardcode library paths into programs configure:9793: result: immediate configure:9807: checking whether stripping libraries is possible configure:9812: result: yes configure:10614: checking if libtool supports shared libraries configure:10616: result: yes configure:10619: checking whether to build shared libraries configure:10640: result: yes configure:10643: checking whether to build static libraries configure:10647: result: yes configure:10741: creating libtool configure:11334: checking for ld used by g++ configure:11401: result: /usr/bin/ld configure:11410: checking if the linker (/usr/bin/ld) is GNU ld configure:11425: result: yes configure:11476: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:12422: result: yes configure:12439: g++ -c -g -O2 conftest.cpp >&5 configure:12442: $? = 0 configure:12598: checking for g++ option to produce PIC configure:12882: result: -fPIC configure:12890: checking if g++ PIC flag -fPIC works configure:12908: g++ -c -g -O2 -fPIC -DPIC conftest.cpp >&5 configure:12912: $? = 0 configure:12925: result: yes configure:12953: checking if g++ static flag -static works configure:12981: result: yes configure:12991: checking if g++ supports -c -o file.o configure:13012: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:13016: $? = 0 configure:13038: result: yes configure:13064: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:13093: result: yes configure:13160: checking dynamic linker characteristics configure:13722: result: GNU/Linux ld.so configure:13746: checking how to hardcode library paths into programs configure:13771: result: immediate configure:20027: checking for special C compiler options needed for large files configure:20120: result: no configure:20126: checking for _FILE_OFFSET_BITS value needed for large files configure:20161: gcc -c -g -O2 conftest.c >&5 conftest.c:27: warning: left shift count >= width of type conftest.c:27: warning: left shift count >= width of type conftest.c:29: error: size of array 'off_t_is_large' is negative configure:20167: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | #include | /* Check that off_t can represent 2**63 - 1 correctly. | We can't simply define LARGE_OFF_T to be 9223372036854775807, | since some C++ compilers masquerading as C compilers | incorrectly reject 9223372036854775807. */ | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) | int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 | && LARGE_OFF_T % 2147483647 == 1) | ? 1 : -1]; | int | main () | { | | ; | return 0; | } configure:20211: gcc -c -g -O2 conftest.c >&5 configure:20217: $? = 0 configure:20235: result: 64 configure:20564: checking for the pthreads library -lpthreads configure:20607: gcc -o conftest -g -O2 conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:20613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20633: result: no configure:20509: checking whether pthreads work without any flags configure:20607: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccGQjOwg.o: In function `main': /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:26: undefined reference to `pthread_join' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:27: undefined reference to `__pthread_register_cancel' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `pthread_create' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20633: result: no configure:20514: checking whether pthreads work with -Kthread configure:20607: gcc -o conftest -g -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' /tmp/ccgMc4vp.o: In function `main': /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:26: undefined reference to `pthread_join' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:27: undefined reference to `__pthread_register_cancel' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `pthread_create' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20633: result: no configure:20514: checking whether pthreads work with -kthread configure:20607: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option '-kthread' /tmp/ccmcj97x.o: In function `main': /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:26: undefined reference to `pthread_join' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:27: undefined reference to `__pthread_register_cancel' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `pthread_create' /home/whirm/src/libtorrent/rb-libtorrent/conftest.c:28: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20633: result: no configure:20564: checking for the pthreads library -llthread configure:20607: gcc -o conftest -g -O2 conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: ld returned 1 exit status configure:20613: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.14" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define _FILE_OFFSET_BITS 64 | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:20633: result: no configure:20514: checking whether pthreads work with -pthread configure:20607: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:20613: $? = 0 configure:20633: result: yes configure:20653: checking for joinable pthread attribute configure:20676: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:20682: $? = 0 configure:20750: result: PTHREAD_CREATE_JOINABLE configure:20757: checking if more special flags are required for pthreads configure:20764: result: no configure:20776: checking for cc_r configure:20804: result: gcc configure:20872: checking whether the Boost::System library is available configure:20906: g++ -c -g -O2 conftest.cpp >&5 configure:20912: $? = 0 configure:20935: result: yes configure:21182: error: unable to find Boost.System library, currently this is required. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXCPP_set= ac_cv_env_CXXCPP_value= ac_cv_env_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_f77_compiler_gnu=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-pc-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_PTHREAD_CC=gcc ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_f77_g=no ac_cv_prog_make_make_set=yes ac_cv_sys_file_offset_bits=64 ac_cv_sys_largefile_CC=no am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ax_cv_boost_system=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX=/usr/bin/ld lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_lib_dlsearch_path_spec='/lib /usr/lib /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib ' lt_cv_sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.2.3 /usr/lib /lib' lt_cv_sys_max_cmd_len=98304 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run autoconf' AUTOHEADER='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run autoheader' AUTOMAKE='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run automake-1.10' AWK='gawk' BOOST_ASIO_LIB='' BOOST_CPPFLAGS='' BOOST_DATE_TIME_LIB='' BOOST_FILESYSTEM_LIB='' BOOST_IOSTREAMS_LIB='' BOOST_PROGRAM_OPTIONS_LIB='' BOOST_REGEX_LIB='' BOOST_SYSTEM_LIB='' BOOST_THREAD_LIB='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CLIENT_TEST_BIN='' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEBUGFLAGS='' DEFS='' DEPDIR='.deps' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXAMPLESDIR='' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' HAVE_SSL='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/whirm/src/libtorrent/rb-libtorrent/missing --run makeinfo' NMEDIT='' OBJEXT='o' PACKAGE='libtorrent' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PTHREAD_CC='gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' SSL_CFLAGS='' SSL_CXXFLAGS='' SSL_LDFLAGS='' SSL_LIBS='' STRIP='strip' USE_DHT_FALSE='' USE_DHT_TRUE='' USE_ENCRYPTION_FALSE='' USE_ENCRYPTION_TRUE='' VERSION='0.14' ZLIB='' ZLIBDIR='' ZLIBINCL='' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='' acx_pthread_config='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /home/whirm/src/libtorrent/rb-libtorrent/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "libtorrent" #define VERSION "0.14" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define _FILE_OFFSET_BITS 64 #define HAVE_PTHREAD 1 #define HAVE_BOOST_SYSTEM configure: exit 1