This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Google C++ Testing Framework configure 1.5.0, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --prefix=/vols/escience01/martynia/MAUS-v0.8.5/third_party/install ## --------- ## ## Platform. ## ## --------- ## hostname = lx04.hep.ph.ic.ac.uk uname -m = x86_64 uname -r = 2.6.32-431.17.1.el6.x86_64 uname -s = Linux uname -v = #1 SMP Wed May 7 23:32:49 UTC 2014 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = x86_64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/root_v5.34.07/bin PATH: /vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin PATH: /usr/lib64/qt-3.3/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2005: checking for a BSD-compatible install configure:2061: result: /usr/bin/install -c configure:2072: checking whether build environment is sane configure:2115: result: yes configure:2143: checking for a thread-safe mkdir -p configure:2182: result: /bin/mkdir -p configure:2195: checking for gawk configure:2211: found /bin/gawk configure:2222: result: gawk configure:2233: checking whether make sets $(MAKE) configure:2254: result: yes configure:2492: checking for gcc configure:2508: found /usr/bin/gcc configure:2519: result: gcc configure:2757: checking for C compiler version configure:2764: gcc --version >&5 gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) Copyright (C) 2010 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:2767: $? = 0 configure:2774: gcc -v >&5 Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) configure:2777: $? = 0 configure:2784: gcc -V >&5 gcc: '-V' option must have argument configure:2787: $? = 1 configure:2810: checking for C compiler default output file name configure:2837: gcc conftest.c >&5 configure:2840: $? = 0 configure:2878: result: a.out configure:2895: checking whether the C compiler works configure:2905: ./a.out configure:2908: $? = 0 configure:2925: result: yes configure:2932: checking whether we are cross compiling configure:2934: result: no configure:2937: checking for suffix of executables configure:2944: gcc -o conftest conftest.c >&5 configure:2947: $? = 0 configure:2971: result: configure:2977: checking for suffix of object files configure:3003: gcc -c conftest.c >&5 configure:3006: $? = 0 configure:3029: result: o configure:3033: checking whether we are using the GNU C compiler configure:3062: gcc -c conftest.c >&5 configure:3068: $? = 0 configure:3085: result: yes configure:3090: checking whether gcc accepts -g configure:3120: gcc -c -g conftest.c >&5 configure:3126: $? = 0 configure:3225: result: yes configure:3242: checking for gcc option to accept ISO C89 configure:3316: gcc -c -g -O2 conftest.c >&5 configure:3322: $? = 0 configure:3345: result: none needed configure:3374: checking for style of include used by make configure:3402: result: GNU configure:3427: checking dependency style of gcc configure:3518: result: gcc3 configure:3591: checking for g++ configure:3607: found /usr/bin/g++ configure:3618: result: g++ configure:3649: checking for C++ compiler version configure:3656: g++ --version >&5 g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4) Copyright (C) 2010 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:3659: $? = 0 configure:3666: g++ -v >&5 Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux Thread model: posix gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) configure:3669: $? = 0 configure:3676: g++ -V >&5 g++: '-V' option must have argument configure:3679: $? = 1 configure:3682: checking whether we are using the GNU C++ compiler configure:3711: g++ -c conftest.cpp >&5 configure:3717: $? = 0 configure:3734: result: yes configure:3739: checking whether g++ accepts -g configure:3769: g++ -c -g conftest.cpp >&5 configure:3775: $? = 0 configure:3874: result: yes configure:3899: checking dependency style of g++ configure:3990: result: gcc3 configure:4089: checking build system type configure:4107: result: x86_64-unknown-linux-gnu configure:4129: checking host system type configure:4144: result: x86_64-unknown-linux-gnu configure:4166: checking for a sed that does not truncate output configure:4222: result: /bin/sed configure:4225: checking for grep that handles long lines and -e configure:4299: result: /bin/grep configure:4304: checking for egrep configure:4382: result: /bin/grep -E configure:4398: checking for ld used by gcc configure:4465: result: /usr/bin/ld configure:4474: checking if the linker (/usr/bin/ld) is GNU ld configure:4489: result: yes configure:4494: checking for /usr/bin/ld option to reload object files configure:4501: result: -r configure:4519: checking for BSD-compatible nm configure:4568: result: /usr/bin/nm -B configure:4572: checking whether ln -s works configure:4576: result: yes configure:4583: checking how to recognize dependent libraries configure:4769: result: pass_all configure:4859: g++ -c -g -O2 conftest.cpp >&5 configure:4862: $? = 0 configure:5015: checking how to run the C preprocessor configure:5055: gcc -E conftest.c configure:5061: $? = 0 configure:5092: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:5098: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | /* end confdefs.h. */ | #include configure:5131: result: gcc -E configure:5160: gcc -E conftest.c configure:5166: $? = 0 configure:5197: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:5203: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | /* end confdefs.h. */ | #include configure:5241: checking for ANSI C header files configure:5271: gcc -c -g -O2 conftest.c >&5 configure:5277: $? = 0 configure:5376: gcc -o conftest -g -O2 conftest.c >&5 configure:5379: $? = 0 configure:5385: ./conftest configure:5388: $? = 0 configure:5405: result: yes configure:5429: checking for sys/types.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for sys/stat.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for stdlib.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for string.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for memory.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for strings.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for inttypes.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for stdint.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5429: checking for unistd.h configure:5450: gcc -c -g -O2 conftest.c >&5 configure:5456: $? = 0 configure:5472: result: yes configure:5499: checking dlfcn.h usability configure:5516: gcc -c -g -O2 conftest.c >&5 configure:5522: $? = 0 configure:5536: result: yes configure:5540: checking dlfcn.h presence configure:5555: gcc -E conftest.c configure:5561: $? = 0 configure:5575: result: yes configure:5608: checking for dlfcn.h configure:5616: result: yes configure:5639: checking how to run the C++ preprocessor configure:5675: g++ -E conftest.cpp configure:5681: $? = 0 configure:5712: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5718: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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:5751: result: g++ -E configure:5780: g++ -E conftest.cpp configure:5786: $? = 0 configure:5817: g++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5823: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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:5915: checking for g77 configure:5931: found /usr/bin/g77 configure:5942: result: g77 configure:5972: checking for Fortran 77 compiler version configure:5979: g77 --version >&5 GNU Fortran (GCC) 3.4.6 20060404 (Red Hat 3.4.6-19.el6) Copyright (C) 2006 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING or type the command `info -f g77 Copying'. configure:5982: $? = 0 configure:5989: g77 -v >&5 Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,f77 --disable-libgcj --host=x86_64-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-19.el6) configure:5992: $? = 0 configure:5999: g77 -V >&5 g77: `-V' option must have argument configure:6002: $? = 1 configure:6010: checking whether we are using the GNU Fortran 77 compiler configure:6029: g77 -c conftest.F >&5 configure:6035: $? = 0 configure:6052: result: yes configure:6058: checking whether g77 accepts -g configure:6075: g77 -c -g conftest.f >&5 configure:6081: $? = 0 configure:6097: result: yes configure:6126: checking the maximum length of command line arguments configure:6238: result: 1966080 configure:6250: checking command to parse /usr/bin/nm -B output from gcc object configure:6355: g++ -c -g -O2 conftest.cpp >&5 configure:6358: $? = 0 configure:6362: /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:6365: $? = 0 configure:6417: g++ -o conftest -g -O2 conftest.cpp conftstm.o >&5 configure:6420: $? = 0 configure:6458: result: ok configure:6462: checking for objdir configure:6477: result: .libs configure:6569: checking for ar configure:6585: found /usr/bin/ar configure:6596: result: ar configure:6665: checking for ranlib configure:6681: found /usr/bin/ranlib configure:6692: result: ranlib configure:6761: checking for strip configure:6777: found /usr/bin/strip configure:6788: result: strip configure:7386: checking if gcc supports -fno-rtti -fno-exceptions configure:7404: 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:7408: $? = 0 configure:7421: result: no configure:7436: checking for gcc option to produce PIC configure:7668: result: -fPIC configure:7676: checking if gcc PIC flag -fPIC works configure:7694: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 configure:7698: $? = 0 configure:7711: result: yes configure:7739: checking if gcc static flag -static works configure:7767: result: no configure:7777: checking if gcc supports -c -o file.o configure:7798: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:7802: $? = 0 configure:7824: result: yes configure:7850: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:8831: result: yes configure:8852: checking whether -lc should be explicitly linked in configure:8857: gcc -c -g -O2 conftest.c >&5 configure:8860: $? = 0 configure:8875: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:8878: $? = 0 configure:8890: result: no configure:8898: checking dynamic linker characteristics configure:9512: result: GNU/Linux ld.so configure:9536: checking how to hardcode library paths into programs configure:9561: result: immediate configure:9575: checking whether stripping libraries is possible configure:9580: result: yes configure:10382: checking if libtool supports shared libraries configure:10384: result: yes configure:10387: checking whether to build shared libraries configure:10408: result: yes configure:10411: checking whether to build static libraries configure:10415: result: yes configure:10509: creating libtool configure:11102: checking for ld used by g++ configure:11169: result: /usr/bin/ld -m elf_x86_64 configure:11178: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:11193: result: yes configure:11244: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:12190: result: yes configure:12207: g++ -c -g -O2 conftest.cpp >&5 configure:12210: $? = 0 configure:12366: checking for g++ option to produce PIC configure:12650: result: -fPIC configure:12658: checking if g++ PIC flag -fPIC works configure:12676: g++ -c -g -O2 -fPIC -DPIC conftest.cpp >&5 configure:12680: $? = 0 configure:12693: result: yes configure:12721: checking if g++ static flag -static works configure:12749: result: no configure:12759: checking if g++ supports -c -o file.o configure:12780: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:12784: $? = 0 configure:12806: result: yes configure:12832: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:12861: result: yes configure:12928: checking dynamic linker characteristics configure:13490: result: GNU/Linux ld.so configure:13514: checking how to hardcode library paths into programs configure:13539: result: immediate configure:14078: checking if libtool supports shared libraries configure:14080: result: yes configure:14083: checking whether to build shared libraries configure:14103: result: yes configure:14106: checking whether to build static libraries configure:14110: result: yes configure:14120: checking for g77 option to produce PIC configure:14352: result: -fPIC configure:14360: checking if g77 PIC flag -fPIC works configure:14378: g77 -c -g -O2 -fPIC conftest.f >&5 configure:14382: $? = 0 configure:14395: result: yes configure:14423: checking if g77 static flag -static works configure:14451: result: no configure:14461: checking if g77 supports -c -o file.o configure:14482: g77 -c -g -O2 -o out/conftest2.o conftest.f >&5 configure:14486: $? = 0 configure:14508: result: yes configure:14534: checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:15495: result: yes configure:15562: checking dynamic linker characteristics configure:16124: result: GNU/Linux ld.so configure:16148: checking how to hardcode library paths into programs configure:16173: result: immediate configure:19795: checking for python configure:19813: found /vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin/python configure:19826: result: /vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin/python configure:19842: /vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin/python -c import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.3', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) configure:19845: $? = 0 configure:20067: checking for the pthreads library -lpthreads configure:20110: gcc -o conftest -g -O2 conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:20116: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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 | 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:20136: result: no configure:20012: checking whether pthreads work without any flags configure:20110: gcc -o conftest -g -O2 conftest.c >&5 /tmp/ccyrPQ5x.o: In function `main': /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:25: undefined reference to `pthread_join' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:26: undefined reference to `__pthread_register_cancel' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `pthread_create' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20116: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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 | 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:20136: result: no configure:20017: checking whether pthreads work with -Kthread configure:20110: gcc -o conftest -g -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' /tmp/ccc6zELL.o: In function `main': /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:25: undefined reference to `pthread_join' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:26: undefined reference to `__pthread_register_cancel' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `pthread_create' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20116: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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 | 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:20136: result: no configure:20017: checking whether pthreads work with -kthread configure:20110: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option '-kthread' /tmp/ccoZCWIX.o: In function `main': /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:25: undefined reference to `pthread_join' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:26: undefined reference to `__pthread_register_cancel' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `pthread_create' /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/conftest.c:27: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:20116: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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 | 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:20136: result: no configure:20067: checking for the pthreads library -llthread configure:20110: gcc -o conftest -g -O2 conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: ld returned 1 exit status configure:20116: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "Google C++ Testing Framework" | #define PACKAGE_TARNAME "gtest" | #define PACKAGE_VERSION "1.5.0" | #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" | #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" | #define PACKAGE "gtest" | #define VERSION "1.5.0" | #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 | 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:20136: result: no configure:20017: checking whether pthreads work with -pthread configure:20110: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:20116: $? = 0 configure:20136: result: yes configure:20155: checking for joinable pthread attribute configure:20180: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:20186: $? = 0 configure:20203: result: PTHREAD_CREATE_JOINABLE configure:20213: checking if more special flags are required for pthreads configure:20220: result: no configure:20309: checking whether to check for GCC pthread/shared inconsistencies configure:20332: gcc -o conftest -shared -fPIC -Wl,-z,defs -g -O2 -pthread conftest.c >&5 configure:20338: $? = 0 configure:20359: result: yes configure:20365: checking whether -pthread is sufficient with -shared configure:20390: gcc -o conftest -shared -fPIC -Wl,-z,defs -g -O2 -pthread conftest.c >&5 configure:20396: $? = 0 configure:20414: result: yes configure:20748: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by Google C++ Testing Framework config.status 1.5.0, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on lx04.hep.ph.ic.ac.uk config.status:674: creating Makefile config.status:674: creating scripts/gtest-config config.status:674: creating build-aux/config.h config.status:949: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-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=yes 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=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_PYTHON=/vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin/python 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_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_F77=g77 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=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 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 -m elf_x86_64' 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_c_o_F77=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_pic_works_F77=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_compiler_static_works_F77=no 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 /usr/lib64/atlas /usr/lib64/cernlib/2006/lib /usr/lib64/ctapi /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib64/root /usr/lib64/tcl8.5 /usr/lib64/xulrunner ' lt_cv_sys_lib_search_path_spec='/usr/lib/gcc/x86_64-redhat-linux/4.4.7 /usr/lib64 /lib64' lt_cv_sys_max_cmd_len=1966080 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_prog_compiler_c_o_F77='"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} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run tar' AR='ar' AUTOCONF='${SHELL} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run automake-1.10' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' F77='g77' FFLAGS='-g -O2' GREP='/bin/grep' HAVE_PTHREADS_FALSE='#' HAVE_PTHREADS_TRUE='' HAVE_PYTHON_FALSE='#' HAVE_PYTHON_TRUE='' 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} /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/missing --run makeinfo' NMEDIT='' OBJEXT='o' PACKAGE='gtest' PACKAGE_BUGREPORT='googletestframework@googlegroups.com' PACKAGE_NAME='Google C++ Testing Framework' PACKAGE_STRING='Google C++ Testing Framework 1.5.0' PACKAGE_TARNAME='gtest' PACKAGE_VERSION='1.5.0' PATH_SEPARATOR=':' PTHREAD_CC='gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' PYTHON='/vols/escience01/martynia/MAUS-v0.8.5/third_party/install/bin/python' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='1.5.0' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_F77='g77' 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='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='$(SHELL) /vols/escience01/martynia/MAUS-v0.8.5/third_party/build/gtest-1.5.0/build-aux/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='/vols/escience01/martynia/MAUS-v0.8.5/third_party/install' 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 "Google C++ Testing Framework" #define PACKAGE_TARNAME "gtest" #define PACKAGE_VERSION "1.5.0" #define PACKAGE_STRING "Google C++ Testing Framework 1.5.0" #define PACKAGE_BUGREPORT "googletestframework@googlegroups.com" #define PACKAGE "gtest" #define VERSION "1.5.0" #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 HAVE_PTHREAD 1 configure: exit 0