Advertisement
Guest User

graph-tool-config

a guest
Oct 9th, 2017
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.71 KB | None | 0 0
  1. This file contains any messages produced by compilers while
  2. running configure, to aid debugging if configure makes a mistake.
  3.  
  4. It was created by graph-tool configure 2.23dev, which was
  5. generated by GNU Autoconf 2.69. Invocation command line was
  6.  
  7. $ ./configure --enable-openmp PYTHON=/home/bais/anaconda3/bin/python CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = bumblebee
  14. uname -m = x86_64
  15. uname -r = 4.9.0-1-amd64
  16. uname -s = Linux
  17. uname -v = #1 SMP Debian 4.9.2-2 (2017-01-12)
  18.  
  19. /usr/bin/uname -p = unknown
  20. /bin/uname -X = unknown
  21.  
  22. /bin/arch = unknown
  23. /usr/bin/arch -k = unknown
  24. /usr/convex/getsysinfo = unknown
  25. /usr/bin/hostinfo = unknown
  26. /bin/machine = unknown
  27. /usr/bin/oslevel = unknown
  28. /bin/universe = unknown
  29.  
  30. PATH: /home/bais/anaconda3/bin
  31. PATH: /home/bais/git/tmuxifier/bin
  32. PATH: /home/bais/git/mlr/tools/gdb-addons
  33. PATH: /home/lib/bin
  34. PATH: /home/bais/git/mlr/share/bin
  35. PATH: /home/bais/bin_extern
  36. PATH: /home/bais/bin
  37. PATH: /usr/local/bin
  38. PATH: /usr/bin
  39. PATH: /bin
  40. PATH: /usr/local/games
  41. PATH: /usr/games
  42. PATH: /usr/jvm/java-7-openjdk/bin
  43. PATH: /home/bais/.cabal/bin
  44. PATH: /opt/cabal/1.22/bin
  45. PATH: /opt/ghc/7.10.3/bin
  46.  
  47.  
  48. ## ----------- ##
  49. ## Core tests. ##
  50. ## ----------- ##
  51.  
  52. configure:2716: checking build system type
  53. configure:2730: result: x86_64-pc-linux-gnu
  54. configure:2750: checking host system type
  55. configure:2763: result: x86_64-pc-linux-gnu
  56. configure:2783: checking target system type
  57. configure:2796: result: x86_64-pc-linux-gnu
  58. configure:2838: checking for a BSD-compatible install
  59. configure:2906: result: /usr/bin/install -c
  60. configure:2917: checking whether build environment is sane
  61. configure:2972: result: yes
  62. configure:3123: checking for a thread-safe mkdir -p
  63. configure:3162: result: /bin/mkdir -p
  64. configure:3169: checking for gawk
  65. configure:3185: found /usr/bin/gawk
  66. configure:3196: result: gawk
  67. configure:3207: checking whether make sets $(MAKE)
  68. configure:3229: result: yes
  69. configure:3258: checking whether make supports nested variables
  70. configure:3275: result: yes
  71. configure:3412: checking whether make supports nested variables
  72. configure:3429: result: yes
  73. configure:3452: checking for style of include used by make
  74. configure:3480: result: GNU
  75. configure:3551: checking for gcc
  76. configure:3567: found /usr/bin/gcc
  77. configure:3578: result: gcc
  78. configure:3807: checking for C compiler version
  79. configure:3816: gcc --version >&5
  80. gcc (Debian 6.3.0-18) 6.3.0 20170516
  81. Copyright (C) 2016 Free Software Foundation, Inc.
  82. This is free software; see the source for copying conditions. There is NO
  83. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  84.  
  85. configure:3827: $? = 0
  86. configure:3816: gcc -v >&5
  87. Using built-in specs.
  88. COLLECT_GCC=gcc
  89. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
  90. Target: x86_64-linux-gnu
  91. Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  92. Thread model: posix
  93. gcc version 6.3.0 20170516 (Debian 6.3.0-18)
  94. configure:3827: $? = 0
  95. configure:3816: gcc -V >&5
  96. gcc: error: unrecognized command line option '-V'
  97. gcc: fatal error: no input files
  98. compilation terminated.
  99. configure:3827: $? = 1
  100. configure:3816: gcc -qversion >&5
  101. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  102. gcc: fatal error: no input files
  103. compilation terminated.
  104. configure:3827: $? = 1
  105. configure:3847: checking whether the C compiler works
  106. configure:3869: gcc -I/usr/local/include -L/usr/local/lib conftest.c >&5
  107. configure:3873: $? = 0
  108. configure:3921: result: yes
  109. configure:3924: checking for C compiler default output file name
  110. configure:3926: result: a.out
  111. configure:3932: checking for suffix of executables
  112. configure:3939: gcc -o conftest -I/usr/local/include -L/usr/local/lib conftest.c >&5
  113. configure:3943: $? = 0
  114. configure:3965: result:
  115. configure:3987: checking whether we are cross compiling
  116. configure:3995: gcc -o conftest -I/usr/local/include -L/usr/local/lib conftest.c >&5
  117. configure:3999: $? = 0
  118. configure:4006: ./conftest
  119. configure:4010: $? = 0
  120. configure:4025: result: no
  121. configure:4030: checking for suffix of object files
  122. configure:4052: gcc -c -I/usr/local/include conftest.c >&5
  123. configure:4056: $? = 0
  124. configure:4077: result: o
  125. configure:4081: checking whether we are using the GNU C compiler
  126. configure:4100: gcc -c -I/usr/local/include conftest.c >&5
  127. configure:4100: $? = 0
  128. configure:4109: result: yes
  129. configure:4118: checking whether gcc accepts -g
  130. configure:4138: gcc -c -g -I/usr/local/include conftest.c >&5
  131. configure:4138: $? = 0
  132. configure:4179: result: yes
  133. configure:4196: checking for gcc option to accept ISO C89
  134. configure:4259: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  135. configure:4259: $? = 0
  136. configure:4272: result: none needed
  137. configure:4297: checking whether gcc understands -c and -o together
  138. configure:4319: gcc -c conftest.c -o conftest2.o
  139. configure:4322: $? = 0
  140. configure:4319: gcc -c conftest.c -o conftest2.o
  141. configure:4322: $? = 0
  142. configure:4334: result: yes
  143. configure:4353: checking dependency style of gcc
  144. configure:4464: result: gcc3
  145. configure:4484: checking for library containing strerror
  146. configure:4515: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c >&5
  147. configure:4515: $? = 0
  148. configure:4532: result: none required
  149. configure:4547: checking how to run the C preprocessor
  150. configure:4578: gcc -E -I/usr/local/include conftest.c
  151. configure:4578: $? = 0
  152. configure:4592: gcc -E -I/usr/local/include conftest.c
  153. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  154. #include <ac_nonexistent.h>
  155. ^
  156. compilation terminated.
  157. configure:4592: $? = 1
  158. configure: failed program was:
  159. | /* confdefs.h */
  160. | #define PACKAGE_NAME "graph-tool"
  161. | #define PACKAGE_TARNAME "graph-tool"
  162. | #define PACKAGE_VERSION "2.23dev"
  163. | #define PACKAGE_STRING "graph-tool 2.23dev"
  164. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  165. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  166. | #define PACKAGE "graph-tool"
  167. | #define VERSION "2.23dev"
  168. | /* end confdefs.h. */
  169. | #include <ac_nonexistent.h>
  170. configure:4617: result: gcc -E
  171. configure:4637: gcc -E -I/usr/local/include conftest.c
  172. configure:4637: $? = 0
  173. configure:4651: gcc -E -I/usr/local/include conftest.c
  174. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  175. #include <ac_nonexistent.h>
  176. ^
  177. compilation terminated.
  178. configure:4651: $? = 1
  179. configure: failed program was:
  180. | /* confdefs.h */
  181. | #define PACKAGE_NAME "graph-tool"
  182. | #define PACKAGE_TARNAME "graph-tool"
  183. | #define PACKAGE_VERSION "2.23dev"
  184. | #define PACKAGE_STRING "graph-tool 2.23dev"
  185. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  186. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  187. | #define PACKAGE "graph-tool"
  188. | #define VERSION "2.23dev"
  189. | /* end confdefs.h. */
  190. | #include <ac_nonexistent.h>
  191. configure:4680: checking for grep that handles long lines and -e
  192. configure:4738: result: /bin/grep
  193. configure:4743: checking for egrep
  194. configure:4805: result: /bin/grep -E
  195. configure:4810: checking for ANSI C header files
  196. configure:4830: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  197. configure:4830: $? = 0
  198. configure:4903: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib conftest.c >&5
  199. configure:4903: $? = 0
  200. configure:4903: ./conftest
  201. configure:4903: $? = 0
  202. configure:4914: result: yes
  203. configure:4927: checking for sys/types.h
  204. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  205. configure:4927: $? = 0
  206. configure:4927: result: yes
  207. configure:4927: checking for sys/stat.h
  208. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  209. configure:4927: $? = 0
  210. configure:4927: result: yes
  211. configure:4927: checking for stdlib.h
  212. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  213. configure:4927: $? = 0
  214. configure:4927: result: yes
  215. configure:4927: checking for string.h
  216. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  217. configure:4927: $? = 0
  218. configure:4927: result: yes
  219. configure:4927: checking for memory.h
  220. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  221. configure:4927: $? = 0
  222. configure:4927: result: yes
  223. configure:4927: checking for strings.h
  224. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  225. configure:4927: $? = 0
  226. configure:4927: result: yes
  227. configure:4927: checking for inttypes.h
  228. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  229. configure:4927: $? = 0
  230. configure:4927: result: yes
  231. configure:4927: checking for stdint.h
  232. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  233. configure:4927: $? = 0
  234. configure:4927: result: yes
  235. configure:4927: checking for unistd.h
  236. configure:4927: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  237. configure:4927: $? = 0
  238. configure:4927: result: yes
  239. configure:4940: checking minix/config.h usability
  240. configure:4940: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  241. conftest.c:54:26: fatal error: minix/config.h: No such file or directory
  242. #include <minix/config.h>
  243. ^
  244. compilation terminated.
  245. configure:4940: $? = 1
  246. configure: failed program was:
  247. | /* confdefs.h */
  248. | #define PACKAGE_NAME "graph-tool"
  249. | #define PACKAGE_TARNAME "graph-tool"
  250. | #define PACKAGE_VERSION "2.23dev"
  251. | #define PACKAGE_STRING "graph-tool 2.23dev"
  252. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  253. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  254. | #define PACKAGE "graph-tool"
  255. | #define VERSION "2.23dev"
  256. | #define STDC_HEADERS 1
  257. | #define HAVE_SYS_TYPES_H 1
  258. | #define HAVE_SYS_STAT_H 1
  259. | #define HAVE_STDLIB_H 1
  260. | #define HAVE_STRING_H 1
  261. | #define HAVE_MEMORY_H 1
  262. | #define HAVE_STRINGS_H 1
  263. | #define HAVE_INTTYPES_H 1
  264. | #define HAVE_STDINT_H 1
  265. | #define HAVE_UNISTD_H 1
  266. | /* end confdefs.h. */
  267. | #include <stdio.h>
  268. | #ifdef HAVE_SYS_TYPES_H
  269. | # include <sys/types.h>
  270. | #endif
  271. | #ifdef HAVE_SYS_STAT_H
  272. | # include <sys/stat.h>
  273. | #endif
  274. | #ifdef STDC_HEADERS
  275. | # include <stdlib.h>
  276. | # include <stddef.h>
  277. | #else
  278. | # ifdef HAVE_STDLIB_H
  279. | # include <stdlib.h>
  280. | # endif
  281. | #endif
  282. | #ifdef HAVE_STRING_H
  283. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  284. | # include <memory.h>
  285. | # endif
  286. | # include <string.h>
  287. | #endif
  288. | #ifdef HAVE_STRINGS_H
  289. | # include <strings.h>
  290. | #endif
  291. | #ifdef HAVE_INTTYPES_H
  292. | # include <inttypes.h>
  293. | #endif
  294. | #ifdef HAVE_STDINT_H
  295. | # include <stdint.h>
  296. | #endif
  297. | #ifdef HAVE_UNISTD_H
  298. | # include <unistd.h>
  299. | #endif
  300. | #include <minix/config.h>
  301. configure:4940: result: no
  302. configure:4940: checking minix/config.h presence
  303. configure:4940: gcc -E -I/usr/local/include conftest.c
  304. conftest.c:21:26: fatal error: minix/config.h: No such file or directory
  305. #include <minix/config.h>
  306. ^
  307. compilation terminated.
  308. configure:4940: $? = 1
  309. configure: failed program was:
  310. | /* confdefs.h */
  311. | #define PACKAGE_NAME "graph-tool"
  312. | #define PACKAGE_TARNAME "graph-tool"
  313. | #define PACKAGE_VERSION "2.23dev"
  314. | #define PACKAGE_STRING "graph-tool 2.23dev"
  315. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  316. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  317. | #define PACKAGE "graph-tool"
  318. | #define VERSION "2.23dev"
  319. | #define STDC_HEADERS 1
  320. | #define HAVE_SYS_TYPES_H 1
  321. | #define HAVE_SYS_STAT_H 1
  322. | #define HAVE_STDLIB_H 1
  323. | #define HAVE_STRING_H 1
  324. | #define HAVE_MEMORY_H 1
  325. | #define HAVE_STRINGS_H 1
  326. | #define HAVE_INTTYPES_H 1
  327. | #define HAVE_STDINT_H 1
  328. | #define HAVE_UNISTD_H 1
  329. | /* end confdefs.h. */
  330. | #include <minix/config.h>
  331. configure:4940: result: no
  332. configure:4940: checking for minix/config.h
  333. configure:4940: result: no
  334. configure:4961: checking whether it is safe to define __EXTENSIONS__
  335. configure:4979: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  336. configure:4979: $? = 0
  337. configure:4986: result: yes
  338. configure:5058: checking for g++
  339. configure:5074: found /usr/bin/g++
  340. configure:5085: result: g++
  341. configure:5112: checking for C++ compiler version
  342. configure:5121: g++ --version >&5
  343. g++ (Debian 6.3.0-18) 6.3.0 20170516
  344. Copyright (C) 2016 Free Software Foundation, Inc.
  345. This is free software; see the source for copying conditions. There is NO
  346. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  347.  
  348. configure:5132: $? = 0
  349. configure:5121: g++ -v >&5
  350. Using built-in specs.
  351. COLLECT_GCC=g++
  352. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
  353. Target: x86_64-linux-gnu
  354. Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  355. Thread model: posix
  356. gcc version 6.3.0 20170516 (Debian 6.3.0-18)
  357. configure:5132: $? = 0
  358. configure:5121: g++ -V >&5
  359. g++: error: unrecognized command line option '-V'
  360. g++: fatal error: no input files
  361. compilation terminated.
  362. configure:5132: $? = 1
  363. configure:5121: g++ -qversion >&5
  364. g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
  365. g++: fatal error: no input files
  366. compilation terminated.
  367. configure:5132: $? = 1
  368. configure:5136: checking whether we are using the GNU C++ compiler
  369. configure:5155: g++ -c -I/usr/local/include conftest.cpp >&5
  370. configure:5155: $? = 0
  371. configure:5164: result: yes
  372. configure:5173: checking whether g++ accepts -g
  373. configure:5193: g++ -c -g -I/usr/local/include conftest.cpp >&5
  374. configure:5193: $? = 0
  375. configure:5234: result: yes
  376. configure:5259: checking dependency style of g++
  377. configure:5370: result: gcc3
  378. configure:5395: checking for gcc option to accept ISO C99
  379. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  380. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  381. test_restrict (ccp restrict text)
  382. ^~~~
  383. conftest.cpp: In function 'int test_restrict(ccp)':
  384. conftest.cpp:81:30: error: 'text' was not declared in this scope
  385. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  386. ^~~~
  387. conftest.cpp: In function 'int main()':
  388. conftest.cpp:130:18: error: expected initializer before 'newvar'
  389. char *restrict newvar = "Another string";
  390. ^~~~~~
  391. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  392. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  393. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  394. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  395. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  396. ^~~~~~
  397. configure:5544: $? = 1
  398. configure: failed program was:
  399. | /* confdefs.h */
  400. | #define PACKAGE_NAME "graph-tool"
  401. | #define PACKAGE_TARNAME "graph-tool"
  402. | #define PACKAGE_VERSION "2.23dev"
  403. | #define PACKAGE_STRING "graph-tool 2.23dev"
  404. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  405. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  406. | #define PACKAGE "graph-tool"
  407. | #define VERSION "2.23dev"
  408. | #define STDC_HEADERS 1
  409. | #define HAVE_SYS_TYPES_H 1
  410. | #define HAVE_SYS_STAT_H 1
  411. | #define HAVE_STDLIB_H 1
  412. | #define HAVE_STRING_H 1
  413. | #define HAVE_MEMORY_H 1
  414. | #define HAVE_STRINGS_H 1
  415. | #define HAVE_INTTYPES_H 1
  416. | #define HAVE_STDINT_H 1
  417. | #define HAVE_UNISTD_H 1
  418. | #define __EXTENSIONS__ 1
  419. | #define _ALL_SOURCE 1
  420. | #define _GNU_SOURCE 1
  421. | #define _POSIX_PTHREAD_SEMANTICS 1
  422. | #define _TANDEM_SOURCE 1
  423. | /* end confdefs.h. */
  424. | #include <stdarg.h>
  425. | #include <stdbool.h>
  426. | #include <stdlib.h>
  427. | #include <wchar.h>
  428. | #include <stdio.h>
  429. |
  430. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  431. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  432. | #define showlist(...) puts (#__VA_ARGS__)
  433. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  434. | static void
  435. | test_varargs_macros (void)
  436. | {
  437. | int x = 1234;
  438. | int y = 5678;
  439. | debug ("Flag");
  440. | debug ("X = %d\n", x);
  441. | showlist (The first, second, and third items.);
  442. | report (x>y, "x is %d but y is %d", x, y);
  443. | }
  444. |
  445. | // Check long long types.
  446. | #define BIG64 18446744073709551615ull
  447. | #define BIG32 4294967295ul
  448. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  449. | #if !BIG_OK
  450. | your preprocessor is broken;
  451. | #endif
  452. | #if BIG_OK
  453. | #else
  454. | your preprocessor is broken;
  455. | #endif
  456. | static long long int bignum = -9223372036854775807LL;
  457. | static unsigned long long int ubignum = BIG64;
  458. |
  459. | struct incomplete_array
  460. | {
  461. | int datasize;
  462. | double data[];
  463. | };
  464. |
  465. | struct named_init {
  466. | int number;
  467. | const wchar_t *name;
  468. | double average;
  469. | };
  470. |
  471. | typedef const char *ccp;
  472. |
  473. | static inline int
  474. | test_restrict (ccp restrict text)
  475. | {
  476. | // See if C++-style comments work.
  477. | // Iterate through items via the restricted pointer.
  478. | // Also check for declarations in for loops.
  479. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  480. | continue;
  481. | return 0;
  482. | }
  483. |
  484. | // Check varargs and va_copy.
  485. | static void
  486. | test_varargs (const char *format, ...)
  487. | {
  488. | va_list args;
  489. | va_start (args, format);
  490. | va_list args_copy;
  491. | va_copy (args_copy, args);
  492. |
  493. | const char *str;
  494. | int number;
  495. | float fnumber;
  496. |
  497. | while (*format)
  498. | {
  499. | switch (*format++)
  500. | {
  501. | case 's': // string
  502. | str = va_arg (args_copy, const char *);
  503. | break;
  504. | case 'd': // int
  505. | number = va_arg (args_copy, int);
  506. | break;
  507. | case 'f': // float
  508. | fnumber = va_arg (args_copy, double);
  509. | break;
  510. | default:
  511. | break;
  512. | }
  513. | }
  514. | va_end (args_copy);
  515. | va_end (args);
  516. | }
  517. |
  518. | int
  519. | main ()
  520. | {
  521. |
  522. | // Check bool.
  523. | _Bool success = false;
  524. |
  525. | // Check restrict.
  526. | if (test_restrict ("String literal") == 0)
  527. | success = true;
  528. | char *restrict newvar = "Another string";
  529. |
  530. | // Check varargs.
  531. | test_varargs ("s, d' f .", "string", 65, 34.234);
  532. | test_varargs_macros ();
  533. |
  534. | // Check flexible array members.
  535. | struct incomplete_array *ia =
  536. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  537. | ia->datasize = 10;
  538. | for (int i = 0; i < ia->datasize; ++i)
  539. | ia->data[i] = i * 1.234;
  540. |
  541. | // Check named initializers.
  542. | struct named_init ni = {
  543. | .number = 34,
  544. | .name = L"Test wide string",
  545. | .average = 543.34343,
  546. | };
  547. |
  548. | ni.number = 58;
  549. |
  550. | int dynamic_array[ni.number];
  551. | dynamic_array[ni.number - 1] = 543;
  552. |
  553. | // work around unused variable warnings
  554. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  555. | || dynamic_array[ni.number - 1] != 543);
  556. |
  557. | ;
  558. | return 0;
  559. | }
  560. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  561. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  562. test_restrict (ccp restrict text)
  563. ^~~~
  564. conftest.cpp: In function 'int test_restrict(ccp)':
  565. conftest.cpp:81:30: error: 'text' was not declared in this scope
  566. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  567. ^~~~
  568. conftest.cpp: In function 'int main()':
  569. conftest.cpp:130:18: error: expected initializer before 'newvar'
  570. char *restrict newvar = "Another string";
  571. ^~~~~~
  572. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  573. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  574. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  575. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  576. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  577. ^~~~~~
  578. configure:5544: $? = 1
  579. configure: failed program was:
  580. | /* confdefs.h */
  581. | #define PACKAGE_NAME "graph-tool"
  582. | #define PACKAGE_TARNAME "graph-tool"
  583. | #define PACKAGE_VERSION "2.23dev"
  584. | #define PACKAGE_STRING "graph-tool 2.23dev"
  585. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  586. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  587. | #define PACKAGE "graph-tool"
  588. | #define VERSION "2.23dev"
  589. | #define STDC_HEADERS 1
  590. | #define HAVE_SYS_TYPES_H 1
  591. | #define HAVE_SYS_STAT_H 1
  592. | #define HAVE_STDLIB_H 1
  593. | #define HAVE_STRING_H 1
  594. | #define HAVE_MEMORY_H 1
  595. | #define HAVE_STRINGS_H 1
  596. | #define HAVE_INTTYPES_H 1
  597. | #define HAVE_STDINT_H 1
  598. | #define HAVE_UNISTD_H 1
  599. | #define __EXTENSIONS__ 1
  600. | #define _ALL_SOURCE 1
  601. | #define _GNU_SOURCE 1
  602. | #define _POSIX_PTHREAD_SEMANTICS 1
  603. | #define _TANDEM_SOURCE 1
  604. | /* end confdefs.h. */
  605. | #include <stdarg.h>
  606. | #include <stdbool.h>
  607. | #include <stdlib.h>
  608. | #include <wchar.h>
  609. | #include <stdio.h>
  610. |
  611. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  612. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  613. | #define showlist(...) puts (#__VA_ARGS__)
  614. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  615. | static void
  616. | test_varargs_macros (void)
  617. | {
  618. | int x = 1234;
  619. | int y = 5678;
  620. | debug ("Flag");
  621. | debug ("X = %d\n", x);
  622. | showlist (The first, second, and third items.);
  623. | report (x>y, "x is %d but y is %d", x, y);
  624. | }
  625. |
  626. | // Check long long types.
  627. | #define BIG64 18446744073709551615ull
  628. | #define BIG32 4294967295ul
  629. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  630. | #if !BIG_OK
  631. | your preprocessor is broken;
  632. | #endif
  633. | #if BIG_OK
  634. | #else
  635. | your preprocessor is broken;
  636. | #endif
  637. | static long long int bignum = -9223372036854775807LL;
  638. | static unsigned long long int ubignum = BIG64;
  639. |
  640. | struct incomplete_array
  641. | {
  642. | int datasize;
  643. | double data[];
  644. | };
  645. |
  646. | struct named_init {
  647. | int number;
  648. | const wchar_t *name;
  649. | double average;
  650. | };
  651. |
  652. | typedef const char *ccp;
  653. |
  654. | static inline int
  655. | test_restrict (ccp restrict text)
  656. | {
  657. | // See if C++-style comments work.
  658. | // Iterate through items via the restricted pointer.
  659. | // Also check for declarations in for loops.
  660. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  661. | continue;
  662. | return 0;
  663. | }
  664. |
  665. | // Check varargs and va_copy.
  666. | static void
  667. | test_varargs (const char *format, ...)
  668. | {
  669. | va_list args;
  670. | va_start (args, format);
  671. | va_list args_copy;
  672. | va_copy (args_copy, args);
  673. |
  674. | const char *str;
  675. | int number;
  676. | float fnumber;
  677. |
  678. | while (*format)
  679. | {
  680. | switch (*format++)
  681. | {
  682. | case 's': // string
  683. | str = va_arg (args_copy, const char *);
  684. | break;
  685. | case 'd': // int
  686. | number = va_arg (args_copy, int);
  687. | break;
  688. | case 'f': // float
  689. | fnumber = va_arg (args_copy, double);
  690. | break;
  691. | default:
  692. | break;
  693. | }
  694. | }
  695. | va_end (args_copy);
  696. | va_end (args);
  697. | }
  698. |
  699. | int
  700. | main ()
  701. | {
  702. |
  703. | // Check bool.
  704. | _Bool success = false;
  705. |
  706. | // Check restrict.
  707. | if (test_restrict ("String literal") == 0)
  708. | success = true;
  709. | char *restrict newvar = "Another string";
  710. |
  711. | // Check varargs.
  712. | test_varargs ("s, d' f .", "string", 65, 34.234);
  713. | test_varargs_macros ();
  714. |
  715. | // Check flexible array members.
  716. | struct incomplete_array *ia =
  717. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  718. | ia->datasize = 10;
  719. | for (int i = 0; i < ia->datasize; ++i)
  720. | ia->data[i] = i * 1.234;
  721. |
  722. | // Check named initializers.
  723. | struct named_init ni = {
  724. | .number = 34,
  725. | .name = L"Test wide string",
  726. | .average = 543.34343,
  727. | };
  728. |
  729. | ni.number = 58;
  730. |
  731. | int dynamic_array[ni.number];
  732. | dynamic_array[ni.number - 1] = 543;
  733. |
  734. | // work around unused variable warnings
  735. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  736. | || dynamic_array[ni.number - 1] != 543);
  737. |
  738. | ;
  739. | return 0;
  740. | }
  741. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  742. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  743. test_restrict (ccp restrict text)
  744. ^~~~
  745. conftest.cpp: In function 'int test_restrict(ccp)':
  746. conftest.cpp:81:30: error: 'text' was not declared in this scope
  747. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  748. ^~~~
  749. conftest.cpp: In function 'int main()':
  750. conftest.cpp:130:18: error: expected initializer before 'newvar'
  751. char *restrict newvar = "Another string";
  752. ^~~~~~
  753. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  754. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  755. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  756. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  757. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  758. ^~~~~~
  759. configure:5544: $? = 1
  760. configure: failed program was:
  761. | /* confdefs.h */
  762. | #define PACKAGE_NAME "graph-tool"
  763. | #define PACKAGE_TARNAME "graph-tool"
  764. | #define PACKAGE_VERSION "2.23dev"
  765. | #define PACKAGE_STRING "graph-tool 2.23dev"
  766. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  767. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  768. | #define PACKAGE "graph-tool"
  769. | #define VERSION "2.23dev"
  770. | #define STDC_HEADERS 1
  771. | #define HAVE_SYS_TYPES_H 1
  772. | #define HAVE_SYS_STAT_H 1
  773. | #define HAVE_STDLIB_H 1
  774. | #define HAVE_STRING_H 1
  775. | #define HAVE_MEMORY_H 1
  776. | #define HAVE_STRINGS_H 1
  777. | #define HAVE_INTTYPES_H 1
  778. | #define HAVE_STDINT_H 1
  779. | #define HAVE_UNISTD_H 1
  780. | #define __EXTENSIONS__ 1
  781. | #define _ALL_SOURCE 1
  782. | #define _GNU_SOURCE 1
  783. | #define _POSIX_PTHREAD_SEMANTICS 1
  784. | #define _TANDEM_SOURCE 1
  785. | /* end confdefs.h. */
  786. | #include <stdarg.h>
  787. | #include <stdbool.h>
  788. | #include <stdlib.h>
  789. | #include <wchar.h>
  790. | #include <stdio.h>
  791. |
  792. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  793. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  794. | #define showlist(...) puts (#__VA_ARGS__)
  795. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  796. | static void
  797. | test_varargs_macros (void)
  798. | {
  799. | int x = 1234;
  800. | int y = 5678;
  801. | debug ("Flag");
  802. | debug ("X = %d\n", x);
  803. | showlist (The first, second, and third items.);
  804. | report (x>y, "x is %d but y is %d", x, y);
  805. | }
  806. |
  807. | // Check long long types.
  808. | #define BIG64 18446744073709551615ull
  809. | #define BIG32 4294967295ul
  810. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  811. | #if !BIG_OK
  812. | your preprocessor is broken;
  813. | #endif
  814. | #if BIG_OK
  815. | #else
  816. | your preprocessor is broken;
  817. | #endif
  818. | static long long int bignum = -9223372036854775807LL;
  819. | static unsigned long long int ubignum = BIG64;
  820. |
  821. | struct incomplete_array
  822. | {
  823. | int datasize;
  824. | double data[];
  825. | };
  826. |
  827. | struct named_init {
  828. | int number;
  829. | const wchar_t *name;
  830. | double average;
  831. | };
  832. |
  833. | typedef const char *ccp;
  834. |
  835. | static inline int
  836. | test_restrict (ccp restrict text)
  837. | {
  838. | // See if C++-style comments work.
  839. | // Iterate through items via the restricted pointer.
  840. | // Also check for declarations in for loops.
  841. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  842. | continue;
  843. | return 0;
  844. | }
  845. |
  846. | // Check varargs and va_copy.
  847. | static void
  848. | test_varargs (const char *format, ...)
  849. | {
  850. | va_list args;
  851. | va_start (args, format);
  852. | va_list args_copy;
  853. | va_copy (args_copy, args);
  854. |
  855. | const char *str;
  856. | int number;
  857. | float fnumber;
  858. |
  859. | while (*format)
  860. | {
  861. | switch (*format++)
  862. | {
  863. | case 's': // string
  864. | str = va_arg (args_copy, const char *);
  865. | break;
  866. | case 'd': // int
  867. | number = va_arg (args_copy, int);
  868. | break;
  869. | case 'f': // float
  870. | fnumber = va_arg (args_copy, double);
  871. | break;
  872. | default:
  873. | break;
  874. | }
  875. | }
  876. | va_end (args_copy);
  877. | va_end (args);
  878. | }
  879. |
  880. | int
  881. | main ()
  882. | {
  883. |
  884. | // Check bool.
  885. | _Bool success = false;
  886. |
  887. | // Check restrict.
  888. | if (test_restrict ("String literal") == 0)
  889. | success = true;
  890. | char *restrict newvar = "Another string";
  891. |
  892. | // Check varargs.
  893. | test_varargs ("s, d' f .", "string", 65, 34.234);
  894. | test_varargs_macros ();
  895. |
  896. | // Check flexible array members.
  897. | struct incomplete_array *ia =
  898. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  899. | ia->datasize = 10;
  900. | for (int i = 0; i < ia->datasize; ++i)
  901. | ia->data[i] = i * 1.234;
  902. |
  903. | // Check named initializers.
  904. | struct named_init ni = {
  905. | .number = 34,
  906. | .name = L"Test wide string",
  907. | .average = 543.34343,
  908. | };
  909. |
  910. | ni.number = 58;
  911. |
  912. | int dynamic_array[ni.number];
  913. | dynamic_array[ni.number - 1] = 543;
  914. |
  915. | // work around unused variable warnings
  916. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  917. | || dynamic_array[ni.number - 1] != 543);
  918. |
  919. | ;
  920. | return 0;
  921. | }
  922. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  923. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  924. test_restrict (ccp restrict text)
  925. ^~~~
  926. conftest.cpp: In function 'int test_restrict(ccp)':
  927. conftest.cpp:81:30: error: 'text' was not declared in this scope
  928. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  929. ^~~~
  930. conftest.cpp: In function 'int main()':
  931. conftest.cpp:130:18: error: expected initializer before 'newvar'
  932. char *restrict newvar = "Another string";
  933. ^~~~~~
  934. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  935. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  936. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  937. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  938. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  939. ^~~~~~
  940. configure:5544: $? = 1
  941. configure: failed program was:
  942. | /* confdefs.h */
  943. | #define PACKAGE_NAME "graph-tool"
  944. | #define PACKAGE_TARNAME "graph-tool"
  945. | #define PACKAGE_VERSION "2.23dev"
  946. | #define PACKAGE_STRING "graph-tool 2.23dev"
  947. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  948. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  949. | #define PACKAGE "graph-tool"
  950. | #define VERSION "2.23dev"
  951. | #define STDC_HEADERS 1
  952. | #define HAVE_SYS_TYPES_H 1
  953. | #define HAVE_SYS_STAT_H 1
  954. | #define HAVE_STDLIB_H 1
  955. | #define HAVE_STRING_H 1
  956. | #define HAVE_MEMORY_H 1
  957. | #define HAVE_STRINGS_H 1
  958. | #define HAVE_INTTYPES_H 1
  959. | #define HAVE_STDINT_H 1
  960. | #define HAVE_UNISTD_H 1
  961. | #define __EXTENSIONS__ 1
  962. | #define _ALL_SOURCE 1
  963. | #define _GNU_SOURCE 1
  964. | #define _POSIX_PTHREAD_SEMANTICS 1
  965. | #define _TANDEM_SOURCE 1
  966. | /* end confdefs.h. */
  967. | #include <stdarg.h>
  968. | #include <stdbool.h>
  969. | #include <stdlib.h>
  970. | #include <wchar.h>
  971. | #include <stdio.h>
  972. |
  973. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  974. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  975. | #define showlist(...) puts (#__VA_ARGS__)
  976. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  977. | static void
  978. | test_varargs_macros (void)
  979. | {
  980. | int x = 1234;
  981. | int y = 5678;
  982. | debug ("Flag");
  983. | debug ("X = %d\n", x);
  984. | showlist (The first, second, and third items.);
  985. | report (x>y, "x is %d but y is %d", x, y);
  986. | }
  987. |
  988. | // Check long long types.
  989. | #define BIG64 18446744073709551615ull
  990. | #define BIG32 4294967295ul
  991. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  992. | #if !BIG_OK
  993. | your preprocessor is broken;
  994. | #endif
  995. | #if BIG_OK
  996. | #else
  997. | your preprocessor is broken;
  998. | #endif
  999. | static long long int bignum = -9223372036854775807LL;
  1000. | static unsigned long long int ubignum = BIG64;
  1001. |
  1002. | struct incomplete_array
  1003. | {
  1004. | int datasize;
  1005. | double data[];
  1006. | };
  1007. |
  1008. | struct named_init {
  1009. | int number;
  1010. | const wchar_t *name;
  1011. | double average;
  1012. | };
  1013. |
  1014. | typedef const char *ccp;
  1015. |
  1016. | static inline int
  1017. | test_restrict (ccp restrict text)
  1018. | {
  1019. | // See if C++-style comments work.
  1020. | // Iterate through items via the restricted pointer.
  1021. | // Also check for declarations in for loops.
  1022. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1023. | continue;
  1024. | return 0;
  1025. | }
  1026. |
  1027. | // Check varargs and va_copy.
  1028. | static void
  1029. | test_varargs (const char *format, ...)
  1030. | {
  1031. | va_list args;
  1032. | va_start (args, format);
  1033. | va_list args_copy;
  1034. | va_copy (args_copy, args);
  1035. |
  1036. | const char *str;
  1037. | int number;
  1038. | float fnumber;
  1039. |
  1040. | while (*format)
  1041. | {
  1042. | switch (*format++)
  1043. | {
  1044. | case 's': // string
  1045. | str = va_arg (args_copy, const char *);
  1046. | break;
  1047. | case 'd': // int
  1048. | number = va_arg (args_copy, int);
  1049. | break;
  1050. | case 'f': // float
  1051. | fnumber = va_arg (args_copy, double);
  1052. | break;
  1053. | default:
  1054. | break;
  1055. | }
  1056. | }
  1057. | va_end (args_copy);
  1058. | va_end (args);
  1059. | }
  1060. |
  1061. | int
  1062. | main ()
  1063. | {
  1064. |
  1065. | // Check bool.
  1066. | _Bool success = false;
  1067. |
  1068. | // Check restrict.
  1069. | if (test_restrict ("String literal") == 0)
  1070. | success = true;
  1071. | char *restrict newvar = "Another string";
  1072. |
  1073. | // Check varargs.
  1074. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1075. | test_varargs_macros ();
  1076. |
  1077. | // Check flexible array members.
  1078. | struct incomplete_array *ia =
  1079. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1080. | ia->datasize = 10;
  1081. | for (int i = 0; i < ia->datasize; ++i)
  1082. | ia->data[i] = i * 1.234;
  1083. |
  1084. | // Check named initializers.
  1085. | struct named_init ni = {
  1086. | .number = 34,
  1087. | .name = L"Test wide string",
  1088. | .average = 543.34343,
  1089. | };
  1090. |
  1091. | ni.number = 58;
  1092. |
  1093. | int dynamic_array[ni.number];
  1094. | dynamic_array[ni.number - 1] = 543;
  1095. |
  1096. | // work around unused variable warnings
  1097. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1098. | || dynamic_array[ni.number - 1] != 543);
  1099. |
  1100. | ;
  1101. | return 0;
  1102. | }
  1103. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  1104. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1105. test_restrict (ccp restrict text)
  1106. ^~~~
  1107. conftest.cpp: In function 'int test_restrict(ccp)':
  1108. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1109. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1110. ^~~~
  1111. conftest.cpp: In function 'int main()':
  1112. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1113. char *restrict newvar = "Another string";
  1114. ^~~~~~
  1115. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1116. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1117. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1118. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1119. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1120. ^~~~~~
  1121. configure:5544: $? = 1
  1122. configure: failed program was:
  1123. | /* confdefs.h */
  1124. | #define PACKAGE_NAME "graph-tool"
  1125. | #define PACKAGE_TARNAME "graph-tool"
  1126. | #define PACKAGE_VERSION "2.23dev"
  1127. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1128. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1129. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1130. | #define PACKAGE "graph-tool"
  1131. | #define VERSION "2.23dev"
  1132. | #define STDC_HEADERS 1
  1133. | #define HAVE_SYS_TYPES_H 1
  1134. | #define HAVE_SYS_STAT_H 1
  1135. | #define HAVE_STDLIB_H 1
  1136. | #define HAVE_STRING_H 1
  1137. | #define HAVE_MEMORY_H 1
  1138. | #define HAVE_STRINGS_H 1
  1139. | #define HAVE_INTTYPES_H 1
  1140. | #define HAVE_STDINT_H 1
  1141. | #define HAVE_UNISTD_H 1
  1142. | #define __EXTENSIONS__ 1
  1143. | #define _ALL_SOURCE 1
  1144. | #define _GNU_SOURCE 1
  1145. | #define _POSIX_PTHREAD_SEMANTICS 1
  1146. | #define _TANDEM_SOURCE 1
  1147. | /* end confdefs.h. */
  1148. | #include <stdarg.h>
  1149. | #include <stdbool.h>
  1150. | #include <stdlib.h>
  1151. | #include <wchar.h>
  1152. | #include <stdio.h>
  1153. |
  1154. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1155. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1156. | #define showlist(...) puts (#__VA_ARGS__)
  1157. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1158. | static void
  1159. | test_varargs_macros (void)
  1160. | {
  1161. | int x = 1234;
  1162. | int y = 5678;
  1163. | debug ("Flag");
  1164. | debug ("X = %d\n", x);
  1165. | showlist (The first, second, and third items.);
  1166. | report (x>y, "x is %d but y is %d", x, y);
  1167. | }
  1168. |
  1169. | // Check long long types.
  1170. | #define BIG64 18446744073709551615ull
  1171. | #define BIG32 4294967295ul
  1172. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1173. | #if !BIG_OK
  1174. | your preprocessor is broken;
  1175. | #endif
  1176. | #if BIG_OK
  1177. | #else
  1178. | your preprocessor is broken;
  1179. | #endif
  1180. | static long long int bignum = -9223372036854775807LL;
  1181. | static unsigned long long int ubignum = BIG64;
  1182. |
  1183. | struct incomplete_array
  1184. | {
  1185. | int datasize;
  1186. | double data[];
  1187. | };
  1188. |
  1189. | struct named_init {
  1190. | int number;
  1191. | const wchar_t *name;
  1192. | double average;
  1193. | };
  1194. |
  1195. | typedef const char *ccp;
  1196. |
  1197. | static inline int
  1198. | test_restrict (ccp restrict text)
  1199. | {
  1200. | // See if C++-style comments work.
  1201. | // Iterate through items via the restricted pointer.
  1202. | // Also check for declarations in for loops.
  1203. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1204. | continue;
  1205. | return 0;
  1206. | }
  1207. |
  1208. | // Check varargs and va_copy.
  1209. | static void
  1210. | test_varargs (const char *format, ...)
  1211. | {
  1212. | va_list args;
  1213. | va_start (args, format);
  1214. | va_list args_copy;
  1215. | va_copy (args_copy, args);
  1216. |
  1217. | const char *str;
  1218. | int number;
  1219. | float fnumber;
  1220. |
  1221. | while (*format)
  1222. | {
  1223. | switch (*format++)
  1224. | {
  1225. | case 's': // string
  1226. | str = va_arg (args_copy, const char *);
  1227. | break;
  1228. | case 'd': // int
  1229. | number = va_arg (args_copy, int);
  1230. | break;
  1231. | case 'f': // float
  1232. | fnumber = va_arg (args_copy, double);
  1233. | break;
  1234. | default:
  1235. | break;
  1236. | }
  1237. | }
  1238. | va_end (args_copy);
  1239. | va_end (args);
  1240. | }
  1241. |
  1242. | int
  1243. | main ()
  1244. | {
  1245. |
  1246. | // Check bool.
  1247. | _Bool success = false;
  1248. |
  1249. | // Check restrict.
  1250. | if (test_restrict ("String literal") == 0)
  1251. | success = true;
  1252. | char *restrict newvar = "Another string";
  1253. |
  1254. | // Check varargs.
  1255. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1256. | test_varargs_macros ();
  1257. |
  1258. | // Check flexible array members.
  1259. | struct incomplete_array *ia =
  1260. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1261. | ia->datasize = 10;
  1262. | for (int i = 0; i < ia->datasize; ++i)
  1263. | ia->data[i] = i * 1.234;
  1264. |
  1265. | // Check named initializers.
  1266. | struct named_init ni = {
  1267. | .number = 34,
  1268. | .name = L"Test wide string",
  1269. | .average = 543.34343,
  1270. | };
  1271. |
  1272. | ni.number = 58;
  1273. |
  1274. | int dynamic_array[ni.number];
  1275. | dynamic_array[ni.number - 1] = 543;
  1276. |
  1277. | // work around unused variable warnings
  1278. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1279. | || dynamic_array[ni.number - 1] != 543);
  1280. |
  1281. | ;
  1282. | return 0;
  1283. | }
  1284. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  1285. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1286. test_restrict (ccp restrict text)
  1287. ^~~~
  1288. conftest.cpp: In function 'int test_restrict(ccp)':
  1289. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1290. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1291. ^~~~
  1292. conftest.cpp: In function 'int main()':
  1293. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1294. char *restrict newvar = "Another string";
  1295. ^~~~~~
  1296. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1297. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1298. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1299. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1300. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1301. ^~~~~~
  1302. configure:5544: $? = 1
  1303. configure: failed program was:
  1304. | /* confdefs.h */
  1305. | #define PACKAGE_NAME "graph-tool"
  1306. | #define PACKAGE_TARNAME "graph-tool"
  1307. | #define PACKAGE_VERSION "2.23dev"
  1308. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1309. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1310. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1311. | #define PACKAGE "graph-tool"
  1312. | #define VERSION "2.23dev"
  1313. | #define STDC_HEADERS 1
  1314. | #define HAVE_SYS_TYPES_H 1
  1315. | #define HAVE_SYS_STAT_H 1
  1316. | #define HAVE_STDLIB_H 1
  1317. | #define HAVE_STRING_H 1
  1318. | #define HAVE_MEMORY_H 1
  1319. | #define HAVE_STRINGS_H 1
  1320. | #define HAVE_INTTYPES_H 1
  1321. | #define HAVE_STDINT_H 1
  1322. | #define HAVE_UNISTD_H 1
  1323. | #define __EXTENSIONS__ 1
  1324. | #define _ALL_SOURCE 1
  1325. | #define _GNU_SOURCE 1
  1326. | #define _POSIX_PTHREAD_SEMANTICS 1
  1327. | #define _TANDEM_SOURCE 1
  1328. | /* end confdefs.h. */
  1329. | #include <stdarg.h>
  1330. | #include <stdbool.h>
  1331. | #include <stdlib.h>
  1332. | #include <wchar.h>
  1333. | #include <stdio.h>
  1334. |
  1335. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1336. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1337. | #define showlist(...) puts (#__VA_ARGS__)
  1338. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1339. | static void
  1340. | test_varargs_macros (void)
  1341. | {
  1342. | int x = 1234;
  1343. | int y = 5678;
  1344. | debug ("Flag");
  1345. | debug ("X = %d\n", x);
  1346. | showlist (The first, second, and third items.);
  1347. | report (x>y, "x is %d but y is %d", x, y);
  1348. | }
  1349. |
  1350. | // Check long long types.
  1351. | #define BIG64 18446744073709551615ull
  1352. | #define BIG32 4294967295ul
  1353. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1354. | #if !BIG_OK
  1355. | your preprocessor is broken;
  1356. | #endif
  1357. | #if BIG_OK
  1358. | #else
  1359. | your preprocessor is broken;
  1360. | #endif
  1361. | static long long int bignum = -9223372036854775807LL;
  1362. | static unsigned long long int ubignum = BIG64;
  1363. |
  1364. | struct incomplete_array
  1365. | {
  1366. | int datasize;
  1367. | double data[];
  1368. | };
  1369. |
  1370. | struct named_init {
  1371. | int number;
  1372. | const wchar_t *name;
  1373. | double average;
  1374. | };
  1375. |
  1376. | typedef const char *ccp;
  1377. |
  1378. | static inline int
  1379. | test_restrict (ccp restrict text)
  1380. | {
  1381. | // See if C++-style comments work.
  1382. | // Iterate through items via the restricted pointer.
  1383. | // Also check for declarations in for loops.
  1384. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1385. | continue;
  1386. | return 0;
  1387. | }
  1388. |
  1389. | // Check varargs and va_copy.
  1390. | static void
  1391. | test_varargs (const char *format, ...)
  1392. | {
  1393. | va_list args;
  1394. | va_start (args, format);
  1395. | va_list args_copy;
  1396. | va_copy (args_copy, args);
  1397. |
  1398. | const char *str;
  1399. | int number;
  1400. | float fnumber;
  1401. |
  1402. | while (*format)
  1403. | {
  1404. | switch (*format++)
  1405. | {
  1406. | case 's': // string
  1407. | str = va_arg (args_copy, const char *);
  1408. | break;
  1409. | case 'd': // int
  1410. | number = va_arg (args_copy, int);
  1411. | break;
  1412. | case 'f': // float
  1413. | fnumber = va_arg (args_copy, double);
  1414. | break;
  1415. | default:
  1416. | break;
  1417. | }
  1418. | }
  1419. | va_end (args_copy);
  1420. | va_end (args);
  1421. | }
  1422. |
  1423. | int
  1424. | main ()
  1425. | {
  1426. |
  1427. | // Check bool.
  1428. | _Bool success = false;
  1429. |
  1430. | // Check restrict.
  1431. | if (test_restrict ("String literal") == 0)
  1432. | success = true;
  1433. | char *restrict newvar = "Another string";
  1434. |
  1435. | // Check varargs.
  1436. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1437. | test_varargs_macros ();
  1438. |
  1439. | // Check flexible array members.
  1440. | struct incomplete_array *ia =
  1441. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1442. | ia->datasize = 10;
  1443. | for (int i = 0; i < ia->datasize; ++i)
  1444. | ia->data[i] = i * 1.234;
  1445. |
  1446. | // Check named initializers.
  1447. | struct named_init ni = {
  1448. | .number = 34,
  1449. | .name = L"Test wide string",
  1450. | .average = 543.34343,
  1451. | };
  1452. |
  1453. | ni.number = 58;
  1454. |
  1455. | int dynamic_array[ni.number];
  1456. | dynamic_array[ni.number - 1] = 543;
  1457. |
  1458. | // work around unused variable warnings
  1459. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1460. | || dynamic_array[ni.number - 1] != 543);
  1461. |
  1462. | ;
  1463. | return 0;
  1464. | }
  1465. configure:5544: g++ -c -I/usr/local/include conftest.cpp >&5
  1466. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1467. test_restrict (ccp restrict text)
  1468. ^~~~
  1469. conftest.cpp: In function 'int test_restrict(ccp)':
  1470. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1471. for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1472. ^~~~
  1473. conftest.cpp: In function 'int main()':
  1474. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1475. char *restrict newvar = "Another string";
  1476. ^~~~~~
  1477. conftest.cpp:138:12: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1478. malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1479. ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1480. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1481. return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1482. ^~~~~~
  1483. configure:5544: $? = 1
  1484. configure: failed program was:
  1485. | /* confdefs.h */
  1486. | #define PACKAGE_NAME "graph-tool"
  1487. | #define PACKAGE_TARNAME "graph-tool"
  1488. | #define PACKAGE_VERSION "2.23dev"
  1489. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1490. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1491. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1492. | #define PACKAGE "graph-tool"
  1493. | #define VERSION "2.23dev"
  1494. | #define STDC_HEADERS 1
  1495. | #define HAVE_SYS_TYPES_H 1
  1496. | #define HAVE_SYS_STAT_H 1
  1497. | #define HAVE_STDLIB_H 1
  1498. | #define HAVE_STRING_H 1
  1499. | #define HAVE_MEMORY_H 1
  1500. | #define HAVE_STRINGS_H 1
  1501. | #define HAVE_INTTYPES_H 1
  1502. | #define HAVE_STDINT_H 1
  1503. | #define HAVE_UNISTD_H 1
  1504. | #define __EXTENSIONS__ 1
  1505. | #define _ALL_SOURCE 1
  1506. | #define _GNU_SOURCE 1
  1507. | #define _POSIX_PTHREAD_SEMANTICS 1
  1508. | #define _TANDEM_SOURCE 1
  1509. | /* end confdefs.h. */
  1510. | #include <stdarg.h>
  1511. | #include <stdbool.h>
  1512. | #include <stdlib.h>
  1513. | #include <wchar.h>
  1514. | #include <stdio.h>
  1515. |
  1516. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1517. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1518. | #define showlist(...) puts (#__VA_ARGS__)
  1519. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1520. | static void
  1521. | test_varargs_macros (void)
  1522. | {
  1523. | int x = 1234;
  1524. | int y = 5678;
  1525. | debug ("Flag");
  1526. | debug ("X = %d\n", x);
  1527. | showlist (The first, second, and third items.);
  1528. | report (x>y, "x is %d but y is %d", x, y);
  1529. | }
  1530. |
  1531. | // Check long long types.
  1532. | #define BIG64 18446744073709551615ull
  1533. | #define BIG32 4294967295ul
  1534. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1535. | #if !BIG_OK
  1536. | your preprocessor is broken;
  1537. | #endif
  1538. | #if BIG_OK
  1539. | #else
  1540. | your preprocessor is broken;
  1541. | #endif
  1542. | static long long int bignum = -9223372036854775807LL;
  1543. | static unsigned long long int ubignum = BIG64;
  1544. |
  1545. | struct incomplete_array
  1546. | {
  1547. | int datasize;
  1548. | double data[];
  1549. | };
  1550. |
  1551. | struct named_init {
  1552. | int number;
  1553. | const wchar_t *name;
  1554. | double average;
  1555. | };
  1556. |
  1557. | typedef const char *ccp;
  1558. |
  1559. | static inline int
  1560. | test_restrict (ccp restrict text)
  1561. | {
  1562. | // See if C++-style comments work.
  1563. | // Iterate through items via the restricted pointer.
  1564. | // Also check for declarations in for loops.
  1565. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1566. | continue;
  1567. | return 0;
  1568. | }
  1569. |
  1570. | // Check varargs and va_copy.
  1571. | static void
  1572. | test_varargs (const char *format, ...)
  1573. | {
  1574. | va_list args;
  1575. | va_start (args, format);
  1576. | va_list args_copy;
  1577. | va_copy (args_copy, args);
  1578. |
  1579. | const char *str;
  1580. | int number;
  1581. | float fnumber;
  1582. |
  1583. | while (*format)
  1584. | {
  1585. | switch (*format++)
  1586. | {
  1587. | case 's': // string
  1588. | str = va_arg (args_copy, const char *);
  1589. | break;
  1590. | case 'd': // int
  1591. | number = va_arg (args_copy, int);
  1592. | break;
  1593. | case 'f': // float
  1594. | fnumber = va_arg (args_copy, double);
  1595. | break;
  1596. | default:
  1597. | break;
  1598. | }
  1599. | }
  1600. | va_end (args_copy);
  1601. | va_end (args);
  1602. | }
  1603. |
  1604. | int
  1605. | main ()
  1606. | {
  1607. |
  1608. | // Check bool.
  1609. | _Bool success = false;
  1610. |
  1611. | // Check restrict.
  1612. | if (test_restrict ("String literal") == 0)
  1613. | success = true;
  1614. | char *restrict newvar = "Another string";
  1615. |
  1616. | // Check varargs.
  1617. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1618. | test_varargs_macros ();
  1619. |
  1620. | // Check flexible array members.
  1621. | struct incomplete_array *ia =
  1622. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1623. | ia->datasize = 10;
  1624. | for (int i = 0; i < ia->datasize; ++i)
  1625. | ia->data[i] = i * 1.234;
  1626. |
  1627. | // Check named initializers.
  1628. | struct named_init ni = {
  1629. | .number = 34,
  1630. | .name = L"Test wide string",
  1631. | .average = 543.34343,
  1632. | };
  1633. |
  1634. | ni.number = 58;
  1635. |
  1636. | int dynamic_array[ni.number];
  1637. | dynamic_array[ni.number - 1] = 543;
  1638. |
  1639. | // work around unused variable warnings
  1640. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1641. | || dynamic_array[ni.number - 1] != 543);
  1642. |
  1643. | ;
  1644. | return 0;
  1645. | }
  1646. configure:5560: result: unsupported
  1647. configure:5570: checking for gcc option to accept ISO C89
  1648. configure:5646: result: none needed
  1649. configure:5665: checking for gcc option to accept ISO Standard C
  1650. configure:5676: result: none needed
  1651. configure:5689: checking how to run the C++ preprocessor
  1652. configure:5716: g++ -E -I/usr/local/include conftest.cpp
  1653. configure:5716: $? = 0
  1654. configure:5730: g++ -E -I/usr/local/include conftest.cpp
  1655. conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
  1656. #include <ac_nonexistent.h>
  1657. ^
  1658. compilation terminated.
  1659. configure:5730: $? = 1
  1660. configure: failed program was:
  1661. | /* confdefs.h */
  1662. | #define PACKAGE_NAME "graph-tool"
  1663. | #define PACKAGE_TARNAME "graph-tool"
  1664. | #define PACKAGE_VERSION "2.23dev"
  1665. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1666. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1667. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1668. | #define PACKAGE "graph-tool"
  1669. | #define VERSION "2.23dev"
  1670. | #define STDC_HEADERS 1
  1671. | #define HAVE_SYS_TYPES_H 1
  1672. | #define HAVE_SYS_STAT_H 1
  1673. | #define HAVE_STDLIB_H 1
  1674. | #define HAVE_STRING_H 1
  1675. | #define HAVE_MEMORY_H 1
  1676. | #define HAVE_STRINGS_H 1
  1677. | #define HAVE_INTTYPES_H 1
  1678. | #define HAVE_STDINT_H 1
  1679. | #define HAVE_UNISTD_H 1
  1680. | #define __EXTENSIONS__ 1
  1681. | #define _ALL_SOURCE 1
  1682. | #define _GNU_SOURCE 1
  1683. | #define _POSIX_PTHREAD_SEMANTICS 1
  1684. | #define _TANDEM_SOURCE 1
  1685. | /* end confdefs.h. */
  1686. | #include <ac_nonexistent.h>
  1687. configure:5755: result: g++ -E
  1688. configure:5775: g++ -E -I/usr/local/include conftest.cpp
  1689. configure:5775: $? = 0
  1690. configure:5789: g++ -E -I/usr/local/include conftest.cpp
  1691. conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
  1692. #include <ac_nonexistent.h>
  1693. ^
  1694. compilation terminated.
  1695. configure:5789: $? = 1
  1696. configure: failed program was:
  1697. | /* confdefs.h */
  1698. | #define PACKAGE_NAME "graph-tool"
  1699. | #define PACKAGE_TARNAME "graph-tool"
  1700. | #define PACKAGE_VERSION "2.23dev"
  1701. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1702. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1703. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1704. | #define PACKAGE "graph-tool"
  1705. | #define VERSION "2.23dev"
  1706. | #define STDC_HEADERS 1
  1707. | #define HAVE_SYS_TYPES_H 1
  1708. | #define HAVE_SYS_STAT_H 1
  1709. | #define HAVE_STDLIB_H 1
  1710. | #define HAVE_STRING_H 1
  1711. | #define HAVE_MEMORY_H 1
  1712. | #define HAVE_STRINGS_H 1
  1713. | #define HAVE_INTTYPES_H 1
  1714. | #define HAVE_STDINT_H 1
  1715. | #define HAVE_UNISTD_H 1
  1716. | #define __EXTENSIONS__ 1
  1717. | #define _ALL_SOURCE 1
  1718. | #define _GNU_SOURCE 1
  1719. | #define _POSIX_PTHREAD_SEMANTICS 1
  1720. | #define _TANDEM_SOURCE 1
  1721. | /* end confdefs.h. */
  1722. | #include <ac_nonexistent.h>
  1723. configure:5818: checking for ANSI C header files
  1724. configure:5922: result: yes
  1725. configure:6008: checking how to print strings
  1726. configure:6035: result: printf
  1727. configure:6056: checking for a sed that does not truncate output
  1728. configure:6120: result: /bin/sed
  1729. configure:6138: checking for fgrep
  1730. configure:6200: result: /bin/grep -F
  1731. configure:6235: checking for ld used by gcc
  1732. configure:6302: result: /usr/bin/ld
  1733. configure:6309: checking if the linker (/usr/bin/ld) is GNU ld
  1734. configure:6324: result: yes
  1735. configure:6336: checking for BSD- or MS-compatible name lister (nm)
  1736. configure:6385: result: /usr/bin/nm -B
  1737. configure:6515: checking the name lister (/usr/bin/nm -B) interface
  1738. configure:6522: g++ -c -I/usr/local/include conftest.cpp >&5
  1739. configure:6525: /usr/bin/nm -B "conftest.o"
  1740. configure:6528: output
  1741. 0000000000000000 B some_variable
  1742. configure:6535: result: BSD nm
  1743. configure:6538: checking whether ln -s works
  1744. configure:6542: result: yes
  1745. configure:6550: checking the maximum length of command line arguments
  1746. configure:6680: result: 1572864
  1747. configure:6697: checking whether the shell understands some XSI constructs
  1748. configure:6707: result: yes
  1749. configure:6711: checking whether the shell understands "+="
  1750. configure:6717: result: yes
  1751. configure:6752: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
  1752. configure:6792: result: func_convert_file_noop
  1753. configure:6799: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
  1754. configure:6819: result: func_convert_file_noop
  1755. configure:6826: checking for /usr/bin/ld option to reload object files
  1756. configure:6833: result: -r
  1757. configure:6907: checking for objdump
  1758. configure:6923: found /usr/bin/objdump
  1759. configure:6934: result: objdump
  1760. configure:6966: checking how to recognize dependent libraries
  1761. configure:7168: result: pass_all
  1762. configure:7253: checking for dlltool
  1763. configure:7283: result: no
  1764. configure:7313: checking how to associate runtime and link libraries
  1765. configure:7340: result: printf %s\n
  1766. configure:7400: checking for ar
  1767. configure:7416: found /usr/bin/ar
  1768. configure:7427: result: ar
  1769. configure:7464: checking for archiver @FILE support
  1770. configure:7481: g++ -c -I/usr/local/include conftest.cpp >&5
  1771. configure:7481: $? = 0
  1772. configure:7484: ar cru libconftest.a @conftest.lst >&5
  1773. ar: `u' modifier ignored since `D' is the default (see `U')
  1774. configure:7487: $? = 0
  1775. configure:7492: ar cru libconftest.a @conftest.lst >&5
  1776. ar: `u' modifier ignored since `D' is the default (see `U')
  1777. ar: conftest.o: No such file or directory
  1778. configure:7495: $? = 1
  1779. configure:7507: result: @
  1780. configure:7565: checking for strip
  1781. configure:7581: found /usr/bin/strip
  1782. configure:7592: result: strip
  1783. configure:7664: checking for ranlib
  1784. configure:7680: found /usr/bin/ranlib
  1785. configure:7691: result: ranlib
  1786. configure:7793: checking command to parse /usr/bin/nm -B output from gcc object
  1787. configure:7913: g++ -c -I/usr/local/include conftest.cpp >&5
  1788. configure:7916: $? = 0
  1789. configure:7920: /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
  1790. configure:7923: $? = 0
  1791. configure:7989: g++ -o conftest -I/usr/local/include -L/usr/local/lib conftest.cpp conftstm.o >&5
  1792. configure:7992: $? = 0
  1793. configure:8030: result: ok
  1794. configure:8067: checking for sysroot
  1795. configure:8097: result: no
  1796. configure:8174: g++ -c -I/usr/local/include conftest.cpp >&5
  1797. configure:8177: $? = 0
  1798. configure:8353: checking for mt
  1799. configure:8369: found /bin/mt
  1800. configure:8380: result: mt
  1801. configure:8403: checking if mt is a manifest tool
  1802. configure:8409: mt '-?'
  1803. configure:8417: result: no
  1804. configure:9056: checking for dlfcn.h
  1805. configure:9056: g++ -c -I/usr/local/include conftest.cpp >&5
  1806. configure:9056: $? = 0
  1807. configure:9056: result: yes
  1808. configure:9242: checking for objdir
  1809. configure:9257: result: .libs
  1810. configure:9528: checking if gcc supports -fno-rtti -fno-exceptions
  1811. configure:9546: gcc -c -g -O2 -I/usr/local/include -fno-rtti -fno-exceptions conftest.c >&5
  1812. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
  1813. configure:9550: $? = 0
  1814. configure:9563: result: no
  1815. configure:9890: checking for gcc option to produce PIC
  1816. configure:9897: result: -fPIC -DPIC
  1817. configure:9905: checking if gcc PIC flag -fPIC -DPIC works
  1818. configure:9923: gcc -c -g -O2 -I/usr/local/include -fPIC -DPIC -DPIC conftest.c >&5
  1819. configure:9927: $? = 0
  1820. configure:9940: result: yes
  1821. configure:9969: checking if gcc static flag -static works
  1822. configure:9997: result: yes
  1823. configure:10012: checking if gcc supports -c -o file.o
  1824. configure:10033: gcc -c -g -O2 -I/usr/local/include -o out/conftest2.o conftest.c >&5
  1825. configure:10037: $? = 0
  1826. configure:10059: result: yes
  1827. configure:10067: checking if gcc supports -c -o file.o
  1828. configure:10114: result: yes
  1829. configure:10147: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1830. configure:11300: result: yes
  1831. configure:11337: checking whether -lc should be explicitly linked in
  1832. configure:11345: gcc -c -g -O2 -I/usr/local/include conftest.c >&5
  1833. configure:11348: $? = 0
  1834. configure:11363: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  1835. configure:11366: $? = 0
  1836. configure:11380: result: no
  1837. configure:11540: checking dynamic linker characteristics
  1838. configure:12051: gcc -o conftest -g -O2 -I/usr/local/include -L/usr/local/lib -Wl,-rpath -Wl,/foo conftest.c >&5
  1839. configure:12051: $? = 0
  1840. configure:12273: result: GNU/Linux ld.so
  1841. configure:12380: checking how to hardcode library paths into programs
  1842. configure:12405: result: immediate
  1843. configure:12945: checking whether stripping libraries is possible
  1844. configure:12950: result: yes
  1845. configure:12985: checking if libtool supports shared libraries
  1846. configure:12987: result: yes
  1847. configure:12990: checking whether to build shared libraries
  1848. configure:13011: result: yes
  1849. configure:13014: checking whether to build static libraries
  1850. configure:13018: result: no
  1851. configure:13041: checking how to run the C++ preprocessor
  1852. configure:13107: result: g++ -E
  1853. configure:13127: g++ -E -I/usr/local/include conftest.cpp
  1854. configure:13127: $? = 0
  1855. configure:13141: g++ -E -I/usr/local/include conftest.cpp
  1856. conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory
  1857. #include <ac_nonexistent.h>
  1858. ^
  1859. compilation terminated.
  1860. configure:13141: $? = 1
  1861. configure: failed program was:
  1862. | /* confdefs.h */
  1863. | #define PACKAGE_NAME "graph-tool"
  1864. | #define PACKAGE_TARNAME "graph-tool"
  1865. | #define PACKAGE_VERSION "2.23dev"
  1866. | #define PACKAGE_STRING "graph-tool 2.23dev"
  1867. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  1868. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  1869. | #define PACKAGE "graph-tool"
  1870. | #define VERSION "2.23dev"
  1871. | #define STDC_HEADERS 1
  1872. | #define HAVE_SYS_TYPES_H 1
  1873. | #define HAVE_SYS_STAT_H 1
  1874. | #define HAVE_STDLIB_H 1
  1875. | #define HAVE_STRING_H 1
  1876. | #define HAVE_MEMORY_H 1
  1877. | #define HAVE_STRINGS_H 1
  1878. | #define HAVE_INTTYPES_H 1
  1879. | #define HAVE_STDINT_H 1
  1880. | #define HAVE_UNISTD_H 1
  1881. | #define __EXTENSIONS__ 1
  1882. | #define _ALL_SOURCE 1
  1883. | #define _GNU_SOURCE 1
  1884. | #define _POSIX_PTHREAD_SEMANTICS 1
  1885. | #define _TANDEM_SOURCE 1
  1886. | #define STDC_HEADERS 1
  1887. | #define HAVE_DLFCN_H 1
  1888. | #define LT_OBJDIR ".libs/"
  1889. | /* end confdefs.h. */
  1890. | #include <ac_nonexistent.h>
  1891. configure:13310: checking for ld used by g++
  1892. configure:13377: result: /usr/bin/ld -m elf_x86_64
  1893. configure:13384: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
  1894. configure:13399: result: yes
  1895. configure:13454: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1896. configure:14459: result: yes
  1897. configure:14495: g++ -c -I/usr/local/include conftest.cpp >&5
  1898. configure:14498: $? = 0
  1899. configure:15018: checking for g++ option to produce PIC
  1900. configure:15025: result: -fPIC -DPIC
  1901. configure:15033: checking if g++ PIC flag -fPIC -DPIC works
  1902. configure:15051: g++ -c -I/usr/local/include -fPIC -DPIC -DPIC conftest.cpp >&5
  1903. configure:15055: $? = 0
  1904. configure:15068: result: yes
  1905. configure:15091: checking if g++ static flag -static works
  1906. configure:15119: result: yes
  1907. configure:15131: checking if g++ supports -c -o file.o
  1908. configure:15152: g++ -c -I/usr/local/include -o out/conftest2.o conftest.cpp >&5
  1909. configure:15156: $? = 0
  1910. configure:15178: result: yes
  1911. configure:15183: checking if g++ supports -c -o file.o
  1912. configure:15230: result: yes
  1913. configure:15260: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1914. configure:15296: result: yes
  1915. configure:15437: checking dynamic linker characteristics
  1916. configure:16104: result: GNU/Linux ld.so
  1917. configure:16157: checking how to hardcode library paths into programs
  1918. configure:16182: result: immediate
  1919. configure:16299: checking for pkg-config
  1920. configure:16317: found /usr/bin/pkg-config
  1921. configure:16329: result: /usr/bin/pkg-config
  1922. configure:16354: checking pkg-config is at least version 0.9.0
  1923. configure:16357: result: yes
  1924. configure:16388: checking whether g++ supports C++14 features by default
  1925. configure:16802: g++ -c -I/usr/local/include conftest.cpp >&5
  1926. configure:16802: $? = 0
  1927. configure:16809: result: yes
  1928. configure:17286: checking whether to enable debug info
  1929. configure:17305: result: no
  1930. configure:17319: checking whether to enable parallel algorithms with openmp
  1931. configure:17324: result: yes
  1932. configure:17329: checking for OpenMP flag of C++ compiler
  1933. configure:17374: g++ -o conftest -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -fopenmp -DNDEBUG -I/usr/local/include -L/usr/local/lib conftest.cpp >&5
  1934. configure:17374: $? = 0
  1935. configure:17383: result: -fopenmp
  1936. configure:17488: checking whether to enable cairo drawing
  1937. configure:17501: result: yes
  1938. configure:17596: checking for Expat XML Parser headers in /usr/include
  1939. configure:17620: g++ -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -DNDEBUG -I/usr/local/include -I/usr/include conftest.cpp >&5
  1940. configure:17620: $? = 0
  1941. configure:17624: result: found
  1942. configure:17645: checking for Expat XML Parser libraries
  1943. configure:17673: g++ -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -DNDEBUG -I/usr/local/include -I/usr/include -L/usr/local/lib -L/usr/lib conftest.cpp -lexpat >&5
  1944. configure:17673: $? = 0
  1945. configure:17678: result: found
  1946. configure:17704: checking for Expat XML Parser
  1947. configure:17719: result: yes
  1948. configure:17805: checking whether /home/bais/anaconda3/bin/python version is >= 2.7
  1949. configure:17816: /home/bais/anaconda3/bin/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.7'.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)
  1950. configure:17819: $? = 0
  1951. configure:17821: result: yes
  1952. configure:17914: checking for /home/bais/anaconda3/bin/python version
  1953. configure:17921: result: 3.6
  1954. configure:17933: checking for /home/bais/anaconda3/bin/python platform
  1955. configure:17940: result: linux
  1956. configure:17966: checking for /home/bais/anaconda3/bin/python script directory
  1957. configure:18001: result: ${prefix}/lib/python3.6/site-packages
  1958. configure:18010: checking for /home/bais/anaconda3/bin/python extension module directory
  1959. configure:18045: result: ${exec_prefix}/lib/python3.6/site-packages
  1960. configure:18069: checking for python3.6
  1961. configure:18099: result: /home/bais/anaconda3/bin/python
  1962. configure:18115: checking for a version of Python >= '2.1.0'
  1963. configure:18141: result: yes
  1964. configure:18149: checking for a version of Python == '3.6.1'
  1965. configure:18155: result: yes
  1966. configure:18172: checking for the distutils Python package
  1967. configure:18176: result: yes
  1968. configure:18190: checking for Python include path
  1969. configure:18206: result: -I/home/bais/anaconda3/include/python3.6m
  1970. configure:18213: checking for Python library path
  1971. configure:18290: result: -L/home/bais/anaconda3/lib -lpython3.6m
  1972. configure:18297: checking for Python site-packages path
  1973. configure:18303: result: /home/bais/anaconda3/lib/python3.6/site-packages
  1974. configure:18310: checking python extra libraries
  1975. configure:18317: result: -lpthread -ldl -lutil -lrt -lm
  1976. configure:18324: checking python extra linking flags
  1977. configure:18331: result: -Xlinker -export-dynamic
  1978. configure:18338: checking consistency of all components of python development environment
  1979. configure:18366: gcc -o conftest -g -O2 -DNDEBUG -I/usr/local/include -I/home/bais/anaconda3/include/python3.6m -L/usr/local/lib -lpthread -ldl -lutil -lrt -lm conftest.c -L/home/bais/anaconda3/lib -lpython3.6m -Xlinker -export-dynamic -Xlinker -export-dynamic >&5
  1980. configure:18366: $? = 0
  1981. configure:18384: result: yes
  1982. configure:18470: checking for boostlib >= 1.55.0
  1983. configure:18553: g++ -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -DNDEBUG -I/usr/local/include -I/usr/include conftest.cpp >&5
  1984. configure:18553: $? = 0
  1985. configure:18555: result: yes
  1986. configure:18741: checking whether the Boost::Python library is available
  1987. configure:18759: g++ -c -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -I/usr/include -I/home/bais/anaconda3/include/python3.6m -DNDEBUG -I/usr/local/include conftest.cpp >&5
  1988. configure:18759: $? = 0
  1989. configure:18767: result: yes
  1990. configure:18786: checking whether boost_python is the correct library
  1991. configure:18805: g++ -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -I/usr/include -I/home/bais/anaconda3/include/python3.6m -DNDEBUG -I/usr/local/include -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib conftest.cpp -lboost_python -L/home/bais/anaconda3/lib -lpython3.6m >&5
  1992. /tmp/cctz6rkB.o: In function `PyInit_test':
  1993. conftest.cpp:(.text+0x52): undefined reference to `boost::python::detail::init_module(PyModuleDef&, void (*)())'
  1994. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_InternFromString'
  1995. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_AsString'
  1996. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
  1997. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject'
  1998. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyClass_Type'
  1999. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
  2000. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `Py_InitModule4_64'
  2001. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
  2002. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
  2003. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_AsFile'
  2004. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
  2005. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
  2006. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::range_error::range_error(char const*)@GLIBCXX_3.4.21'
  2007. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_Type'
  2008. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromStringAndSize'
  2009. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Size'
  2010. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyUnicodeUCS4_AsWideChar'
  2011. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_Divide'
  2012. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromString'
  2013. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_FromFormat'
  2014. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_FromLong'
  2015. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyInt_AsLong'
  2016. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
  2017. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyNumber_InPlaceDivide'
  2018. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
  2019. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct(unsigned long, wchar_t)@GLIBCXX_3.4.21'
  2020. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
  2021. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyString_Type'
  2022. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
  2023. /usr/lib/x86_64-linux-gnu/libboost_python.so: undefined reference to `PyFile_FromString'
  2024. collect2: error: ld returned 1 exit status
  2025. configure:18805: $? = 1
  2026. configure: failed program was:
  2027. | /* confdefs.h */
  2028. | #define PACKAGE_NAME "graph-tool"
  2029. | #define PACKAGE_TARNAME "graph-tool"
  2030. | #define PACKAGE_VERSION "2.23dev"
  2031. | #define PACKAGE_STRING "graph-tool 2.23dev"
  2032. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  2033. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  2034. | #define PACKAGE "graph-tool"
  2035. | #define VERSION "2.23dev"
  2036. | #define STDC_HEADERS 1
  2037. | #define HAVE_SYS_TYPES_H 1
  2038. | #define HAVE_SYS_STAT_H 1
  2039. | #define HAVE_STDLIB_H 1
  2040. | #define HAVE_STRING_H 1
  2041. | #define HAVE_MEMORY_H 1
  2042. | #define HAVE_STRINGS_H 1
  2043. | #define HAVE_INTTYPES_H 1
  2044. | #define HAVE_STDINT_H 1
  2045. | #define HAVE_UNISTD_H 1
  2046. | #define __EXTENSIONS__ 1
  2047. | #define _ALL_SOURCE 1
  2048. | #define _GNU_SOURCE 1
  2049. | #define _POSIX_PTHREAD_SEMANTICS 1
  2050. | #define _TANDEM_SOURCE 1
  2051. | #define STDC_HEADERS 1
  2052. | #define HAVE_DLFCN_H 1
  2053. | #define LT_OBJDIR ".libs/"
  2054. | #define HAVE_CXX14 1
  2055. | #define OPENMP_MIN_THRESH 300
  2056. | #define HAVE_OPENMP 1
  2057. | #define USING_OPENMP 1
  2058. | #define HAVE_PYTHON "3.6"
  2059. | #define HAVE_BOOST /**/
  2060. | #define HAVE_BOOST_PYTHON /**/
  2061. | /* end confdefs.h. */
  2062. |
  2063. | #include <boost/python/module.hpp>
  2064. | BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }
  2065. | int
  2066. | main ()
  2067. | {
  2068. |
  2069. | ;
  2070. | return 0;
  2071. | }
  2072. configure:18814: result: no
  2073. configure:18786: checking whether boost_python-py27 is the correct library
  2074. configure:18805: g++ -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -I/usr/include -I/home/bais/anaconda3/include/python3.6m -DNDEBUG -I/usr/local/include -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib conftest.cpp -lboost_python-py27 -L/home/bais/anaconda3/lib -lpython3.6m >&5
  2075. /tmp/cchxbkFL.o: In function `PyInit_test':
  2076. conftest.cpp:(.text+0x52): undefined reference to `boost::python::detail::init_module(PyModuleDef&, void (*)())'
  2077. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_InternFromString'
  2078. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_AsString'
  2079. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
  2080. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyUnicodeUCS4_FromEncodedObject'
  2081. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyClass_Type'
  2082. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::invalid_argument::invalid_argument(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
  2083. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `Py_InitModule4_64'
  2084. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
  2085. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
  2086. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyFile_AsFile'
  2087. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
  2088. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
  2089. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::range_error::range_error(char const*)@GLIBCXX_3.4.21'
  2090. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyInt_Type'
  2091. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_FromStringAndSize'
  2092. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_Size'
  2093. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyUnicodeUCS4_AsWideChar'
  2094. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyNumber_Divide'
  2095. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_FromString'
  2096. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_FromFormat'
  2097. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyInt_FromLong'
  2098. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyInt_AsLong'
  2099. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
  2100. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyNumber_InPlaceDivide'
  2101. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
  2102. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct(unsigned long, wchar_t)@GLIBCXX_3.4.21'
  2103. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
  2104. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyString_Type'
  2105. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
  2106. /usr/lib/x86_64-linux-gnu/libboost_python-py27.so: undefined reference to `PyFile_FromString'
  2107. collect2: error: ld returned 1 exit status
  2108. configure:18805: $? = 1
  2109. configure: failed program was:
  2110. | /* confdefs.h */
  2111. | #define PACKAGE_NAME "graph-tool"
  2112. | #define PACKAGE_TARNAME "graph-tool"
  2113. | #define PACKAGE_VERSION "2.23dev"
  2114. | #define PACKAGE_STRING "graph-tool 2.23dev"
  2115. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  2116. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  2117. | #define PACKAGE "graph-tool"
  2118. | #define VERSION "2.23dev"
  2119. | #define STDC_HEADERS 1
  2120. | #define HAVE_SYS_TYPES_H 1
  2121. | #define HAVE_SYS_STAT_H 1
  2122. | #define HAVE_STDLIB_H 1
  2123. | #define HAVE_STRING_H 1
  2124. | #define HAVE_MEMORY_H 1
  2125. | #define HAVE_STRINGS_H 1
  2126. | #define HAVE_INTTYPES_H 1
  2127. | #define HAVE_STDINT_H 1
  2128. | #define HAVE_UNISTD_H 1
  2129. | #define __EXTENSIONS__ 1
  2130. | #define _ALL_SOURCE 1
  2131. | #define _GNU_SOURCE 1
  2132. | #define _POSIX_PTHREAD_SEMANTICS 1
  2133. | #define _TANDEM_SOURCE 1
  2134. | #define STDC_HEADERS 1
  2135. | #define HAVE_DLFCN_H 1
  2136. | #define LT_OBJDIR ".libs/"
  2137. | #define HAVE_CXX14 1
  2138. | #define OPENMP_MIN_THRESH 300
  2139. | #define HAVE_OPENMP 1
  2140. | #define USING_OPENMP 1
  2141. | #define HAVE_PYTHON "3.6"
  2142. | #define HAVE_BOOST /**/
  2143. | #define HAVE_BOOST_PYTHON /**/
  2144. | /* end confdefs.h. */
  2145. |
  2146. | #include <boost/python/module.hpp>
  2147. | BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }
  2148. | int
  2149. | main ()
  2150. | {
  2151. |
  2152. | ;
  2153. | return 0;
  2154. | }
  2155. configure:18814: result: no
  2156. configure:18786: checking whether boost_python-py27 is the correct library
  2157. configure:18814: result: no
  2158. configure:18786: checking whether boost_python-py27 is the correct library
  2159. configure:18814: result: no
  2160. configure:18786: checking whether boost_python-py35 is the correct library
  2161. configure:18805: g++ -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -I/usr/include -I/home/bais/anaconda3/include/python3.6m -DNDEBUG -I/usr/local/include -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib conftest.cpp -lboost_python-py35 -L/home/bais/anaconda3/lib -lpython3.6m >&5
  2162. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
  2163. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
  2164. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
  2165. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
  2166. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
  2167. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::range_error::range_error(char const*)@GLIBCXX_3.4.21'
  2168. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
  2169. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
  2170. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct(unsigned long, wchar_t)@GLIBCXX_3.4.21'
  2171. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
  2172. /usr/lib/x86_64-linux-gnu/libboost_python-py35.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
  2173. collect2: error: ld returned 1 exit status
  2174. configure:18805: $? = 1
  2175. configure: failed program was:
  2176. | /* confdefs.h */
  2177. | #define PACKAGE_NAME "graph-tool"
  2178. | #define PACKAGE_TARNAME "graph-tool"
  2179. | #define PACKAGE_VERSION "2.23dev"
  2180. | #define PACKAGE_STRING "graph-tool 2.23dev"
  2181. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  2182. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  2183. | #define PACKAGE "graph-tool"
  2184. | #define VERSION "2.23dev"
  2185. | #define STDC_HEADERS 1
  2186. | #define HAVE_SYS_TYPES_H 1
  2187. | #define HAVE_SYS_STAT_H 1
  2188. | #define HAVE_STDLIB_H 1
  2189. | #define HAVE_STRING_H 1
  2190. | #define HAVE_MEMORY_H 1
  2191. | #define HAVE_STRINGS_H 1
  2192. | #define HAVE_INTTYPES_H 1
  2193. | #define HAVE_STDINT_H 1
  2194. | #define HAVE_UNISTD_H 1
  2195. | #define __EXTENSIONS__ 1
  2196. | #define _ALL_SOURCE 1
  2197. | #define _GNU_SOURCE 1
  2198. | #define _POSIX_PTHREAD_SEMANTICS 1
  2199. | #define _TANDEM_SOURCE 1
  2200. | #define STDC_HEADERS 1
  2201. | #define HAVE_DLFCN_H 1
  2202. | #define LT_OBJDIR ".libs/"
  2203. | #define HAVE_CXX14 1
  2204. | #define OPENMP_MIN_THRESH 300
  2205. | #define HAVE_OPENMP 1
  2206. | #define USING_OPENMP 1
  2207. | #define HAVE_PYTHON "3.6"
  2208. | #define HAVE_BOOST /**/
  2209. | #define HAVE_BOOST_PYTHON /**/
  2210. | /* end confdefs.h. */
  2211. |
  2212. | #include <boost/python/module.hpp>
  2213. | BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }
  2214. | int
  2215. | main ()
  2216. | {
  2217. |
  2218. | ;
  2219. | return 0;
  2220. | }
  2221. configure:18814: result: no
  2222. configure:18786: checking whether boost_python-py35 is the correct library
  2223. configure:18814: result: no
  2224. configure:18786: checking whether boost_python-py35 is the correct library
  2225. configure:18814: result: no
  2226. configure:18786: checking whether boost_python is the correct library
  2227. configure:18814: result: no
  2228. configure:18786: checking whether boost_python is the correct library
  2229. configure:18814: result: no
  2230. configure:18786: checking whether boost_python is the correct library
  2231. configure:18814: result: no
  2232. configure:18786: checking whether boost_python3 is the correct library
  2233. configure:18805: g++ -o conftest -fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 -I/usr/include -I/home/bais/anaconda3/include/python3.6m -DNDEBUG -I/usr/local/include -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib conftest.cpp -lboost_python3 -L/home/bais/anaconda3/lib -lpython3.6m >&5
  2234. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)@GLIBCXX_3.4.21'
  2235. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
  2236. /usr/local/lib/libboost_python3.so: undefined reference to `std::runtime_error::runtime_error(std::runtime_error const&)@GLIBCXX_3.4.21'
  2237. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)@GLIBCXX_3.4.21'
  2238. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)@GLIBCXX_3.4.21'
  2239. /usr/local/lib/libboost_python3.so: undefined reference to `std::range_error::range_error(char const*)@GLIBCXX_3.4.21'
  2240. /usr/local/lib/libboost_python3.so: undefined reference to `std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'
  2241. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'
  2242. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct(unsigned long, wchar_t)@GLIBCXX_3.4.21'
  2243. /usr/local/lib/libboost_python3.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
  2244. /usr/local/lib/libboost_python3.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const@GLIBCXX_3.4.21'
  2245. collect2: error: ld returned 1 exit status
  2246. configure:18805: $? = 1
  2247. configure: failed program was:
  2248. | /* confdefs.h */
  2249. | #define PACKAGE_NAME "graph-tool"
  2250. | #define PACKAGE_TARNAME "graph-tool"
  2251. | #define PACKAGE_VERSION "2.23dev"
  2252. | #define PACKAGE_STRING "graph-tool 2.23dev"
  2253. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  2254. | #define PACKAGE_URL "http://graph-tool.skewed.de"
  2255. | #define PACKAGE "graph-tool"
  2256. | #define VERSION "2.23dev"
  2257. | #define STDC_HEADERS 1
  2258. | #define HAVE_SYS_TYPES_H 1
  2259. | #define HAVE_SYS_STAT_H 1
  2260. | #define HAVE_STDLIB_H 1
  2261. | #define HAVE_STRING_H 1
  2262. | #define HAVE_MEMORY_H 1
  2263. | #define HAVE_STRINGS_H 1
  2264. | #define HAVE_INTTYPES_H 1
  2265. | #define HAVE_STDINT_H 1
  2266. | #define HAVE_UNISTD_H 1
  2267. | #define __EXTENSIONS__ 1
  2268. | #define _ALL_SOURCE 1
  2269. | #define _GNU_SOURCE 1
  2270. | #define _POSIX_PTHREAD_SEMANTICS 1
  2271. | #define _TANDEM_SOURCE 1
  2272. | #define STDC_HEADERS 1
  2273. | #define HAVE_DLFCN_H 1
  2274. | #define LT_OBJDIR ".libs/"
  2275. | #define HAVE_CXX14 1
  2276. | #define OPENMP_MIN_THRESH 300
  2277. | #define HAVE_OPENMP 1
  2278. | #define USING_OPENMP 1
  2279. | #define HAVE_PYTHON "3.6"
  2280. | #define HAVE_BOOST /**/
  2281. | #define HAVE_BOOST_PYTHON /**/
  2282. | /* end confdefs.h. */
  2283. |
  2284. | #include <boost/python/module.hpp>
  2285. | BOOST_PYTHON_MODULE(test) { throw "Boost::Python test."; }
  2286. | int
  2287. | main ()
  2288. | {
  2289. |
  2290. | ;
  2291. | return 0;
  2292. | }
  2293. configure:18814: result: no
  2294. configure:18833: error: No usable boost::python found
  2295.  
  2296. ## ---------------- ##
  2297. ## Cache variables. ##
  2298. ## ---------------- ##
  2299.  
  2300. ac_cv_boost_python=yes
  2301. ac_cv_build=x86_64-pc-linux-gnu
  2302. ac_cv_c_compiler_gnu=yes
  2303. ac_cv_cxx_compiler_gnu=yes
  2304. ac_cv_env_CAIROMM_CFLAGS_set=
  2305. ac_cv_env_CAIROMM_CFLAGS_value=
  2306. ac_cv_env_CAIROMM_LIBS_set=
  2307. ac_cv_env_CAIROMM_LIBS_value=
  2308. ac_cv_env_CCC_set=
  2309. ac_cv_env_CCC_value=
  2310. ac_cv_env_CC_set=
  2311. ac_cv_env_CC_value=
  2312. ac_cv_env_CFLAGS_set=
  2313. ac_cv_env_CFLAGS_value=
  2314. ac_cv_env_CPPFLAGS_set=set
  2315. ac_cv_env_CPPFLAGS_value=-I/usr/local/include
  2316. ac_cv_env_CPP_set=
  2317. ac_cv_env_CPP_value=
  2318. ac_cv_env_CXXCPP_set=
  2319. ac_cv_env_CXXCPP_value=
  2320. ac_cv_env_CXXFLAGS_set=
  2321. ac_cv_env_CXXFLAGS_value=
  2322. ac_cv_env_CXX_set=
  2323. ac_cv_env_CXX_value=
  2324. ac_cv_env_LDFLAGS_set=set
  2325. ac_cv_env_LDFLAGS_value=-L/usr/local/lib
  2326. ac_cv_env_LIBS_set=
  2327. ac_cv_env_LIBS_value=
  2328. ac_cv_env_PKG_CONFIG_LIBDIR_set=
  2329. ac_cv_env_PKG_CONFIG_LIBDIR_value=
  2330. ac_cv_env_PKG_CONFIG_PATH_set=set
  2331. ac_cv_env_PKG_CONFIG_PATH_value=/usr/local/lib64/pkgconfig:/usr/local/lib64/pkgconfig:
  2332. ac_cv_env_PKG_CONFIG_set=
  2333. ac_cv_env_PKG_CONFIG_value=
  2334. ac_cv_env_PYTHON_VERSION_set=
  2335. ac_cv_env_PYTHON_VERSION_value=
  2336. ac_cv_env_PYTHON_set=set
  2337. ac_cv_env_PYTHON_value=/home/bais/anaconda3/bin/python
  2338. ac_cv_env_SPARSEHASH_CFLAGS_set=
  2339. ac_cv_env_SPARSEHASH_CFLAGS_value=
  2340. ac_cv_env_SPARSEHASH_LIBS_set=
  2341. ac_cv_env_SPARSEHASH_LIBS_value=
  2342. ac_cv_env_build_alias_set=
  2343. ac_cv_env_build_alias_value=
  2344. ac_cv_env_host_alias_set=
  2345. ac_cv_env_host_alias_value=
  2346. ac_cv_env_target_alias_set=
  2347. ac_cv_env_target_alias_value=
  2348. ac_cv_header_dlfcn_h=yes
  2349. ac_cv_header_inttypes_h=yes
  2350. ac_cv_header_memory_h=yes
  2351. ac_cv_header_minix_config_h=no
  2352. ac_cv_header_stdc=yes
  2353. ac_cv_header_stdint_h=yes
  2354. ac_cv_header_stdlib_h=yes
  2355. ac_cv_header_string_h=yes
  2356. ac_cv_header_strings_h=yes
  2357. ac_cv_header_sys_stat_h=yes
  2358. ac_cv_header_sys_types_h=yes
  2359. ac_cv_header_unistd_h=yes
  2360. ac_cv_host=x86_64-pc-linux-gnu
  2361. ac_cv_objext=o
  2362. ac_cv_path_EGREP='/bin/grep -E'
  2363. ac_cv_path_FGREP='/bin/grep -F'
  2364. ac_cv_path_GREP=/bin/grep
  2365. ac_cv_path_PYTHON=/home/bais/anaconda3/bin/python
  2366. ac_cv_path_SED=/bin/sed
  2367. ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
  2368. ac_cv_path_install='/usr/bin/install -c'
  2369. ac_cv_path_mkdir=/bin/mkdir
  2370. ac_cv_prog_AWK=gawk
  2371. ac_cv_prog_CPP='gcc -E'
  2372. ac_cv_prog_CXXCPP='g++ -E'
  2373. ac_cv_prog_ac_ct_AR=ar
  2374. ac_cv_prog_ac_ct_CC=gcc
  2375. ac_cv_prog_ac_ct_CXX=g++
  2376. ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  2377. ac_cv_prog_ac_ct_OBJDUMP=objdump
  2378. ac_cv_prog_ac_ct_RANLIB=ranlib
  2379. ac_cv_prog_ac_ct_STRIP=strip
  2380. ac_cv_prog_cc_c89=
  2381. ac_cv_prog_cc_c99=no
  2382. ac_cv_prog_cc_g=yes
  2383. ac_cv_prog_cc_stdc=
  2384. ac_cv_prog_cxx_g=yes
  2385. ac_cv_prog_make_make_set=yes
  2386. ac_cv_safe_to_define___extensions__=yes
  2387. ac_cv_search_strerror='none required'
  2388. ac_cv_target=x86_64-pc-linux-gnu
  2389. am_cv_CC_dependencies_compiler_type=gcc3
  2390. am_cv_CXX_dependencies_compiler_type=gcc3
  2391. am_cv_make_support_nested_variables=yes
  2392. am_cv_prog_cc_c_o=yes
  2393. am_cv_python_platform=linux
  2394. am_cv_python_pyexecdir='${exec_prefix}/lib/python3.6/site-packages'
  2395. am_cv_python_pythondir='${prefix}/lib/python3.6/site-packages'
  2396. am_cv_python_version=3.6
  2397. ax_cv_cxx_compile_cxx14=yes
  2398. ax_cv_cxx_openmp=-fopenmp
  2399. ax_cv_lib_boost_python3___BOOST_PYTHON_MODULE=no
  2400. ax_cv_lib_boost_python___BOOST_PYTHON_MODULE=no
  2401. ax_cv_lib_boost_python_py27___BOOST_PYTHON_MODULE=no
  2402. ax_cv_lib_boost_python_py35___BOOST_PYTHON_MODULE=no
  2403. lt_cv_ar_at_file=@
  2404. lt_cv_archive_cmds_need_lc=no
  2405. lt_cv_deplibs_check_method=pass_all
  2406. lt_cv_file_magic_cmd='$MAGIC_CMD'
  2407. lt_cv_file_magic_test_file=
  2408. lt_cv_ld_reload_flag=-r
  2409. lt_cv_nm_interface='BSD nm'
  2410. lt_cv_objdir=.libs
  2411. lt_cv_path_LD=/usr/bin/ld
  2412. lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
  2413. lt_cv_path_NM='/usr/bin/nm -B'
  2414. lt_cv_path_mainfest_tool=no
  2415. lt_cv_prog_compiler_c_o=yes
  2416. lt_cv_prog_compiler_c_o_CXX=yes
  2417. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  2418. lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
  2419. lt_cv_prog_compiler_pic_works=yes
  2420. lt_cv_prog_compiler_pic_works_CXX=yes
  2421. lt_cv_prog_compiler_rtti_exceptions=no
  2422. lt_cv_prog_compiler_static_works=yes
  2423. lt_cv_prog_compiler_static_works_CXX=yes
  2424. lt_cv_prog_gnu_ld=yes
  2425. lt_cv_prog_gnu_ldcxx=yes
  2426. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  2427. lt_cv_shlibpath_overrides_runpath=yes
  2428. 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'\'''
  2429. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  2430. 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'\'''
  2431. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  2432. lt_cv_sys_max_cmd_len=1572864
  2433. lt_cv_to_host_file_cmd=func_convert_file_noop
  2434. lt_cv_to_tool_file_cmd=func_convert_file_noop
  2435.  
  2436. ## ----------------- ##
  2437. ## Output variables. ##
  2438. ## ----------------- ##
  2439.  
  2440. ACLOCAL='${SHELL} /home/bais/git/graph-tool/build-aux/missing aclocal-1.15'
  2441. AMDEPBACKSLASH='\'
  2442. AMDEP_FALSE='#'
  2443. AMDEP_TRUE=''
  2444. AMTAR='$${TAR-tar}'
  2445. AM_BACKSLASH='\'
  2446. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2447. AM_DEFAULT_VERBOSITY='0'
  2448. AM_V='$(V)'
  2449. AR='ar'
  2450. AUTOCONF='${SHELL} /home/bais/git/graph-tool/build-aux/missing autoconf'
  2451. AUTOHEADER='${SHELL} /home/bais/git/graph-tool/build-aux/missing autoheader'
  2452. AUTOMAKE='${SHELL} /home/bais/git/graph-tool/build-aux/missing automake-1.15'
  2453. AWK='gawk'
  2454. BOOST_COROUTINE_LIB=''
  2455. BOOST_CPPFLAGS='-I/usr/include'
  2456. BOOST_GRAPH_LIB=''
  2457. BOOST_IOSTREAMS_LIB=''
  2458. BOOST_LDFLAGS='-L/usr/lib/x86_64-linux-gnu'
  2459. BOOST_PYTHON_LIB=''
  2460. BOOST_REGEX_LIB=''
  2461. BOOST_THREAD_LIB=''
  2462. CAIROMM_CFLAGS=''
  2463. CAIROMM_LIBS=''
  2464. CC='gcc'
  2465. CCDEPMODE='depmode=gcc3'
  2466. CFLAGS='-g -O2'
  2467. CGAL_CPPFLAGS=''
  2468. CGAL_FLAGS=''
  2469. CGAL_LDFLAGS=''
  2470. CPP='gcc -E'
  2471. CPPFLAGS='-DNDEBUG -I/usr/local/include'
  2472. CXX='g++'
  2473. CXXCPP='g++ -E'
  2474. CXXDEPMODE='depmode=gcc3'
  2475. CXXFLAGS='-fopenmp -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-deprecated -Wall -Wextra -ftemplate-backtrace-limit=0 '
  2476. CYGPATH_W='echo'
  2477. DEFS=''
  2478. DEPDIR='.deps'
  2479. DLLTOOL='false'
  2480. DSYMUTIL=''
  2481. DUMPBIN=''
  2482. ECHO_C=''
  2483. ECHO_N='-n'
  2484. ECHO_T=''
  2485. EGREP='/bin/grep -E'
  2486. EXEEXT=''
  2487. EXPAT_CFLAGS='-I/usr/include'
  2488. EXPAT_LDFLAGS='-L/usr/lib'
  2489. EXPAT_LIBS='-lexpat'
  2490. EXPAT_VERSION=''
  2491. FGREP='/bin/grep -F'
  2492. GRAPH_TOOL_VERSION_MAJOR='2'
  2493. GRAPH_TOOL_VERSION_MINOR='23dev'
  2494. GREP='/bin/grep'
  2495. HAVE_CXX14='1'
  2496. INSTALL_DATA='${INSTALL} -m 644'
  2497. INSTALL_PROGRAM='${INSTALL}'
  2498. INSTALL_SCRIPT='${INSTALL}'
  2499. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  2500. LD='/usr/bin/ld -m elf_x86_64'
  2501. LDFLAGS='-L/usr/local/lib'
  2502. LIBOBJS=''
  2503. LIBS=''
  2504. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  2505. LIPO=''
  2506. LN_S='ln -s'
  2507. LTLIBOBJS=''
  2508. MAKEINFO='${SHELL} /home/bais/git/graph-tool/build-aux/missing makeinfo'
  2509. MANIFEST_TOOL=':'
  2510. MKDIR_P='/bin/mkdir -p'
  2511. MOD_CPPFLAGS=''
  2512. MOD_DIR='/home/bais/anaconda3/lib/python3.6/site-packages/graph_tool'
  2513. MOD_LDFLAGS=''
  2514. MOD_LIBADD=''
  2515. NM='/usr/bin/nm -B'
  2516. NMEDIT=''
  2517. NO_PREFIX_PACKAGE_DATA_DIR=''
  2518. NO_PREFIX_PACKAGE_DOC_DIR=''
  2519. OBJDUMP='objdump'
  2520. OBJEXT='o'
  2521. OTOOL64=''
  2522. OTOOL=''
  2523. PACKAGE='graph-tool'
  2524. PACKAGE_BUGREPORT='http://graph-tool.skewed.de/issues'
  2525. PACKAGE_DATA_DIR=''
  2526. PACKAGE_DOC_DIR=''
  2527. PACKAGE_NAME='graph-tool'
  2528. PACKAGE_STRING='graph-tool 2.23dev'
  2529. PACKAGE_TARNAME='graph-tool'
  2530. PACKAGE_URL='http://graph-tool.skewed.de'
  2531. PACKAGE_VERSION='2.23dev'
  2532. PATH_SEPARATOR=':'
  2533. PKG_CONFIG='/usr/bin/pkg-config'
  2534. PKG_CONFIG_LIBDIR=''
  2535. PKG_CONFIG_PATH='/usr/local/lib64/pkgconfig:/usr/local/lib64/pkgconfig:'
  2536. PYTHON='/home/bais/anaconda3/bin/python'
  2537. PYTHON_CPPFLAGS='-I/home/bais/anaconda3/include/python3.6m'
  2538. PYTHON_EXEC_PREFIX='${exec_prefix}'
  2539. PYTHON_EXTRA_LDFLAGS='-lpthread -ldl -lutil -lrt -lm'
  2540. PYTHON_EXTRA_LIBS='-Xlinker -export-dynamic'
  2541. PYTHON_FULL_VERSION='3.6.1'
  2542. PYTHON_LIBS='-L/home/bais/anaconda3/lib -lpython3.6m'
  2543. PYTHON_PLATFORM='linux'
  2544. PYTHON_PREFIX='${prefix}'
  2545. PYTHON_SITE_PKG='/home/bais/anaconda3/lib/python3.6/site-packages'
  2546. PYTHON_VERSION='3.6'
  2547. RANLIB='ranlib'
  2548. SED='/bin/sed'
  2549. SET_MAKE=''
  2550. SHELL='/bin/bash'
  2551. SPARSEHASH_CFLAGS=''
  2552. SPARSEHASH_LIBS=''
  2553. STRIP='strip'
  2554. VERSION='2.23dev'
  2555. ac_ct_AR='ar'
  2556. ac_ct_CC='gcc'
  2557. ac_ct_CXX='g++'
  2558. ac_ct_DUMPBIN=''
  2559. am__EXEEXT_FALSE=''
  2560. am__EXEEXT_TRUE=''
  2561. am__fastdepCC_FALSE='#'
  2562. am__fastdepCC_TRUE=''
  2563. am__fastdepCXX_FALSE='#'
  2564. am__fastdepCXX_TRUE=''
  2565. am__include='include'
  2566. am__isrc=''
  2567. am__leading_dot='.'
  2568. am__nodep='_no'
  2569. am__quote=''
  2570. am__tar='$${TAR-tar} chof - "$$tardir"'
  2571. am__untar='$${TAR-tar} xf -'
  2572. bindir='${exec_prefix}/bin'
  2573. build='x86_64-pc-linux-gnu'
  2574. build_alias=''
  2575. build_cpu='x86_64'
  2576. build_os='linux-gnu'
  2577. build_vendor='pc'
  2578. datadir='${datarootdir}'
  2579. datarootdir='${prefix}/share'
  2580. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  2581. dvidir='${docdir}'
  2582. exec_prefix='NONE'
  2583. host='x86_64-pc-linux-gnu'
  2584. host_alias=''
  2585. host_cpu='x86_64'
  2586. host_os='linux-gnu'
  2587. host_vendor='pc'
  2588. htmldir='${docdir}'
  2589. includedir='${prefix}/include'
  2590. infodir='${datarootdir}/info'
  2591. install_sh='${SHELL} /home/bais/git/graph-tool/build-aux/install-sh'
  2592. libdir='${exec_prefix}/lib'
  2593. libexecdir='${exec_prefix}/libexec'
  2594. localedir='${datarootdir}/locale'
  2595. localstatedir='${prefix}/var'
  2596. mandir='${datarootdir}/man'
  2597. mkdir_p='$(MKDIR_P)'
  2598. oldincludedir='/usr/include'
  2599. pdfdir='${docdir}'
  2600. pkgconfig_libdir=''
  2601. pkgconfig_libfile=''
  2602. pkgconfigdir='${libdir}/pkgconfig'
  2603. pkgpyexecdir='${pyexecdir}/graph-tool'
  2604. pkgpythondir='${pythondir}/graph-tool'
  2605. prefix='/usr/local'
  2606. program_transform_name='s,x,x,'
  2607. psdir='${docdir}'
  2608. pyexecdir='${exec_prefix}/lib/python3.6/site-packages'
  2609. pythondir='${prefix}/lib/python3.6/site-packages'
  2610. runstatedir='${localstatedir}/run'
  2611. sbindir='${exec_prefix}/sbin'
  2612. sharedstatedir='${prefix}/com'
  2613. sysconfdir='${prefix}/etc'
  2614. target='x86_64-pc-linux-gnu'
  2615. target_alias=''
  2616. target_cpu='x86_64'
  2617. target_os='linux-gnu'
  2618. target_vendor='pc'
  2619.  
  2620. ## ----------- ##
  2621. ## confdefs.h. ##
  2622. ## ----------- ##
  2623.  
  2624. /* confdefs.h */
  2625. #define PACKAGE_NAME "graph-tool"
  2626. #define PACKAGE_TARNAME "graph-tool"
  2627. #define PACKAGE_VERSION "2.23dev"
  2628. #define PACKAGE_STRING "graph-tool 2.23dev"
  2629. #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de/issues"
  2630. #define PACKAGE_URL "http://graph-tool.skewed.de"
  2631. #define PACKAGE "graph-tool"
  2632. #define VERSION "2.23dev"
  2633. #define STDC_HEADERS 1
  2634. #define HAVE_SYS_TYPES_H 1
  2635. #define HAVE_SYS_STAT_H 1
  2636. #define HAVE_STDLIB_H 1
  2637. #define HAVE_STRING_H 1
  2638. #define HAVE_MEMORY_H 1
  2639. #define HAVE_STRINGS_H 1
  2640. #define HAVE_INTTYPES_H 1
  2641. #define HAVE_STDINT_H 1
  2642. #define HAVE_UNISTD_H 1
  2643. #define __EXTENSIONS__ 1
  2644. #define _ALL_SOURCE 1
  2645. #define _GNU_SOURCE 1
  2646. #define _POSIX_PTHREAD_SEMANTICS 1
  2647. #define _TANDEM_SOURCE 1
  2648. #define STDC_HEADERS 1
  2649. #define HAVE_DLFCN_H 1
  2650. #define LT_OBJDIR ".libs/"
  2651. #define HAVE_CXX14 1
  2652. #define OPENMP_MIN_THRESH 300
  2653. #define HAVE_OPENMP 1
  2654. #define USING_OPENMP 1
  2655. #define HAVE_PYTHON "3.6"
  2656. #define HAVE_BOOST /**/
  2657. #define HAVE_BOOST_PYTHON /**/
  2658.  
  2659. configure: exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement