This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by graph-tool configure 2.2.9, which was generated by GNU Autoconf 2.68. Invocation command line was $ /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/configure --with-boost=/apps/packages/boost_1_45_0 --with-boost-libdir=/apps/packages/boost_1_45_0/lib --with-boost-python=/apps/packages/boost_1_45_0/lib/libboost_python.so --prefix=/apps/packages/graph-tool ## --------- ## ## Platform. ## ## --------- ## hostname = inferno uname -m = ia64 uname -r = 2.6.16.60-0.69.1-default uname -s = Linux uname -v = #1 SMP Fri Sep 17 17:07:54 UTC 2010 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = ia64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /apps/packages/cgal-3.6.1/bin PATH: /apps/packages/cmake-2.8.2/bin PATH: /apps/packages/metis-4.0 PATH: /apps/packages/metis-4.0 PATH: /apps/packages/metis-4.0/Graphs PATH: /apps/packages/cmake-2.8.2/bin PATH: /apps/packages/gcc-4.4.4/bin PATH: /apps/packages/Python-2.6.6/bin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /bin PATH: /usr/games PATH: /opt/gnome/bin PATH: /opt/kde3/bin PATH: /usr/lib/jvm/jre/bin PATH: /usr/lib/mit/bin PATH: /usr/lib/mit/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2622: checking for a BSD-compatible install configure:2690: result: /usr/bin/install -c configure:2701: checking whether build environment is sane configure:2751: result: yes configure:2892: checking for a thread-safe mkdir -p configure:2931: result: /bin/mkdir -p configure:2944: checking for gawk configure:2960: found /usr/bin/gawk configure:2971: result: gawk configure:2982: checking whether make sets $(MAKE) configure:3004: result: yes configure:3108: checking for style of include used by make configure:3136: result: GNU configure:3206: checking for gcc configure:3222: found /apps/packages/gcc-4.4.4/bin/gcc configure:3233: result: gcc configure:3462: checking for C compiler version configure:3471: gcc --version >&5 gcc (GCC) 4.4.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:3482: $? = 0 configure:3471: gcc -v >&5 Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: /home/arcadm/SGI/Software/gcc-4.4.4/gcc-4.4.4/configure --prefix=/apps/packages/gcc-4.4.4 --with-gmp=/apps/packages/gmp-5.0.1 --with-mpfr=/apps/packages/mpfr-3.0.0 Thread model: posix gcc version 4.4.4 (GCC) configure:3482: $? = 0 configure:3471: gcc -V >&5 gcc: '-V' option must have argument configure:3482: $? = 1 configure:3471: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:3482: $? = 1 configure:3502: checking whether the C compiler works configure:3524: gcc -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c >&5 configure:3528: $? = 0 configure:3576: result: yes configure:3579: checking for C compiler default output file name configure:3581: result: a.out configure:3587: checking for suffix of executables configure:3594: gcc -o conftest -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c >&5 configure:3598: $? = 0 configure:3620: result: configure:3642: checking whether we are cross compiling configure:3650: gcc -o conftest -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c >&5 configure:3654: $? = 0 configure:3661: ./conftest configure:3665: $? = 0 configure:3680: result: no configure:3685: checking for suffix of object files configure:3707: gcc -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:3711: $? = 0 configure:3732: result: o configure:3736: checking whether we are using the GNU C compiler configure:3755: gcc -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:3755: $? = 0 configure:3764: result: yes configure:3773: checking whether gcc accepts -g configure:3793: gcc -c -g -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:3793: $? = 0 configure:3834: result: yes configure:3851: checking for gcc option to accept ISO C89 configure:3915: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:3915: $? = 0 configure:3928: result: none needed configure:3950: checking dependency style of gcc configure:4060: result: gcc3 configure:4076: checking whether gcc and cc understand -c and -o together configure:4107: gcc -c conftest.c -o conftest2.o >&5 configure:4111: $? = 0 configure:4117: gcc -c conftest.c -o conftest2.o >&5 configure:4121: $? = 0 configure:4132: cc -c conftest.c >&5 configure:4136: $? = 0 configure:4144: cc -c conftest.c -o conftest2.o >&5 configure:4148: $? = 0 configure:4154: cc -c conftest.c -o conftest2.o >&5 configure:4158: $? = 0 configure:4176: result: yes configure:4206: checking for library containing strerror configure:4237: gcc -o conftest -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c >&5 configure:4237: $? = 0 configure:4254: result: none required configure:4269: checking how to run the C preprocessor configure:4300: gcc -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c configure:4300: $? = 0 configure:4314: gcc -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:4314: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | /* end confdefs.h. */ | #include configure:4339: result: gcc -E configure:4359: gcc -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c configure:4359: $? = 0 configure:4373: gcc -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:4373: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | /* end confdefs.h. */ | #include configure:4402: checking for grep that handles long lines and -e configure:4460: result: /usr/bin/grep configure:4465: checking for egrep configure:4527: result: /usr/bin/grep -E configure:4532: checking for ANSI C header files configure:4552: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4552: $? = 0 configure:4625: gcc -o conftest -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c >&5 configure:4625: $? = 0 configure:4625: ./conftest configure:4625: $? = 0 configure:4636: result: yes configure:4649: checking for sys/types.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for sys/stat.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for stdlib.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for string.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for memory.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for strings.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for inttypes.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for stdint.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4649: checking for unistd.h configure:4649: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4649: $? = 0 configure:4649: result: yes configure:4662: checking minix/config.h usability configure:4662: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 conftest.c:54:26: error: minix/config.h: No such file or directory configure:4662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:4662: result: no configure:4662: checking minix/config.h presence configure:4662: gcc -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c conftest.c:21:26: error: minix/config.h: No such file or directory configure:4662: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 | /* end confdefs.h. */ | #include configure:4662: result: no configure:4662: checking for minix/config.h configure:4662: result: no configure:4683: checking whether it is safe to define __EXTENSIONS__ configure:4701: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:4701: $? = 0 configure:4708: result: yes configure:4780: checking for g++ configure:4796: found /apps/packages/gcc-4.4.4/bin/g++ configure:4807: result: g++ configure:4834: checking for C++ compiler version configure:4843: g++ --version >&5 g++ (GCC) 4.4.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:4854: $? = 0 configure:4843: g++ -v >&5 Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: /home/arcadm/SGI/Software/gcc-4.4.4/gcc-4.4.4/configure --prefix=/apps/packages/gcc-4.4.4 --with-gmp=/apps/packages/gmp-5.0.1 --with-mpfr=/apps/packages/mpfr-3.0.0 Thread model: posix gcc version 4.4.4 (GCC) configure:4854: $? = 0 configure:4843: g++ -V >&5 g++: '-V' option must have argument configure:4854: $? = 1 configure:4843: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:4854: $? = 1 configure:4858: checking whether we are using the GNU C++ compiler configure:4877: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:4877: $? = 0 configure:4886: result: yes configure:4895: checking whether g++ accepts -g configure:4915: g++ -c -g -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:4915: $? = 0 configure:4956: result: yes configure:4981: checking dependency style of g++ configure:5091: result: gcc3 configure:5116: checking for gcc option to accept ISO C99 configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5265: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:76: error: expected ',' or '...' before 'text' conftest.cpp: In function 'int test_restrict(const char*)': conftest.cpp:81: error: 'text' was not declared in this scope conftest.cpp: In function 'int main()': conftest.cpp:130: error: expected initializer before 'newvar' conftest.cpp:138: error: invalid conversion from 'void*' to 'incomplete_array*' conftest.cpp:145: error: expected primary-expression before '.' token conftest.cpp:146: error: expected primary-expression before '.' token conftest.cpp:147: error: expected primary-expression before '.' token conftest.cpp:156: error: 'newvar' was not declared in this scope configure:5265: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include | #include | #include | #include | #include | | // Check varargs macros. These examples are taken from C99 6.10.3.5. | #define debug(...) fprintf (stderr, __VA_ARGS__) | #define showlist(...) puts (#__VA_ARGS__) | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | static void | test_varargs_macros (void) | { | int x = 1234; | int y = 5678; | debug ("Flag"); | debug ("X = %d\n", x); | showlist (The first, second, and third items.); | report (x>y, "x is %d but y is %d", x, y); | } | | // Check long long types. | #define BIG64 18446744073709551615ull | #define BIG32 4294967295ul | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | #if !BIG_OK | your preprocessor is broken; | #endif | #if BIG_OK | #else | your preprocessor is broken; | #endif | static long long int bignum = -9223372036854775807LL; | static unsigned long long int ubignum = BIG64; | | struct incomplete_array | { | int datasize; | double data[]; | }; | | struct named_init { | int number; | const wchar_t *name; | double average; | }; | | typedef const char *ccp; | | static inline int | test_restrict (ccp restrict text) | { | // See if C++-style comments work. | // Iterate through items via the restricted pointer. | // Also check for declarations in for loops. | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | continue; | return 0; | } | | // Check varargs and va_copy. | static void | test_varargs (const char *format, ...) | { | va_list args; | va_start (args, format); | va_list args_copy; | va_copy (args_copy, args); | | const char *str; | int number; | float fnumber; | | while (*format) | { | switch (*format++) | { | case 's': // string | str = va_arg (args_copy, const char *); | break; | case 'd': // int | number = va_arg (args_copy, int); | break; | case 'f': // float | fnumber = va_arg (args_copy, double); | break; | default: | break; | } | } | va_end (args_copy); | va_end (args); | } | | int | main () | { | | // Check bool. | _Bool success = false; | | // Check restrict. | if (test_restrict ("String literal") == 0) | success = true; | char *restrict newvar = "Another string"; | | // Check varargs. | test_varargs ("s, d' f .", "string", 65, 34.234); | test_varargs_macros (); | | // Check flexible array members. | struct incomplete_array *ia = | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | ia->datasize = 10; | for (int i = 0; i < ia->datasize; ++i) | ia->data[i] = i * 1.234; | | // Check named initializers. | struct named_init ni = { | .number = 34, | .name = L"Test wide string", | .average = 543.34343, | }; | | ni.number = 58; | | int dynamic_array[ni.number]; | dynamic_array[ni.number - 1] = 543; | | // work around unused variable warnings | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | || dynamic_array[ni.number - 1] != 543); | | ; | return 0; | } configure:5281: result: unsupported configure:5291: checking for gcc option to accept ISO C89 configure:5368: result: none needed configure:5387: checking for gcc option to accept ISO Standard C configure:5398: result: none needed configure:5411: checking how to run the C++ preprocessor configure:5438: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp configure:5438: $? = 0 configure:5452: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp conftest.cpp:26:28: error: ac_nonexistent.h: No such file or directory configure:5452: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include configure:5477: result: g++ -E configure:5497: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp configure:5497: $? = 0 configure:5511: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp conftest.cpp:26:28: error: ac_nonexistent.h: No such file or directory configure:5511: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | /* end confdefs.h. */ | #include configure:5540: checking for ANSI C header files configure:5644: result: yes configure:5712: checking build system type configure:5726: result: ia64-unknown-linux-gnu configure:5746: checking host system type configure:5759: result: ia64-unknown-linux-gnu configure:5800: checking how to print strings configure:5827: result: printf configure:5848: checking for a sed that does not truncate output configure:5912: result: /usr/bin/sed configure:5930: checking for fgrep configure:5992: result: /usr/bin/grep -F configure:6027: checking for ld used by gcc configure:6094: result: /usr/bin/ld configure:6101: checking if the linker (/usr/bin/ld) is GNU ld configure:6116: result: yes configure:6128: checking for BSD- or MS-compatible name lister (nm) configure:6177: result: /usr/bin/nm -B configure:6307: checking the name lister (/usr/bin/nm -B) interface configure:6314: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:6317: /usr/bin/nm -B "conftest.o" configure:6320: output 0000000000000000 S some_variable configure:6327: result: BSD nm configure:6330: checking whether ln -s works configure:6334: result: yes configure:6342: checking the maximum length of command line arguments configure:6467: result: 98304 configure:6484: checking whether the shell understands some XSI constructs configure:6494: result: yes configure:6498: checking whether the shell understands "+=" configure:6504: result: yes configure:6539: checking how to convert ia64-unknown-linux-gnu file names to ia64-unknown-linux-gnu format configure:6579: result: func_convert_file_noop configure:6586: checking how to convert ia64-unknown-linux-gnu file names to toolchain format configure:6606: result: func_convert_file_noop configure:6613: checking for /usr/bin/ld option to reload object files configure:6620: result: -r configure:6694: checking for objdump configure:6710: found /usr/bin/objdump configure:6721: result: objdump configure:6753: checking how to recognize dependent libraries configure:6955: result: pass_all configure:7040: checking for dlltool configure:7070: result: no configure:7100: checking how to associate runtime and link libraries configure:7127: result: printf %s\n configure:7187: checking for ar configure:7203: found /usr/bin/ar configure:7214: result: ar configure:7251: checking for archiver @FILE support configure:7268: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:7268: $? = 0 configure:7271: ar cru libconftest.a @conftest.lst >&5 configure:7274: $? = 0 configure:7279: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:7282: $? = 1 configure:7294: result: @ configure:7352: checking for strip configure:7368: found /usr/bin/strip configure:7379: result: strip configure:7451: checking for ranlib configure:7467: found /usr/bin/ranlib configure:7478: result: ranlib configure:7580: checking command to parse /usr/bin/nm -B output from gcc object configure:7699: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:7702: $? = 0 configure:7706: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:7709: $? = 0 configure:7775: g++ -o conftest -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.cpp conftstm.o >&5 configure:7778: $? = 0 configure:7816: result: ok configure:7853: checking for sysroot configure:7883: result: no configure:8126: checking for mt configure:8142: found /usr/bin/mt configure:8153: result: mt configure:8176: checking if mt is a manifest tool configure:8182: mt '-?' mt: invalid option -- ? configure:8190: result: no configure:8819: checking for dlfcn.h configure:8819: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:8819: $? = 0 configure:8819: result: yes configure:8986: checking for objdir configure:9001: result: .libs configure:9268: checking if gcc supports -fno-rtti -fno-exceptions configure:9286: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:9290: $? = 0 configure:9303: result: no configure:9613: checking for gcc option to produce PIC configure:9620: result: -fPIC -DPIC configure:9628: checking if gcc PIC flag -fPIC -DPIC works configure:9646: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -fPIC -DPIC -DPIC conftest.c >&5 configure:9650: $? = 0 configure:9663: result: yes configure:9692: checking if gcc static flag -static works configure:9720: result: yes configure:9735: checking if gcc supports -c -o file.o configure:9756: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -o out/conftest2.o conftest.c >&5 configure:9760: $? = 0 configure:9782: result: yes configure:9790: checking if gcc supports -c -o file.o configure:9837: result: yes configure:9870: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:11028: result: yes configure:11065: checking whether -lc should be explicitly linked in configure:11073: gcc -c -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.c >&5 configure:11076: $? = 0 configure:11091: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:11094: $? = 0 configure:11108: result: no configure:11273: checking dynamic linker characteristics configure:11800: gcc -o conftest -g -O2 -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11800: $? = 0 configure:12022: result: GNU/Linux ld.so configure:12129: checking how to hardcode library paths into programs configure:12154: result: immediate configure:12694: checking whether stripping libraries is possible configure:12699: result: yes configure:12734: checking if libtool supports shared libraries configure:12736: result: yes configure:12739: checking whether to build shared libraries configure:12760: result: yes configure:12763: checking whether to build static libraries configure:12767: result: no configure:12790: checking how to run the C++ preprocessor configure:12856: result: g++ -E configure:12876: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp configure:12876: $? = 0 configure:12890: g++ -E -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp conftest.cpp:29:28: error: ac_nonexistent.h: No such file or directory configure:12890: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:13060: checking for ld used by g++ configure:13127: result: /usr/bin/ld configure:13134: checking if the linker (/usr/bin/ld) is GNU ld configure:13149: result: yes configure:13204: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:14208: result: yes configure:14243: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 configure:14246: $? = 0 configure:14766: checking for g++ option to produce PIC configure:14773: result: -fPIC -DPIC configure:14781: checking if g++ PIC flag -fPIC -DPIC works configure:14799: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:14803: $? = 0 configure:14816: result: yes configure:14839: checking if g++ static flag -static works configure:14867: result: yes configure:14879: checking if g++ supports -c -o file.o configure:14900: g++ -c -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -o out/conftest2.o conftest.cpp >&5 configure:14904: $? = 0 configure:14926: result: yes configure:14931: checking if g++ supports -c -o file.o configure:14978: result: yes configure:15008: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:15042: result: yes configure:15185: checking dynamic linker characteristics configure:15868: result: GNU/Linux ld.so configure:15921: checking how to hardcode library paths into programs configure:15946: result: immediate configure:16006: checking target system type configure:16019: result: ia64-unknown-linux-gnu configure:16049: checking whether to enable debug info... configure:16061: result: no configure:16071: checking whether to enable function inlining... configure:16090: result: yes configure:16106: checking whether to enable optimizations... configure:16115: result: yes configure:16122: checking whether to enable symbol visibility manipulation... configure:16131: result: yes configure:16139: checking whether to enable graph filtering... configure:16156: result: yes configure:16163: checking whether to enable parallel algorithms with openmp... configure:16179: result: no configure:16198: checking for main in -lm configure:16217: g++ -o conftest -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.cpp -lm >&5 configure:16217: $? = 0 configure:16226: result: yes configure:16238: checking for main in -lbz2 configure:16257: g++ -o conftest -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.cpp -lbz2 -lm >&5 configure:16257: $? = 0 configure:16266: result: yes configure:16278: checking for main in -lexpat configure:16297: g++ -o conftest -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.cpp -lexpat -lbz2 -lm >&5 configure:16297: $? = 0 configure:16306: result: yes configure:16350: checking for a Python interpreter with version >= 2.5 configure:16367: python -c import sys # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. # map returns an iterator in Python 3.0 and a list in 2.x minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0] minverhex = 0 # xrange is not present in Python 3.0 and range returns an iterator for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex) configure:16370: $? = 0 configure:16376: result: python configure:16384: checking for python configure:16402: found /apps/packages/Python-2.6.6/bin/python configure:16414: result: /apps/packages/Python-2.6.6/bin/python configure:16432: checking for python version configure:16439: result: 2.6 configure:16451: checking for python platform configure:16458: result: linux2 configure:16465: checking for python script directory configure:16494: result: ${prefix}/lib/python2.6/site-packages configure:16503: checking for python extension module directory configure:16532: result: ${exec_prefix}/lib/python2.6/site-packages configure:16553: checking for python2.6 configure:16583: result: /apps/packages/Python-2.6.6/bin/python configure:16599: checking for a version of Python >= '2.1.0' configure:16625: result: yes configure:16633: checking for a version of Python 2.5 configure:16639: result: yes configure:16656: checking for the distutils Python package configure:16660: result: yes configure:16674: checking for Python include path configure:16684: result: -I/apps/packages/Python-2.6.6/include/python2.6 configure:16691: checking for Python library path configure:16713: result: -L/apps/packages/Python-2.6.6/lib/python2.6 -lpython2.6 configure:16720: checking for Python site-packages path configure:16726: result: /apps/packages/Python-2.6.6/lib/python2.6/site-packages configure:16733: checking python extra libraries configure:16740: result: -lpthread -ldl -lutil configure:16747: checking python extra linking flags configure:16754: result: -Xlinker -export-dynamic configure:16761: checking consistency of all components of python development environment configure:16787: gcc -o conftest -g -O2 -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib conftest.c -L/apps/packages/Python-2.6.6/lib/python2.6 -lpython2.6 >&5 configure:16787: $? = 0 configure:16795: result: yes configure:16877: checking for boostlib >= 1.38.0 configure:16931: g++ -c -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/Python-2.6.6/include/python2.6 -I/apps/packages/boost_1_45_0/include conftest.cpp >&5 configure:16931: $? = 0 configure:16933: result: yes configure:17067: checking for python build information configure:17069: result: configure:17076: checking for python2.6 configure:17092: found /apps/packages/Python-2.6.6/bin/python2.6 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17136: g++ -o conftest -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/Python-2.6.6/include/python2.6 -L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib -L/apps/packages/Python-2.6.6/lib/python2.6 -lpython2.6 conftest.cpp -lpython2.6 >&5 configure:17136: $? = 0 configure:17146: result: yes configure:17155: checking python2.6/Python.h usability configure:17155: g++ -c -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:67:30: error: python2.6/Python.h: No such file or directory configure:17155: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USING_OPENMP 0 | #define HAVE_LIBM 1 | #define HAVE_LIBBZ2 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_BOOST /**/ | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:17155: result: no configure:17155: checking python2.6/Python.h presence configure:17155: g++ -E -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp conftest.cpp:34:30: error: python2.6/Python.h: No such file or directory configure:17155: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USING_OPENMP 0 | #define HAVE_LIBM 1 | #define HAVE_LIBBZ2 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_BOOST /**/ | /* end confdefs.h. */ | #include configure:17155: result: no configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python2.5 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python2.4 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python2.3 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python2.2 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python2.1 configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17076: checking for python configure:17103: result: python2.6 configure:17117: checking for main in -lpython2.6 configure:17146: result: yes configure:17155: checking for python2.6/Python.h configure:17155: result: no configure:17180: result: results of the Python check: configure:17182: result: Binary: python2.6 configure:17184: result: Library: python2.6 configure:17186: result: Include Dir: no configure:17198: checking whether the Boost::Python library is available configure:17228: g++ -c -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -I/apps/packages/Python-2.6.6/include/python2.6 conftest.cpp >&5 conftest.cpp:35:36: error: boost/python/module.hpp: No such file or directory conftest.cpp:36: error: 'boost' has not been declared conftest.cpp:36: error: 'python' is not a namespace-name conftest.cpp:36: error: expected namespace-name before ';' token conftest.cpp:37: error: expected constructor, destructor, or type conversion before '(' token configure:17228: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "graph-tool" | #define PACKAGE_TARNAME "graph-tool" | #define PACKAGE_VERSION "2.2.9" | #define PACKAGE_STRING "graph-tool 2.2.9" | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" | #define PACKAGE_URL "" | #define PACKAGE "graph-tool" | #define VERSION "2.2.9" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define STDC_HEADERS 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USING_OPENMP 0 | #define HAVE_LIBM 1 | #define HAVE_LIBBZ2 1 | #define HAVE_LIBEXPAT 1 | #define HAVE_BOOST /**/ | /* end confdefs.h. */ | | #include | using namespace boost::python; | BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; } | int | main () | { | return 0; | ; | return 0; | } configure:17243: result: no configure:17307: error: No usable boost::python found ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_boost_python=no ac_cv_build=ia64-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=set ac_cv_env_CPPFLAGS_value='-I/apps/packages/boost_1_45_0/include -I/apps/packages/cgal-3.6.1/include -I/apps/packages/Python-2.6.6/include/python2.6' 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_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_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_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no ac_cv_header_python2_6_Python_h=no 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=ia64-unknown-linux-gnu ac_cv_lib_bz2_main=yes ac_cv_lib_expat_main=yes ac_cv_lib_m_main=yes ac_cv_lib_python2_6___main=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_PYTHON=/apps/packages/Python-2.6.6/bin/python ac_cv_path_SED=/usr/bin/sed 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_PYTHON_BIN=python2.6 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_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_c99=no ac_cv_prog_cc_g=yes ac_cv_prog_cc_gcc_c_o=yes ac_cv_prog_cc_stdc= ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_strerror='none required' ac_cv_target=ia64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_pathless_PYTHON=python am_cv_python_platform=linux2 am_cv_python_pyexecdir='${exec_prefix}/lib/python2.6/site-packages' am_cv_python_pythondir='${prefix}/lib/python2.6/site-packages' am_cv_python_version=2.6 lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no 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_nm_interface='BSD nm' 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_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' 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_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=98304 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run tar' AM_BACKSLASH='\' AM_DEFAULT_VERBOSITY='0' AR='ar' AUTOCONF='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run autoconf' AUTOHEADER='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run autoheader' AUTOMAKE='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run automake-1.11' AWK='gawk' BOOST_CPPFLAGS='-I/apps/packages/boost_1_45_0/include' BOOST_GRAPH_LIB='' BOOST_IOSTREAMS_LIB='' BOOST_LDFLAGS='-L/apps/packages/boost_1_45_0/lib' BOOST_PYTHON_LIB='' BOOST_REGEX_LIB='' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CGAL_FLAGS='' CGAL_LIBADD='' CPP='gcc -E' CPPFLAGS=' -I/apps/packages/Python-2.6.6/include/python2.6' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS=' -Wall -ftemplate-depth-150 -Wno-deprecated -O99 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FGREP='/usr/bin/grep -F' GRAPH_TOOL_VERSION_MAJOR='2' GRAPH_TOOL_VERSION_MICRO='9' GRAPH_TOOL_VERSION_MINOR='2' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld' LDFLAGS='-L/apps/packages/boost_1_45_0/lib -L/apps/packages/cgal-3.6.1/lib -L/apps/packages/Python-2.6.6/lib/python2.6 -lpython2.6' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/missing --run makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' MOD_CPPFLAGS='' MOD_DIR='' MOD_LDFLAGS='' MOD_LIBADD='' NM='/usr/bin/nm -B' NMEDIT='' NO_INLINE_FALSE='' NO_INLINE_TRUE='#' NO_PREFIX_PACKAGE_DATA_DIR='' NO_PREFIX_PACKAGE_DOC_DIR='' OBJDUMP='objdump' OBJEXT='o' OPENMP_LDFLAGS='' OTOOL64='' OTOOL='' PACKAGE='graph-tool' PACKAGE_BUGREPORT='http://graph-tool.skewed.de' PACKAGE_DATA_DIR='' PACKAGE_DOC_DIR='' PACKAGE_NAME='graph-tool' PACKAGE_STRING='graph-tool 2.2.9' PACKAGE_TARNAME='graph-tool' PACKAGE_URL='' PACKAGE_VERSION='2.2.9' PATH_SEPARATOR=':' PYTHON='/apps/packages/Python-2.6.6/bin/python' PYTHON_BIN='python2.6' PYTHON_CPPFLAGS='-I/apps/packages/Python-2.6.6/include/python2.6' PYTHON_EXEC_PREFIX='${exec_prefix}' PYTHON_EXTRA_LDFLAGS='-Xlinker -export-dynamic' PYTHON_EXTRA_LIBS=' -lpthread -ldl -lutil' PYTHON_INCLUDE_DIR='' PYTHON_LDFLAGS='-L/apps/packages/Python-2.6.6/lib/python2.6 -lpython2.6' PYTHON_LIB='python2.6' PYTHON_PLATFORM='linux2' PYTHON_PREFIX='${prefix}' PYTHON_SITE_PKG='/apps/packages/Python-2.6.6/lib/python2.6/site-packages' PYTHON_VERSION='2.6' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='2.2.9' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc=' -I$(srcdir)' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='ia64-unknown-linux-gnu' build_alias='' build_cpu='ia64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='ia64-unknown-linux-gnu' host_alias='' host_cpu='ia64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/arcadm/SGI/Software/graph-tool/graph-tool-2.2.9/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}' pkgpyexecdir='${pyexecdir}/graph-tool' pkgpythondir='${pythondir}/graph-tool' prefix='/apps/packages/graph-tool' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='${exec_prefix}/lib/python2.6/site-packages' pythondir='${prefix}/lib/python2.6/site-packages' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='ia64-unknown-linux-gnu' target_alias='' target_cpu='ia64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "graph-tool" #define PACKAGE_TARNAME "graph-tool" #define PACKAGE_VERSION "2.2.9" #define PACKAGE_STRING "graph-tool 2.2.9" #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de" #define PACKAGE_URL "" #define PACKAGE "graph-tool" #define VERSION "2.2.9" #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 __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define STDC_HEADERS 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define USING_OPENMP 0 #define HAVE_LIBM 1 #define HAVE_LIBBZ2 1 #define HAVE_LIBEXPAT 1 #define HAVE_BOOST /**/ configure: exit 1