Advertisement
Guest User

msah_grahtool

a guest
Jul 22nd, 2013
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 78.21 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.2.24, which was
  5. generated by GNU Autoconf 2.68. Invocation command line was
  6.  
  7. $ ./configure --prefix=/lab/app/python/python_mohammad/my_py/ CXXFLAGS=-I/lab/app/python/python_mohammad/my_py/include/python2.7 CFLAGS=-I/lab/app/python/python_mohammad/my_py/include/python2.7 PYTHON=/lab/app/python/python_mohammad/my_py/bin/python2.7 LDFLAGS=-L/lab/app/python/python_mohammad/my_py/include/python2.7/ PYTHON=/lab/app/python/python_mohammad/my_py/bin/python --with-boost=/lab/app/python/python_mohammad/my_py/lib PYTHON_LDFLAGS=-L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7
  8.  
  9. ## --------- ##
  10. ## Platform. ##
  11. ## --------- ##
  12.  
  13. hostname = atomic
  14. uname -m = x86_64
  15. uname -r = 3.2.0-48-generic
  16. uname -s = Linux
  17. uname -v = #74-Ubuntu SMP Thu Jun 6 19:43:26 UTC 2013
  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: /lab/app/python/python_mohammad/Python-2.7.3/
  31. PATH: /lab/app/python/python_mohammad/Python-2.7.3/
  32. PATH: /lab/app/python/python_mohammad/Python-2.7.3/
  33. PATH: /lab/app/python/python_mohammad/Python-2.7.3/
  34. PATH: /lab/bin
  35. PATH: /bin
  36. PATH: /usr/sbin
  37. PATH: /sbin
  38. PATH: /usr/bin
  39. PATH: /usr/bin/X11
  40. PATH: /usr/X11R6/bin
  41. PATH: /usr/local/bin
  42. PATH: .
  43. PATH: /lab/app/python/python_mohammad/my_py/bin/
  44.  
  45.  
  46. ## ----------- ##
  47. ## Core tests. ##
  48. ## ----------- ##
  49.  
  50. configure:2653: checking for a BSD-compatible install
  51. configure:2721: result: /usr/bin/install -c
  52. configure:2732: checking whether build environment is sane
  53. configure:2787: result: yes
  54. configure:2938: checking for a thread-safe mkdir -p
  55. configure:2977: result: /bin/mkdir -p
  56. configure:2984: checking for gawk
  57. configure:3014: result: no
  58. configure:2984: checking for mawk
  59. configure:3000: found /usr/bin/mawk
  60. configure:3011: result: mawk
  61. configure:3022: checking whether make sets $(MAKE)
  62. configure:3044: result: yes
  63. configure:3073: checking whether make supports nested variables
  64. configure:3090: result: yes
  65. configure:3180: checking whether make supports nested variables
  66. configure:3197: result: yes
  67. configure:3220: checking for style of include used by make
  68. configure:3248: result: GNU
  69. configure:3319: checking for gcc
  70. configure:3335: found /usr/bin/gcc
  71. configure:3346: result: gcc
  72. configure:3575: checking for C compiler version
  73. configure:3584: gcc --version >&5
  74. gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
  75. Copyright (C) 2011 Free Software Foundation, Inc.
  76. This is free software; see the source for copying conditions. There is NO
  77. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  78.  
  79. configure:3595: $? = 0
  80. configure:3584: gcc -v >&5
  81. Using built-in specs.
  82. COLLECT_GCC=gcc
  83. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
  84. Target: x86_64-linux-gnu
  85. Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  86. Thread model: posix
  87. gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  88. configure:3595: $? = 0
  89. configure:3584: gcc -V >&5
  90. gcc: error: unrecognized option '-V'
  91. gcc: fatal error: no input files
  92. compilation terminated.
  93. configure:3595: $? = 4
  94. configure:3584: gcc -qversion >&5
  95. gcc: error: unrecognized option '-qversion'
  96. gcc: fatal error: no input files
  97. compilation terminated.
  98. configure:3595: $? = 4
  99. configure:3615: checking whether the C compiler works
  100. configure:3637: gcc -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c >&5
  101. configure:3641: $? = 0
  102. configure:3689: result: yes
  103. configure:3692: checking for C compiler default output file name
  104. configure:3694: result: a.out
  105. configure:3700: checking for suffix of executables
  106. configure:3707: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c >&5
  107. configure:3711: $? = 0
  108. configure:3733: result:
  109. configure:3755: checking whether we are cross compiling
  110. configure:3763: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c >&5
  111. configure:3767: $? = 0
  112. configure:3774: ./conftest
  113. configure:3778: $? = 0
  114. configure:3793: result: no
  115. configure:3798: checking for suffix of object files
  116. configure:3820: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  117. configure:3824: $? = 0
  118. configure:3845: result: o
  119. configure:3849: checking whether we are using the GNU C compiler
  120. configure:3868: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  121. configure:3868: $? = 0
  122. configure:3877: result: yes
  123. configure:3886: checking whether gcc accepts -g
  124. configure:3906: gcc -c -g conftest.c >&5
  125. configure:3906: $? = 0
  126. configure:3947: result: yes
  127. configure:3964: checking for gcc option to accept ISO C89
  128. configure:4028: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  129. configure:4028: $? = 0
  130. configure:4041: result: none needed
  131. configure:4063: checking dependency style of gcc
  132. configure:4174: result: gcc3
  133. configure:4190: checking whether gcc and cc understand -c and -o together
  134. configure:4221: gcc -c conftest.c -o conftest2.o >&5
  135. configure:4225: $? = 0
  136. configure:4231: gcc -c conftest.c -o conftest2.o >&5
  137. configure:4235: $? = 0
  138. configure:4246: cc -c conftest.c >&5
  139. configure:4250: $? = 0
  140. configure:4258: cc -c conftest.c -o conftest2.o >&5
  141. configure:4262: $? = 0
  142. configure:4268: cc -c conftest.c -o conftest2.o >&5
  143. configure:4272: $? = 0
  144. configure:4290: result: yes
  145. configure:4320: checking for library containing strerror
  146. configure:4351: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c >&5
  147. configure:4351: $? = 0
  148. configure:4368: result: none required
  149. configure:4383: checking how to run the C preprocessor
  150. configure:4414: gcc -E conftest.c
  151. configure:4414: $? = 0
  152. configure:4428: gcc -E conftest.c
  153. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  154. compilation terminated.
  155. configure:4428: $? = 1
  156. configure: failed program was:
  157. | /* confdefs.h */
  158. | #define PACKAGE_NAME "graph-tool"
  159. | #define PACKAGE_TARNAME "graph-tool"
  160. | #define PACKAGE_VERSION "2.2.24"
  161. | #define PACKAGE_STRING "graph-tool 2.2.24"
  162. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  163. | #define PACKAGE_URL ""
  164. | #define PACKAGE "graph-tool"
  165. | #define VERSION "2.2.24"
  166. | /* end confdefs.h. */
  167. | #include <ac_nonexistent.h>
  168. configure:4453: result: gcc -E
  169. configure:4473: gcc -E conftest.c
  170. configure:4473: $? = 0
  171. configure:4487: gcc -E conftest.c
  172. conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
  173. compilation terminated.
  174. configure:4487: $? = 1
  175. configure: failed program was:
  176. | /* confdefs.h */
  177. | #define PACKAGE_NAME "graph-tool"
  178. | #define PACKAGE_TARNAME "graph-tool"
  179. | #define PACKAGE_VERSION "2.2.24"
  180. | #define PACKAGE_STRING "graph-tool 2.2.24"
  181. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  182. | #define PACKAGE_URL ""
  183. | #define PACKAGE "graph-tool"
  184. | #define VERSION "2.2.24"
  185. | /* end confdefs.h. */
  186. | #include <ac_nonexistent.h>
  187. configure:4516: checking for grep that handles long lines and -e
  188. configure:4574: result: /bin/grep
  189. configure:4579: checking for egrep
  190. configure:4641: result: /bin/grep -E
  191. configure:4646: checking for ANSI C header files
  192. configure:4666: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  193. configure:4666: $? = 0
  194. configure:4739: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c >&5
  195. configure:4739: $? = 0
  196. configure:4739: ./conftest
  197. configure:4739: $? = 0
  198. configure:4750: result: yes
  199. configure:4763: checking for sys/types.h
  200. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  201. configure:4763: $? = 0
  202. configure:4763: result: yes
  203. configure:4763: checking for sys/stat.h
  204. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  205. configure:4763: $? = 0
  206. configure:4763: result: yes
  207. configure:4763: checking for stdlib.h
  208. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  209. configure:4763: $? = 0
  210. configure:4763: result: yes
  211. configure:4763: checking for string.h
  212. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  213. configure:4763: $? = 0
  214. configure:4763: result: yes
  215. configure:4763: checking for memory.h
  216. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  217. configure:4763: $? = 0
  218. configure:4763: result: yes
  219. configure:4763: checking for strings.h
  220. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  221. configure:4763: $? = 0
  222. configure:4763: result: yes
  223. configure:4763: checking for inttypes.h
  224. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  225. configure:4763: $? = 0
  226. configure:4763: result: yes
  227. configure:4763: checking for stdint.h
  228. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  229. configure:4763: $? = 0
  230. configure:4763: result: yes
  231. configure:4763: checking for unistd.h
  232. configure:4763: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  233. configure:4763: $? = 0
  234. configure:4763: result: yes
  235. configure:4776: checking minix/config.h usability
  236. configure:4776: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  237. conftest.c:54:26: fatal error: minix/config.h: No such file or directory
  238. compilation terminated.
  239. configure:4776: $? = 1
  240. configure: failed program was:
  241. | /* confdefs.h */
  242. | #define PACKAGE_NAME "graph-tool"
  243. | #define PACKAGE_TARNAME "graph-tool"
  244. | #define PACKAGE_VERSION "2.2.24"
  245. | #define PACKAGE_STRING "graph-tool 2.2.24"
  246. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  247. | #define PACKAGE_URL ""
  248. | #define PACKAGE "graph-tool"
  249. | #define VERSION "2.2.24"
  250. | #define STDC_HEADERS 1
  251. | #define HAVE_SYS_TYPES_H 1
  252. | #define HAVE_SYS_STAT_H 1
  253. | #define HAVE_STDLIB_H 1
  254. | #define HAVE_STRING_H 1
  255. | #define HAVE_MEMORY_H 1
  256. | #define HAVE_STRINGS_H 1
  257. | #define HAVE_INTTYPES_H 1
  258. | #define HAVE_STDINT_H 1
  259. | #define HAVE_UNISTD_H 1
  260. | /* end confdefs.h. */
  261. | #include <stdio.h>
  262. | #ifdef HAVE_SYS_TYPES_H
  263. | # include <sys/types.h>
  264. | #endif
  265. | #ifdef HAVE_SYS_STAT_H
  266. | # include <sys/stat.h>
  267. | #endif
  268. | #ifdef STDC_HEADERS
  269. | # include <stdlib.h>
  270. | # include <stddef.h>
  271. | #else
  272. | # ifdef HAVE_STDLIB_H
  273. | # include <stdlib.h>
  274. | # endif
  275. | #endif
  276. | #ifdef HAVE_STRING_H
  277. | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  278. | # include <memory.h>
  279. | # endif
  280. | # include <string.h>
  281. | #endif
  282. | #ifdef HAVE_STRINGS_H
  283. | # include <strings.h>
  284. | #endif
  285. | #ifdef HAVE_INTTYPES_H
  286. | # include <inttypes.h>
  287. | #endif
  288. | #ifdef HAVE_STDINT_H
  289. | # include <stdint.h>
  290. | #endif
  291. | #ifdef HAVE_UNISTD_H
  292. | # include <unistd.h>
  293. | #endif
  294. | #include <minix/config.h>
  295. configure:4776: result: no
  296. configure:4776: checking minix/config.h presence
  297. configure:4776: gcc -E conftest.c
  298. conftest.c:21:26: fatal error: minix/config.h: No such file or directory
  299. compilation terminated.
  300. configure:4776: $? = 1
  301. configure: failed program was:
  302. | /* confdefs.h */
  303. | #define PACKAGE_NAME "graph-tool"
  304. | #define PACKAGE_TARNAME "graph-tool"
  305. | #define PACKAGE_VERSION "2.2.24"
  306. | #define PACKAGE_STRING "graph-tool 2.2.24"
  307. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  308. | #define PACKAGE_URL ""
  309. | #define PACKAGE "graph-tool"
  310. | #define VERSION "2.2.24"
  311. | #define STDC_HEADERS 1
  312. | #define HAVE_SYS_TYPES_H 1
  313. | #define HAVE_SYS_STAT_H 1
  314. | #define HAVE_STDLIB_H 1
  315. | #define HAVE_STRING_H 1
  316. | #define HAVE_MEMORY_H 1
  317. | #define HAVE_STRINGS_H 1
  318. | #define HAVE_INTTYPES_H 1
  319. | #define HAVE_STDINT_H 1
  320. | #define HAVE_UNISTD_H 1
  321. | /* end confdefs.h. */
  322. | #include <minix/config.h>
  323. configure:4776: result: no
  324. configure:4776: checking for minix/config.h
  325. configure:4776: result: no
  326. configure:4797: checking whether it is safe to define __EXTENSIONS__
  327. configure:4815: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  328. configure:4815: $? = 0
  329. configure:4822: result: yes
  330. configure:4894: checking for g++
  331. configure:4910: found /usr/bin/g++
  332. configure:4921: result: g++
  333. configure:4948: checking for C++ compiler version
  334. configure:4957: g++ --version >&5
  335. g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
  336. Copyright (C) 2011 Free Software Foundation, Inc.
  337. This is free software; see the source for copying conditions. There is NO
  338. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  339.  
  340. configure:4968: $? = 0
  341. configure:4957: g++ -v >&5
  342. Using built-in specs.
  343. COLLECT_GCC=g++
  344. COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
  345. Target: x86_64-linux-gnu
  346. Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
  347. Thread model: posix
  348. gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  349. configure:4968: $? = 0
  350. configure:4957: g++ -V >&5
  351. g++: error: unrecognized option '-V'
  352. g++: fatal error: no input files
  353. compilation terminated.
  354. configure:4968: $? = 4
  355. configure:4957: g++ -qversion >&5
  356. g++: error: unrecognized option '-qversion'
  357. g++: fatal error: no input files
  358. compilation terminated.
  359. configure:4968: $? = 4
  360. configure:4972: checking whether we are using the GNU C++ compiler
  361. configure:4991: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  362. configure:4991: $? = 0
  363. configure:5000: result: yes
  364. configure:5009: checking whether g++ accepts -g
  365. configure:5029: g++ -c -g conftest.cpp >&5
  366. configure:5029: $? = 0
  367. configure:5070: result: yes
  368. configure:5095: checking dependency style of g++
  369. configure:5206: result: gcc3
  370. configure:5231: checking for gcc option to accept ISO C99
  371. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  372. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  373. conftest.cpp: In function 'int test_restrict(ccp)':
  374. conftest.cpp:81:30: error: 'text' was not declared in this scope
  375. conftest.cpp: In function 'int main()':
  376. conftest.cpp:130:18: error: expected initializer before 'newvar'
  377. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  378. conftest.cpp:145:5: error: expected primary-expression before '.' token
  379. conftest.cpp:146:5: error: expected primary-expression before '.' token
  380. conftest.cpp:147:5: error: expected primary-expression before '.' token
  381. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  382. configure:5380: $? = 1
  383. configure: failed program was:
  384. | /* confdefs.h */
  385. | #define PACKAGE_NAME "graph-tool"
  386. | #define PACKAGE_TARNAME "graph-tool"
  387. | #define PACKAGE_VERSION "2.2.24"
  388. | #define PACKAGE_STRING "graph-tool 2.2.24"
  389. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  390. | #define PACKAGE_URL ""
  391. | #define PACKAGE "graph-tool"
  392. | #define VERSION "2.2.24"
  393. | #define STDC_HEADERS 1
  394. | #define HAVE_SYS_TYPES_H 1
  395. | #define HAVE_SYS_STAT_H 1
  396. | #define HAVE_STDLIB_H 1
  397. | #define HAVE_STRING_H 1
  398. | #define HAVE_MEMORY_H 1
  399. | #define HAVE_STRINGS_H 1
  400. | #define HAVE_INTTYPES_H 1
  401. | #define HAVE_STDINT_H 1
  402. | #define HAVE_UNISTD_H 1
  403. | #define __EXTENSIONS__ 1
  404. | #define _ALL_SOURCE 1
  405. | #define _GNU_SOURCE 1
  406. | #define _POSIX_PTHREAD_SEMANTICS 1
  407. | #define _TANDEM_SOURCE 1
  408. | /* end confdefs.h. */
  409. | #include <stdarg.h>
  410. | #include <stdbool.h>
  411. | #include <stdlib.h>
  412. | #include <wchar.h>
  413. | #include <stdio.h>
  414. |
  415. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  416. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  417. | #define showlist(...) puts (#__VA_ARGS__)
  418. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  419. | static void
  420. | test_varargs_macros (void)
  421. | {
  422. | int x = 1234;
  423. | int y = 5678;
  424. | debug ("Flag");
  425. | debug ("X = %d\n", x);
  426. | showlist (The first, second, and third items.);
  427. | report (x>y, "x is %d but y is %d", x, y);
  428. | }
  429. |
  430. | // Check long long types.
  431. | #define BIG64 18446744073709551615ull
  432. | #define BIG32 4294967295ul
  433. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  434. | #if !BIG_OK
  435. | your preprocessor is broken;
  436. | #endif
  437. | #if BIG_OK
  438. | #else
  439. | your preprocessor is broken;
  440. | #endif
  441. | static long long int bignum = -9223372036854775807LL;
  442. | static unsigned long long int ubignum = BIG64;
  443. |
  444. | struct incomplete_array
  445. | {
  446. | int datasize;
  447. | double data[];
  448. | };
  449. |
  450. | struct named_init {
  451. | int number;
  452. | const wchar_t *name;
  453. | double average;
  454. | };
  455. |
  456. | typedef const char *ccp;
  457. |
  458. | static inline int
  459. | test_restrict (ccp restrict text)
  460. | {
  461. | // See if C++-style comments work.
  462. | // Iterate through items via the restricted pointer.
  463. | // Also check for declarations in for loops.
  464. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  465. | continue;
  466. | return 0;
  467. | }
  468. |
  469. | // Check varargs and va_copy.
  470. | static void
  471. | test_varargs (const char *format, ...)
  472. | {
  473. | va_list args;
  474. | va_start (args, format);
  475. | va_list args_copy;
  476. | va_copy (args_copy, args);
  477. |
  478. | const char *str;
  479. | int number;
  480. | float fnumber;
  481. |
  482. | while (*format)
  483. | {
  484. | switch (*format++)
  485. | {
  486. | case 's': // string
  487. | str = va_arg (args_copy, const char *);
  488. | break;
  489. | case 'd': // int
  490. | number = va_arg (args_copy, int);
  491. | break;
  492. | case 'f': // float
  493. | fnumber = va_arg (args_copy, double);
  494. | break;
  495. | default:
  496. | break;
  497. | }
  498. | }
  499. | va_end (args_copy);
  500. | va_end (args);
  501. | }
  502. |
  503. | int
  504. | main ()
  505. | {
  506. |
  507. | // Check bool.
  508. | _Bool success = false;
  509. |
  510. | // Check restrict.
  511. | if (test_restrict ("String literal") == 0)
  512. | success = true;
  513. | char *restrict newvar = "Another string";
  514. |
  515. | // Check varargs.
  516. | test_varargs ("s, d' f .", "string", 65, 34.234);
  517. | test_varargs_macros ();
  518. |
  519. | // Check flexible array members.
  520. | struct incomplete_array *ia =
  521. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  522. | ia->datasize = 10;
  523. | for (int i = 0; i < ia->datasize; ++i)
  524. | ia->data[i] = i * 1.234;
  525. |
  526. | // Check named initializers.
  527. | struct named_init ni = {
  528. | .number = 34,
  529. | .name = L"Test wide string",
  530. | .average = 543.34343,
  531. | };
  532. |
  533. | ni.number = 58;
  534. |
  535. | int dynamic_array[ni.number];
  536. | dynamic_array[ni.number - 1] = 543;
  537. |
  538. | // work around unused variable warnings
  539. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  540. | || dynamic_array[ni.number - 1] != 543);
  541. |
  542. | ;
  543. | return 0;
  544. | }
  545. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  546. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  547. conftest.cpp: In function 'int test_restrict(ccp)':
  548. conftest.cpp:81:30: error: 'text' was not declared in this scope
  549. conftest.cpp: In function 'int main()':
  550. conftest.cpp:130:18: error: expected initializer before 'newvar'
  551. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  552. conftest.cpp:145:5: error: expected primary-expression before '.' token
  553. conftest.cpp:146:5: error: expected primary-expression before '.' token
  554. conftest.cpp:147:5: error: expected primary-expression before '.' token
  555. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  556. configure:5380: $? = 1
  557. configure: failed program was:
  558. | /* confdefs.h */
  559. | #define PACKAGE_NAME "graph-tool"
  560. | #define PACKAGE_TARNAME "graph-tool"
  561. | #define PACKAGE_VERSION "2.2.24"
  562. | #define PACKAGE_STRING "graph-tool 2.2.24"
  563. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  564. | #define PACKAGE_URL ""
  565. | #define PACKAGE "graph-tool"
  566. | #define VERSION "2.2.24"
  567. | #define STDC_HEADERS 1
  568. | #define HAVE_SYS_TYPES_H 1
  569. | #define HAVE_SYS_STAT_H 1
  570. | #define HAVE_STDLIB_H 1
  571. | #define HAVE_STRING_H 1
  572. | #define HAVE_MEMORY_H 1
  573. | #define HAVE_STRINGS_H 1
  574. | #define HAVE_INTTYPES_H 1
  575. | #define HAVE_STDINT_H 1
  576. | #define HAVE_UNISTD_H 1
  577. | #define __EXTENSIONS__ 1
  578. | #define _ALL_SOURCE 1
  579. | #define _GNU_SOURCE 1
  580. | #define _POSIX_PTHREAD_SEMANTICS 1
  581. | #define _TANDEM_SOURCE 1
  582. | /* end confdefs.h. */
  583. | #include <stdarg.h>
  584. | #include <stdbool.h>
  585. | #include <stdlib.h>
  586. | #include <wchar.h>
  587. | #include <stdio.h>
  588. |
  589. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  590. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  591. | #define showlist(...) puts (#__VA_ARGS__)
  592. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  593. | static void
  594. | test_varargs_macros (void)
  595. | {
  596. | int x = 1234;
  597. | int y = 5678;
  598. | debug ("Flag");
  599. | debug ("X = %d\n", x);
  600. | showlist (The first, second, and third items.);
  601. | report (x>y, "x is %d but y is %d", x, y);
  602. | }
  603. |
  604. | // Check long long types.
  605. | #define BIG64 18446744073709551615ull
  606. | #define BIG32 4294967295ul
  607. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  608. | #if !BIG_OK
  609. | your preprocessor is broken;
  610. | #endif
  611. | #if BIG_OK
  612. | #else
  613. | your preprocessor is broken;
  614. | #endif
  615. | static long long int bignum = -9223372036854775807LL;
  616. | static unsigned long long int ubignum = BIG64;
  617. |
  618. | struct incomplete_array
  619. | {
  620. | int datasize;
  621. | double data[];
  622. | };
  623. |
  624. | struct named_init {
  625. | int number;
  626. | const wchar_t *name;
  627. | double average;
  628. | };
  629. |
  630. | typedef const char *ccp;
  631. |
  632. | static inline int
  633. | test_restrict (ccp restrict text)
  634. | {
  635. | // See if C++-style comments work.
  636. | // Iterate through items via the restricted pointer.
  637. | // Also check for declarations in for loops.
  638. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  639. | continue;
  640. | return 0;
  641. | }
  642. |
  643. | // Check varargs and va_copy.
  644. | static void
  645. | test_varargs (const char *format, ...)
  646. | {
  647. | va_list args;
  648. | va_start (args, format);
  649. | va_list args_copy;
  650. | va_copy (args_copy, args);
  651. |
  652. | const char *str;
  653. | int number;
  654. | float fnumber;
  655. |
  656. | while (*format)
  657. | {
  658. | switch (*format++)
  659. | {
  660. | case 's': // string
  661. | str = va_arg (args_copy, const char *);
  662. | break;
  663. | case 'd': // int
  664. | number = va_arg (args_copy, int);
  665. | break;
  666. | case 'f': // float
  667. | fnumber = va_arg (args_copy, double);
  668. | break;
  669. | default:
  670. | break;
  671. | }
  672. | }
  673. | va_end (args_copy);
  674. | va_end (args);
  675. | }
  676. |
  677. | int
  678. | main ()
  679. | {
  680. |
  681. | // Check bool.
  682. | _Bool success = false;
  683. |
  684. | // Check restrict.
  685. | if (test_restrict ("String literal") == 0)
  686. | success = true;
  687. | char *restrict newvar = "Another string";
  688. |
  689. | // Check varargs.
  690. | test_varargs ("s, d' f .", "string", 65, 34.234);
  691. | test_varargs_macros ();
  692. |
  693. | // Check flexible array members.
  694. | struct incomplete_array *ia =
  695. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  696. | ia->datasize = 10;
  697. | for (int i = 0; i < ia->datasize; ++i)
  698. | ia->data[i] = i * 1.234;
  699. |
  700. | // Check named initializers.
  701. | struct named_init ni = {
  702. | .number = 34,
  703. | .name = L"Test wide string",
  704. | .average = 543.34343,
  705. | };
  706. |
  707. | ni.number = 58;
  708. |
  709. | int dynamic_array[ni.number];
  710. | dynamic_array[ni.number - 1] = 543;
  711. |
  712. | // work around unused variable warnings
  713. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  714. | || dynamic_array[ni.number - 1] != 543);
  715. |
  716. | ;
  717. | return 0;
  718. | }
  719. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  720. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  721. conftest.cpp: In function 'int test_restrict(ccp)':
  722. conftest.cpp:81:30: error: 'text' was not declared in this scope
  723. conftest.cpp: In function 'int main()':
  724. conftest.cpp:130:18: error: expected initializer before 'newvar'
  725. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  726. conftest.cpp:145:5: error: expected primary-expression before '.' token
  727. conftest.cpp:146:5: error: expected primary-expression before '.' token
  728. conftest.cpp:147:5: error: expected primary-expression before '.' token
  729. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  730. configure:5380: $? = 1
  731. configure: failed program was:
  732. | /* confdefs.h */
  733. | #define PACKAGE_NAME "graph-tool"
  734. | #define PACKAGE_TARNAME "graph-tool"
  735. | #define PACKAGE_VERSION "2.2.24"
  736. | #define PACKAGE_STRING "graph-tool 2.2.24"
  737. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  738. | #define PACKAGE_URL ""
  739. | #define PACKAGE "graph-tool"
  740. | #define VERSION "2.2.24"
  741. | #define STDC_HEADERS 1
  742. | #define HAVE_SYS_TYPES_H 1
  743. | #define HAVE_SYS_STAT_H 1
  744. | #define HAVE_STDLIB_H 1
  745. | #define HAVE_STRING_H 1
  746. | #define HAVE_MEMORY_H 1
  747. | #define HAVE_STRINGS_H 1
  748. | #define HAVE_INTTYPES_H 1
  749. | #define HAVE_STDINT_H 1
  750. | #define HAVE_UNISTD_H 1
  751. | #define __EXTENSIONS__ 1
  752. | #define _ALL_SOURCE 1
  753. | #define _GNU_SOURCE 1
  754. | #define _POSIX_PTHREAD_SEMANTICS 1
  755. | #define _TANDEM_SOURCE 1
  756. | /* end confdefs.h. */
  757. | #include <stdarg.h>
  758. | #include <stdbool.h>
  759. | #include <stdlib.h>
  760. | #include <wchar.h>
  761. | #include <stdio.h>
  762. |
  763. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  764. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  765. | #define showlist(...) puts (#__VA_ARGS__)
  766. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  767. | static void
  768. | test_varargs_macros (void)
  769. | {
  770. | int x = 1234;
  771. | int y = 5678;
  772. | debug ("Flag");
  773. | debug ("X = %d\n", x);
  774. | showlist (The first, second, and third items.);
  775. | report (x>y, "x is %d but y is %d", x, y);
  776. | }
  777. |
  778. | // Check long long types.
  779. | #define BIG64 18446744073709551615ull
  780. | #define BIG32 4294967295ul
  781. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  782. | #if !BIG_OK
  783. | your preprocessor is broken;
  784. | #endif
  785. | #if BIG_OK
  786. | #else
  787. | your preprocessor is broken;
  788. | #endif
  789. | static long long int bignum = -9223372036854775807LL;
  790. | static unsigned long long int ubignum = BIG64;
  791. |
  792. | struct incomplete_array
  793. | {
  794. | int datasize;
  795. | double data[];
  796. | };
  797. |
  798. | struct named_init {
  799. | int number;
  800. | const wchar_t *name;
  801. | double average;
  802. | };
  803. |
  804. | typedef const char *ccp;
  805. |
  806. | static inline int
  807. | test_restrict (ccp restrict text)
  808. | {
  809. | // See if C++-style comments work.
  810. | // Iterate through items via the restricted pointer.
  811. | // Also check for declarations in for loops.
  812. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  813. | continue;
  814. | return 0;
  815. | }
  816. |
  817. | // Check varargs and va_copy.
  818. | static void
  819. | test_varargs (const char *format, ...)
  820. | {
  821. | va_list args;
  822. | va_start (args, format);
  823. | va_list args_copy;
  824. | va_copy (args_copy, args);
  825. |
  826. | const char *str;
  827. | int number;
  828. | float fnumber;
  829. |
  830. | while (*format)
  831. | {
  832. | switch (*format++)
  833. | {
  834. | case 's': // string
  835. | str = va_arg (args_copy, const char *);
  836. | break;
  837. | case 'd': // int
  838. | number = va_arg (args_copy, int);
  839. | break;
  840. | case 'f': // float
  841. | fnumber = va_arg (args_copy, double);
  842. | break;
  843. | default:
  844. | break;
  845. | }
  846. | }
  847. | va_end (args_copy);
  848. | va_end (args);
  849. | }
  850. |
  851. | int
  852. | main ()
  853. | {
  854. |
  855. | // Check bool.
  856. | _Bool success = false;
  857. |
  858. | // Check restrict.
  859. | if (test_restrict ("String literal") == 0)
  860. | success = true;
  861. | char *restrict newvar = "Another string";
  862. |
  863. | // Check varargs.
  864. | test_varargs ("s, d' f .", "string", 65, 34.234);
  865. | test_varargs_macros ();
  866. |
  867. | // Check flexible array members.
  868. | struct incomplete_array *ia =
  869. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  870. | ia->datasize = 10;
  871. | for (int i = 0; i < ia->datasize; ++i)
  872. | ia->data[i] = i * 1.234;
  873. |
  874. | // Check named initializers.
  875. | struct named_init ni = {
  876. | .number = 34,
  877. | .name = L"Test wide string",
  878. | .average = 543.34343,
  879. | };
  880. |
  881. | ni.number = 58;
  882. |
  883. | int dynamic_array[ni.number];
  884. | dynamic_array[ni.number - 1] = 543;
  885. |
  886. | // work around unused variable warnings
  887. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  888. | || dynamic_array[ni.number - 1] != 543);
  889. |
  890. | ;
  891. | return 0;
  892. | }
  893. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  894. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  895. conftest.cpp: In function 'int test_restrict(ccp)':
  896. conftest.cpp:81:30: error: 'text' was not declared in this scope
  897. conftest.cpp: In function 'int main()':
  898. conftest.cpp:130:18: error: expected initializer before 'newvar'
  899. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  900. conftest.cpp:145:5: error: expected primary-expression before '.' token
  901. conftest.cpp:146:5: error: expected primary-expression before '.' token
  902. conftest.cpp:147:5: error: expected primary-expression before '.' token
  903. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  904. configure:5380: $? = 1
  905. configure: failed program was:
  906. | /* confdefs.h */
  907. | #define PACKAGE_NAME "graph-tool"
  908. | #define PACKAGE_TARNAME "graph-tool"
  909. | #define PACKAGE_VERSION "2.2.24"
  910. | #define PACKAGE_STRING "graph-tool 2.2.24"
  911. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  912. | #define PACKAGE_URL ""
  913. | #define PACKAGE "graph-tool"
  914. | #define VERSION "2.2.24"
  915. | #define STDC_HEADERS 1
  916. | #define HAVE_SYS_TYPES_H 1
  917. | #define HAVE_SYS_STAT_H 1
  918. | #define HAVE_STDLIB_H 1
  919. | #define HAVE_STRING_H 1
  920. | #define HAVE_MEMORY_H 1
  921. | #define HAVE_STRINGS_H 1
  922. | #define HAVE_INTTYPES_H 1
  923. | #define HAVE_STDINT_H 1
  924. | #define HAVE_UNISTD_H 1
  925. | #define __EXTENSIONS__ 1
  926. | #define _ALL_SOURCE 1
  927. | #define _GNU_SOURCE 1
  928. | #define _POSIX_PTHREAD_SEMANTICS 1
  929. | #define _TANDEM_SOURCE 1
  930. | /* end confdefs.h. */
  931. | #include <stdarg.h>
  932. | #include <stdbool.h>
  933. | #include <stdlib.h>
  934. | #include <wchar.h>
  935. | #include <stdio.h>
  936. |
  937. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  938. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  939. | #define showlist(...) puts (#__VA_ARGS__)
  940. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  941. | static void
  942. | test_varargs_macros (void)
  943. | {
  944. | int x = 1234;
  945. | int y = 5678;
  946. | debug ("Flag");
  947. | debug ("X = %d\n", x);
  948. | showlist (The first, second, and third items.);
  949. | report (x>y, "x is %d but y is %d", x, y);
  950. | }
  951. |
  952. | // Check long long types.
  953. | #define BIG64 18446744073709551615ull
  954. | #define BIG32 4294967295ul
  955. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  956. | #if !BIG_OK
  957. | your preprocessor is broken;
  958. | #endif
  959. | #if BIG_OK
  960. | #else
  961. | your preprocessor is broken;
  962. | #endif
  963. | static long long int bignum = -9223372036854775807LL;
  964. | static unsigned long long int ubignum = BIG64;
  965. |
  966. | struct incomplete_array
  967. | {
  968. | int datasize;
  969. | double data[];
  970. | };
  971. |
  972. | struct named_init {
  973. | int number;
  974. | const wchar_t *name;
  975. | double average;
  976. | };
  977. |
  978. | typedef const char *ccp;
  979. |
  980. | static inline int
  981. | test_restrict (ccp restrict text)
  982. | {
  983. | // See if C++-style comments work.
  984. | // Iterate through items via the restricted pointer.
  985. | // Also check for declarations in for loops.
  986. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  987. | continue;
  988. | return 0;
  989. | }
  990. |
  991. | // Check varargs and va_copy.
  992. | static void
  993. | test_varargs (const char *format, ...)
  994. | {
  995. | va_list args;
  996. | va_start (args, format);
  997. | va_list args_copy;
  998. | va_copy (args_copy, args);
  999. |
  1000. | const char *str;
  1001. | int number;
  1002. | float fnumber;
  1003. |
  1004. | while (*format)
  1005. | {
  1006. | switch (*format++)
  1007. | {
  1008. | case 's': // string
  1009. | str = va_arg (args_copy, const char *);
  1010. | break;
  1011. | case 'd': // int
  1012. | number = va_arg (args_copy, int);
  1013. | break;
  1014. | case 'f': // float
  1015. | fnumber = va_arg (args_copy, double);
  1016. | break;
  1017. | default:
  1018. | break;
  1019. | }
  1020. | }
  1021. | va_end (args_copy);
  1022. | va_end (args);
  1023. | }
  1024. |
  1025. | int
  1026. | main ()
  1027. | {
  1028. |
  1029. | // Check bool.
  1030. | _Bool success = false;
  1031. |
  1032. | // Check restrict.
  1033. | if (test_restrict ("String literal") == 0)
  1034. | success = true;
  1035. | char *restrict newvar = "Another string";
  1036. |
  1037. | // Check varargs.
  1038. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1039. | test_varargs_macros ();
  1040. |
  1041. | // Check flexible array members.
  1042. | struct incomplete_array *ia =
  1043. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1044. | ia->datasize = 10;
  1045. | for (int i = 0; i < ia->datasize; ++i)
  1046. | ia->data[i] = i * 1.234;
  1047. |
  1048. | // Check named initializers.
  1049. | struct named_init ni = {
  1050. | .number = 34,
  1051. | .name = L"Test wide string",
  1052. | .average = 543.34343,
  1053. | };
  1054. |
  1055. | ni.number = 58;
  1056. |
  1057. | int dynamic_array[ni.number];
  1058. | dynamic_array[ni.number - 1] = 543;
  1059. |
  1060. | // work around unused variable warnings
  1061. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1062. | || dynamic_array[ni.number - 1] != 543);
  1063. |
  1064. | ;
  1065. | return 0;
  1066. | }
  1067. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1068. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1069. conftest.cpp: In function 'int test_restrict(ccp)':
  1070. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1071. conftest.cpp: In function 'int main()':
  1072. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1073. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1074. conftest.cpp:145:5: error: expected primary-expression before '.' token
  1075. conftest.cpp:146:5: error: expected primary-expression before '.' token
  1076. conftest.cpp:147:5: error: expected primary-expression before '.' token
  1077. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1078. configure:5380: $? = 1
  1079. configure: failed program was:
  1080. | /* confdefs.h */
  1081. | #define PACKAGE_NAME "graph-tool"
  1082. | #define PACKAGE_TARNAME "graph-tool"
  1083. | #define PACKAGE_VERSION "2.2.24"
  1084. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1085. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1086. | #define PACKAGE_URL ""
  1087. | #define PACKAGE "graph-tool"
  1088. | #define VERSION "2.2.24"
  1089. | #define STDC_HEADERS 1
  1090. | #define HAVE_SYS_TYPES_H 1
  1091. | #define HAVE_SYS_STAT_H 1
  1092. | #define HAVE_STDLIB_H 1
  1093. | #define HAVE_STRING_H 1
  1094. | #define HAVE_MEMORY_H 1
  1095. | #define HAVE_STRINGS_H 1
  1096. | #define HAVE_INTTYPES_H 1
  1097. | #define HAVE_STDINT_H 1
  1098. | #define HAVE_UNISTD_H 1
  1099. | #define __EXTENSIONS__ 1
  1100. | #define _ALL_SOURCE 1
  1101. | #define _GNU_SOURCE 1
  1102. | #define _POSIX_PTHREAD_SEMANTICS 1
  1103. | #define _TANDEM_SOURCE 1
  1104. | /* end confdefs.h. */
  1105. | #include <stdarg.h>
  1106. | #include <stdbool.h>
  1107. | #include <stdlib.h>
  1108. | #include <wchar.h>
  1109. | #include <stdio.h>
  1110. |
  1111. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1112. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1113. | #define showlist(...) puts (#__VA_ARGS__)
  1114. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1115. | static void
  1116. | test_varargs_macros (void)
  1117. | {
  1118. | int x = 1234;
  1119. | int y = 5678;
  1120. | debug ("Flag");
  1121. | debug ("X = %d\n", x);
  1122. | showlist (The first, second, and third items.);
  1123. | report (x>y, "x is %d but y is %d", x, y);
  1124. | }
  1125. |
  1126. | // Check long long types.
  1127. | #define BIG64 18446744073709551615ull
  1128. | #define BIG32 4294967295ul
  1129. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1130. | #if !BIG_OK
  1131. | your preprocessor is broken;
  1132. | #endif
  1133. | #if BIG_OK
  1134. | #else
  1135. | your preprocessor is broken;
  1136. | #endif
  1137. | static long long int bignum = -9223372036854775807LL;
  1138. | static unsigned long long int ubignum = BIG64;
  1139. |
  1140. | struct incomplete_array
  1141. | {
  1142. | int datasize;
  1143. | double data[];
  1144. | };
  1145. |
  1146. | struct named_init {
  1147. | int number;
  1148. | const wchar_t *name;
  1149. | double average;
  1150. | };
  1151. |
  1152. | typedef const char *ccp;
  1153. |
  1154. | static inline int
  1155. | test_restrict (ccp restrict text)
  1156. | {
  1157. | // See if C++-style comments work.
  1158. | // Iterate through items via the restricted pointer.
  1159. | // Also check for declarations in for loops.
  1160. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1161. | continue;
  1162. | return 0;
  1163. | }
  1164. |
  1165. | // Check varargs and va_copy.
  1166. | static void
  1167. | test_varargs (const char *format, ...)
  1168. | {
  1169. | va_list args;
  1170. | va_start (args, format);
  1171. | va_list args_copy;
  1172. | va_copy (args_copy, args);
  1173. |
  1174. | const char *str;
  1175. | int number;
  1176. | float fnumber;
  1177. |
  1178. | while (*format)
  1179. | {
  1180. | switch (*format++)
  1181. | {
  1182. | case 's': // string
  1183. | str = va_arg (args_copy, const char *);
  1184. | break;
  1185. | case 'd': // int
  1186. | number = va_arg (args_copy, int);
  1187. | break;
  1188. | case 'f': // float
  1189. | fnumber = va_arg (args_copy, double);
  1190. | break;
  1191. | default:
  1192. | break;
  1193. | }
  1194. | }
  1195. | va_end (args_copy);
  1196. | va_end (args);
  1197. | }
  1198. |
  1199. | int
  1200. | main ()
  1201. | {
  1202. |
  1203. | // Check bool.
  1204. | _Bool success = false;
  1205. |
  1206. | // Check restrict.
  1207. | if (test_restrict ("String literal") == 0)
  1208. | success = true;
  1209. | char *restrict newvar = "Another string";
  1210. |
  1211. | // Check varargs.
  1212. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1213. | test_varargs_macros ();
  1214. |
  1215. | // Check flexible array members.
  1216. | struct incomplete_array *ia =
  1217. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1218. | ia->datasize = 10;
  1219. | for (int i = 0; i < ia->datasize; ++i)
  1220. | ia->data[i] = i * 1.234;
  1221. |
  1222. | // Check named initializers.
  1223. | struct named_init ni = {
  1224. | .number = 34,
  1225. | .name = L"Test wide string",
  1226. | .average = 543.34343,
  1227. | };
  1228. |
  1229. | ni.number = 58;
  1230. |
  1231. | int dynamic_array[ni.number];
  1232. | dynamic_array[ni.number - 1] = 543;
  1233. |
  1234. | // work around unused variable warnings
  1235. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1236. | || dynamic_array[ni.number - 1] != 543);
  1237. |
  1238. | ;
  1239. | return 0;
  1240. | }
  1241. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1242. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1243. conftest.cpp: In function 'int test_restrict(ccp)':
  1244. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1245. conftest.cpp: In function 'int main()':
  1246. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1247. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1248. conftest.cpp:145:5: error: expected primary-expression before '.' token
  1249. conftest.cpp:146:5: error: expected primary-expression before '.' token
  1250. conftest.cpp:147:5: error: expected primary-expression before '.' token
  1251. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1252. configure:5380: $? = 1
  1253. configure: failed program was:
  1254. | /* confdefs.h */
  1255. | #define PACKAGE_NAME "graph-tool"
  1256. | #define PACKAGE_TARNAME "graph-tool"
  1257. | #define PACKAGE_VERSION "2.2.24"
  1258. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1259. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1260. | #define PACKAGE_URL ""
  1261. | #define PACKAGE "graph-tool"
  1262. | #define VERSION "2.2.24"
  1263. | #define STDC_HEADERS 1
  1264. | #define HAVE_SYS_TYPES_H 1
  1265. | #define HAVE_SYS_STAT_H 1
  1266. | #define HAVE_STDLIB_H 1
  1267. | #define HAVE_STRING_H 1
  1268. | #define HAVE_MEMORY_H 1
  1269. | #define HAVE_STRINGS_H 1
  1270. | #define HAVE_INTTYPES_H 1
  1271. | #define HAVE_STDINT_H 1
  1272. | #define HAVE_UNISTD_H 1
  1273. | #define __EXTENSIONS__ 1
  1274. | #define _ALL_SOURCE 1
  1275. | #define _GNU_SOURCE 1
  1276. | #define _POSIX_PTHREAD_SEMANTICS 1
  1277. | #define _TANDEM_SOURCE 1
  1278. | /* end confdefs.h. */
  1279. | #include <stdarg.h>
  1280. | #include <stdbool.h>
  1281. | #include <stdlib.h>
  1282. | #include <wchar.h>
  1283. | #include <stdio.h>
  1284. |
  1285. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1286. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1287. | #define showlist(...) puts (#__VA_ARGS__)
  1288. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1289. | static void
  1290. | test_varargs_macros (void)
  1291. | {
  1292. | int x = 1234;
  1293. | int y = 5678;
  1294. | debug ("Flag");
  1295. | debug ("X = %d\n", x);
  1296. | showlist (The first, second, and third items.);
  1297. | report (x>y, "x is %d but y is %d", x, y);
  1298. | }
  1299. |
  1300. | // Check long long types.
  1301. | #define BIG64 18446744073709551615ull
  1302. | #define BIG32 4294967295ul
  1303. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1304. | #if !BIG_OK
  1305. | your preprocessor is broken;
  1306. | #endif
  1307. | #if BIG_OK
  1308. | #else
  1309. | your preprocessor is broken;
  1310. | #endif
  1311. | static long long int bignum = -9223372036854775807LL;
  1312. | static unsigned long long int ubignum = BIG64;
  1313. |
  1314. | struct incomplete_array
  1315. | {
  1316. | int datasize;
  1317. | double data[];
  1318. | };
  1319. |
  1320. | struct named_init {
  1321. | int number;
  1322. | const wchar_t *name;
  1323. | double average;
  1324. | };
  1325. |
  1326. | typedef const char *ccp;
  1327. |
  1328. | static inline int
  1329. | test_restrict (ccp restrict text)
  1330. | {
  1331. | // See if C++-style comments work.
  1332. | // Iterate through items via the restricted pointer.
  1333. | // Also check for declarations in for loops.
  1334. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1335. | continue;
  1336. | return 0;
  1337. | }
  1338. |
  1339. | // Check varargs and va_copy.
  1340. | static void
  1341. | test_varargs (const char *format, ...)
  1342. | {
  1343. | va_list args;
  1344. | va_start (args, format);
  1345. | va_list args_copy;
  1346. | va_copy (args_copy, args);
  1347. |
  1348. | const char *str;
  1349. | int number;
  1350. | float fnumber;
  1351. |
  1352. | while (*format)
  1353. | {
  1354. | switch (*format++)
  1355. | {
  1356. | case 's': // string
  1357. | str = va_arg (args_copy, const char *);
  1358. | break;
  1359. | case 'd': // int
  1360. | number = va_arg (args_copy, int);
  1361. | break;
  1362. | case 'f': // float
  1363. | fnumber = va_arg (args_copy, double);
  1364. | break;
  1365. | default:
  1366. | break;
  1367. | }
  1368. | }
  1369. | va_end (args_copy);
  1370. | va_end (args);
  1371. | }
  1372. |
  1373. | int
  1374. | main ()
  1375. | {
  1376. |
  1377. | // Check bool.
  1378. | _Bool success = false;
  1379. |
  1380. | // Check restrict.
  1381. | if (test_restrict ("String literal") == 0)
  1382. | success = true;
  1383. | char *restrict newvar = "Another string";
  1384. |
  1385. | // Check varargs.
  1386. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1387. | test_varargs_macros ();
  1388. |
  1389. | // Check flexible array members.
  1390. | struct incomplete_array *ia =
  1391. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1392. | ia->datasize = 10;
  1393. | for (int i = 0; i < ia->datasize; ++i)
  1394. | ia->data[i] = i * 1.234;
  1395. |
  1396. | // Check named initializers.
  1397. | struct named_init ni = {
  1398. | .number = 34,
  1399. | .name = L"Test wide string",
  1400. | .average = 543.34343,
  1401. | };
  1402. |
  1403. | ni.number = 58;
  1404. |
  1405. | int dynamic_array[ni.number];
  1406. | dynamic_array[ni.number - 1] = 543;
  1407. |
  1408. | // work around unused variable warnings
  1409. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1410. | || dynamic_array[ni.number - 1] != 543);
  1411. |
  1412. | ;
  1413. | return 0;
  1414. | }
  1415. configure:5380: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1416. conftest.cpp:76:29: error: expected ',' or '...' before 'text'
  1417. conftest.cpp: In function 'int test_restrict(ccp)':
  1418. conftest.cpp:81:30: error: 'text' was not declared in this scope
  1419. conftest.cpp: In function 'int main()':
  1420. conftest.cpp:130:18: error: expected initializer before 'newvar'
  1421. conftest.cpp:138:70: error: invalid conversion from 'void*' to 'incomplete_array*' [-fpermissive]
  1422. conftest.cpp:145:5: error: expected primary-expression before '.' token
  1423. conftest.cpp:146:5: error: expected primary-expression before '.' token
  1424. conftest.cpp:147:5: error: expected primary-expression before '.' token
  1425. conftest.cpp:156:59: error: 'newvar' was not declared in this scope
  1426. configure:5380: $? = 1
  1427. configure: failed program was:
  1428. | /* confdefs.h */
  1429. | #define PACKAGE_NAME "graph-tool"
  1430. | #define PACKAGE_TARNAME "graph-tool"
  1431. | #define PACKAGE_VERSION "2.2.24"
  1432. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1433. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1434. | #define PACKAGE_URL ""
  1435. | #define PACKAGE "graph-tool"
  1436. | #define VERSION "2.2.24"
  1437. | #define STDC_HEADERS 1
  1438. | #define HAVE_SYS_TYPES_H 1
  1439. | #define HAVE_SYS_STAT_H 1
  1440. | #define HAVE_STDLIB_H 1
  1441. | #define HAVE_STRING_H 1
  1442. | #define HAVE_MEMORY_H 1
  1443. | #define HAVE_STRINGS_H 1
  1444. | #define HAVE_INTTYPES_H 1
  1445. | #define HAVE_STDINT_H 1
  1446. | #define HAVE_UNISTD_H 1
  1447. | #define __EXTENSIONS__ 1
  1448. | #define _ALL_SOURCE 1
  1449. | #define _GNU_SOURCE 1
  1450. | #define _POSIX_PTHREAD_SEMANTICS 1
  1451. | #define _TANDEM_SOURCE 1
  1452. | /* end confdefs.h. */
  1453. | #include <stdarg.h>
  1454. | #include <stdbool.h>
  1455. | #include <stdlib.h>
  1456. | #include <wchar.h>
  1457. | #include <stdio.h>
  1458. |
  1459. | // Check varargs macros. These examples are taken from C99 6.10.3.5.
  1460. | #define debug(...) fprintf (stderr, __VA_ARGS__)
  1461. | #define showlist(...) puts (#__VA_ARGS__)
  1462. | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  1463. | static void
  1464. | test_varargs_macros (void)
  1465. | {
  1466. | int x = 1234;
  1467. | int y = 5678;
  1468. | debug ("Flag");
  1469. | debug ("X = %d\n", x);
  1470. | showlist (The first, second, and third items.);
  1471. | report (x>y, "x is %d but y is %d", x, y);
  1472. | }
  1473. |
  1474. | // Check long long types.
  1475. | #define BIG64 18446744073709551615ull
  1476. | #define BIG32 4294967295ul
  1477. | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  1478. | #if !BIG_OK
  1479. | your preprocessor is broken;
  1480. | #endif
  1481. | #if BIG_OK
  1482. | #else
  1483. | your preprocessor is broken;
  1484. | #endif
  1485. | static long long int bignum = -9223372036854775807LL;
  1486. | static unsigned long long int ubignum = BIG64;
  1487. |
  1488. | struct incomplete_array
  1489. | {
  1490. | int datasize;
  1491. | double data[];
  1492. | };
  1493. |
  1494. | struct named_init {
  1495. | int number;
  1496. | const wchar_t *name;
  1497. | double average;
  1498. | };
  1499. |
  1500. | typedef const char *ccp;
  1501. |
  1502. | static inline int
  1503. | test_restrict (ccp restrict text)
  1504. | {
  1505. | // See if C++-style comments work.
  1506. | // Iterate through items via the restricted pointer.
  1507. | // Also check for declarations in for loops.
  1508. | for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  1509. | continue;
  1510. | return 0;
  1511. | }
  1512. |
  1513. | // Check varargs and va_copy.
  1514. | static void
  1515. | test_varargs (const char *format, ...)
  1516. | {
  1517. | va_list args;
  1518. | va_start (args, format);
  1519. | va_list args_copy;
  1520. | va_copy (args_copy, args);
  1521. |
  1522. | const char *str;
  1523. | int number;
  1524. | float fnumber;
  1525. |
  1526. | while (*format)
  1527. | {
  1528. | switch (*format++)
  1529. | {
  1530. | case 's': // string
  1531. | str = va_arg (args_copy, const char *);
  1532. | break;
  1533. | case 'd': // int
  1534. | number = va_arg (args_copy, int);
  1535. | break;
  1536. | case 'f': // float
  1537. | fnumber = va_arg (args_copy, double);
  1538. | break;
  1539. | default:
  1540. | break;
  1541. | }
  1542. | }
  1543. | va_end (args_copy);
  1544. | va_end (args);
  1545. | }
  1546. |
  1547. | int
  1548. | main ()
  1549. | {
  1550. |
  1551. | // Check bool.
  1552. | _Bool success = false;
  1553. |
  1554. | // Check restrict.
  1555. | if (test_restrict ("String literal") == 0)
  1556. | success = true;
  1557. | char *restrict newvar = "Another string";
  1558. |
  1559. | // Check varargs.
  1560. | test_varargs ("s, d' f .", "string", 65, 34.234);
  1561. | test_varargs_macros ();
  1562. |
  1563. | // Check flexible array members.
  1564. | struct incomplete_array *ia =
  1565. | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  1566. | ia->datasize = 10;
  1567. | for (int i = 0; i < ia->datasize; ++i)
  1568. | ia->data[i] = i * 1.234;
  1569. |
  1570. | // Check named initializers.
  1571. | struct named_init ni = {
  1572. | .number = 34,
  1573. | .name = L"Test wide string",
  1574. | .average = 543.34343,
  1575. | };
  1576. |
  1577. | ni.number = 58;
  1578. |
  1579. | int dynamic_array[ni.number];
  1580. | dynamic_array[ni.number - 1] = 543;
  1581. |
  1582. | // work around unused variable warnings
  1583. | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  1584. | || dynamic_array[ni.number - 1] != 543);
  1585. |
  1586. | ;
  1587. | return 0;
  1588. | }
  1589. configure:5396: result: unsupported
  1590. configure:5406: checking for gcc option to accept ISO C89
  1591. configure:5483: result: none needed
  1592. configure:5502: checking for gcc option to accept ISO Standard C
  1593. configure:5513: result: none needed
  1594. configure:5526: checking how to run the C++ preprocessor
  1595. configure:5553: g++ -E conftest.cpp
  1596. configure:5553: $? = 0
  1597. configure:5567: g++ -E conftest.cpp
  1598. conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
  1599. compilation terminated.
  1600. configure:5567: $? = 1
  1601. configure: failed program was:
  1602. | /* confdefs.h */
  1603. | #define PACKAGE_NAME "graph-tool"
  1604. | #define PACKAGE_TARNAME "graph-tool"
  1605. | #define PACKAGE_VERSION "2.2.24"
  1606. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1607. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1608. | #define PACKAGE_URL ""
  1609. | #define PACKAGE "graph-tool"
  1610. | #define VERSION "2.2.24"
  1611. | #define STDC_HEADERS 1
  1612. | #define HAVE_SYS_TYPES_H 1
  1613. | #define HAVE_SYS_STAT_H 1
  1614. | #define HAVE_STDLIB_H 1
  1615. | #define HAVE_STRING_H 1
  1616. | #define HAVE_MEMORY_H 1
  1617. | #define HAVE_STRINGS_H 1
  1618. | #define HAVE_INTTYPES_H 1
  1619. | #define HAVE_STDINT_H 1
  1620. | #define HAVE_UNISTD_H 1
  1621. | #define __EXTENSIONS__ 1
  1622. | #define _ALL_SOURCE 1
  1623. | #define _GNU_SOURCE 1
  1624. | #define _POSIX_PTHREAD_SEMANTICS 1
  1625. | #define _TANDEM_SOURCE 1
  1626. | /* end confdefs.h. */
  1627. | #include <ac_nonexistent.h>
  1628. configure:5592: result: g++ -E
  1629. configure:5612: g++ -E conftest.cpp
  1630. configure:5612: $? = 0
  1631. configure:5626: g++ -E conftest.cpp
  1632. conftest.cpp:26:28: fatal error: ac_nonexistent.h: No such file or directory
  1633. compilation terminated.
  1634. configure:5626: $? = 1
  1635. configure: failed program was:
  1636. | /* confdefs.h */
  1637. | #define PACKAGE_NAME "graph-tool"
  1638. | #define PACKAGE_TARNAME "graph-tool"
  1639. | #define PACKAGE_VERSION "2.2.24"
  1640. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1641. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1642. | #define PACKAGE_URL ""
  1643. | #define PACKAGE "graph-tool"
  1644. | #define VERSION "2.2.24"
  1645. | #define STDC_HEADERS 1
  1646. | #define HAVE_SYS_TYPES_H 1
  1647. | #define HAVE_SYS_STAT_H 1
  1648. | #define HAVE_STDLIB_H 1
  1649. | #define HAVE_STRING_H 1
  1650. | #define HAVE_MEMORY_H 1
  1651. | #define HAVE_STRINGS_H 1
  1652. | #define HAVE_INTTYPES_H 1
  1653. | #define HAVE_STDINT_H 1
  1654. | #define HAVE_UNISTD_H 1
  1655. | #define __EXTENSIONS__ 1
  1656. | #define _ALL_SOURCE 1
  1657. | #define _GNU_SOURCE 1
  1658. | #define _POSIX_PTHREAD_SEMANTICS 1
  1659. | #define _TANDEM_SOURCE 1
  1660. | /* end confdefs.h. */
  1661. | #include <ac_nonexistent.h>
  1662. configure:5655: checking for ANSI C header files
  1663. configure:5759: result: yes
  1664. configure:5827: checking build system type
  1665. configure:5841: result: x86_64-unknown-linux-gnu
  1666. configure:5861: checking host system type
  1667. configure:5874: result: x86_64-unknown-linux-gnu
  1668. configure:5915: checking how to print strings
  1669. configure:5942: result: printf
  1670. configure:5963: checking for a sed that does not truncate output
  1671. configure:6027: result: /bin/sed
  1672. configure:6045: checking for fgrep
  1673. configure:6107: result: /bin/grep -F
  1674. configure:6142: checking for ld used by gcc
  1675. configure:6209: result: /usr/bin/ld
  1676. configure:6216: checking if the linker (/usr/bin/ld) is GNU ld
  1677. configure:6231: result: yes
  1678. configure:6243: checking for BSD- or MS-compatible name lister (nm)
  1679. configure:6292: result: /usr/bin/nm -B
  1680. configure:6422: checking the name lister (/usr/bin/nm -B) interface
  1681. configure:6429: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1682. configure:6432: /usr/bin/nm -B "conftest.o"
  1683. configure:6435: output
  1684. 0000000000000000 B some_variable
  1685. configure:6442: result: BSD nm
  1686. configure:6445: checking whether ln -s works
  1687. configure:6449: result: yes
  1688. configure:6457: checking the maximum length of command line arguments
  1689. configure:6587: result: 1572864
  1690. configure:6604: checking whether the shell understands some XSI constructs
  1691. configure:6614: result: yes
  1692. configure:6618: checking whether the shell understands "+="
  1693. configure:6624: result: yes
  1694. configure:6659: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format
  1695. configure:6699: result: func_convert_file_noop
  1696. configure:6706: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format
  1697. configure:6726: result: func_convert_file_noop
  1698. configure:6733: checking for /usr/bin/ld option to reload object files
  1699. configure:6740: result: -r
  1700. configure:6814: checking for objdump
  1701. configure:6830: found /usr/bin/objdump
  1702. configure:6841: result: objdump
  1703. configure:6873: checking how to recognize dependent libraries
  1704. configure:7075: result: pass_all
  1705. configure:7160: checking for dlltool
  1706. configure:7190: result: no
  1707. configure:7220: checking how to associate runtime and link libraries
  1708. configure:7247: result: printf %s\n
  1709. configure:7307: checking for ar
  1710. configure:7323: found /usr/bin/ar
  1711. configure:7334: result: ar
  1712. configure:7371: checking for archiver @FILE support
  1713. configure:7388: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1714. configure:7388: $? = 0
  1715. configure:7391: ar cru libconftest.a @conftest.lst >&5
  1716. configure:7394: $? = 0
  1717. configure:7399: ar cru libconftest.a @conftest.lst >&5
  1718. ar: conftest.o: No such file or directory
  1719. configure:7402: $? = 1
  1720. configure:7414: result: @
  1721. configure:7472: checking for strip
  1722. configure:7488: found /usr/bin/strip
  1723. configure:7499: result: strip
  1724. configure:7571: checking for ranlib
  1725. configure:7587: found /usr/bin/ranlib
  1726. configure:7598: result: ranlib
  1727. configure:7700: checking command to parse /usr/bin/nm -B output from gcc object
  1728. configure:7820: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1729. configure:7823: $? = 0
  1730. configure:7827: /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
  1731. configure:7830: $? = 0
  1732. configure:7896: g++ -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.cpp conftstm.o >&5
  1733. configure:7899: $? = 0
  1734. configure:7937: result: ok
  1735. configure:7974: checking for sysroot
  1736. configure:8004: result: no
  1737. configure:8081: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1738. configure:8084: $? = 0
  1739. configure:8260: checking for mt
  1740. configure:8276: found /bin/mt
  1741. configure:8287: result: mt
  1742. configure:8310: checking if mt is a manifest tool
  1743. configure:8316: mt '-?'
  1744. configure:8324: result: no
  1745. configure:8963: checking for dlfcn.h
  1746. configure:8963: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1747. configure:8963: $? = 0
  1748. configure:8963: result: yes
  1749. configure:9149: checking for objdir
  1750. configure:9164: result: .libs
  1751. configure:9431: checking if gcc supports -fno-rtti -fno-exceptions
  1752. configure:9449: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 -fno-rtti -fno-exceptions conftest.c >&5
  1753. cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default]
  1754. configure:9453: $? = 0
  1755. configure:9466: result: no
  1756. configure:9793: checking for gcc option to produce PIC
  1757. configure:9800: result: -fPIC -DPIC
  1758. configure:9808: checking if gcc PIC flag -fPIC -DPIC works
  1759. configure:9826: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 -fPIC -DPIC -DPIC conftest.c >&5
  1760. configure:9830: $? = 0
  1761. configure:9843: result: yes
  1762. configure:9872: checking if gcc static flag -static works
  1763. configure:9900: result: yes
  1764. configure:9915: checking if gcc supports -c -o file.o
  1765. configure:9936: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 -o out/conftest2.o conftest.c >&5
  1766. configure:9940: $? = 0
  1767. configure:9962: result: yes
  1768. configure:9970: checking if gcc supports -c -o file.o
  1769. configure:10017: result: yes
  1770. configure:10050: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1771. configure:11203: result: yes
  1772. configure:11240: checking whether -lc should be explicitly linked in
  1773. configure:11248: gcc -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.c >&5
  1774. configure:11251: $? = 0
  1775. configure:11266: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1
  1776. configure:11269: $? = 0
  1777. configure:11283: result: no
  1778. configure:11443: checking dynamic linker characteristics
  1779. configure:11967: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ -Wl,-rpath -Wl,/foo conftest.c >&5
  1780. configure:11967: $? = 0
  1781. configure:12189: result: GNU/Linux ld.so
  1782. configure:12296: checking how to hardcode library paths into programs
  1783. configure:12321: result: immediate
  1784. configure:12861: checking whether stripping libraries is possible
  1785. configure:12866: result: yes
  1786. configure:12901: checking if libtool supports shared libraries
  1787. configure:12903: result: yes
  1788. configure:12906: checking whether to build shared libraries
  1789. configure:12927: result: yes
  1790. configure:12930: checking whether to build static libraries
  1791. configure:12934: result: no
  1792. configure:12957: checking how to run the C++ preprocessor
  1793. configure:13023: result: g++ -E
  1794. configure:13043: g++ -E conftest.cpp
  1795. configure:13043: $? = 0
  1796. configure:13057: g++ -E conftest.cpp
  1797. conftest.cpp:29:28: fatal error: ac_nonexistent.h: No such file or directory
  1798. compilation terminated.
  1799. configure:13057: $? = 1
  1800. configure: failed program was:
  1801. | /* confdefs.h */
  1802. | #define PACKAGE_NAME "graph-tool"
  1803. | #define PACKAGE_TARNAME "graph-tool"
  1804. | #define PACKAGE_VERSION "2.2.24"
  1805. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1806. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1807. | #define PACKAGE_URL ""
  1808. | #define PACKAGE "graph-tool"
  1809. | #define VERSION "2.2.24"
  1810. | #define STDC_HEADERS 1
  1811. | #define HAVE_SYS_TYPES_H 1
  1812. | #define HAVE_SYS_STAT_H 1
  1813. | #define HAVE_STDLIB_H 1
  1814. | #define HAVE_STRING_H 1
  1815. | #define HAVE_MEMORY_H 1
  1816. | #define HAVE_STRINGS_H 1
  1817. | #define HAVE_INTTYPES_H 1
  1818. | #define HAVE_STDINT_H 1
  1819. | #define HAVE_UNISTD_H 1
  1820. | #define __EXTENSIONS__ 1
  1821. | #define _ALL_SOURCE 1
  1822. | #define _GNU_SOURCE 1
  1823. | #define _POSIX_PTHREAD_SEMANTICS 1
  1824. | #define _TANDEM_SOURCE 1
  1825. | #define STDC_HEADERS 1
  1826. | #define HAVE_DLFCN_H 1
  1827. | #define LT_OBJDIR ".libs/"
  1828. | /* end confdefs.h. */
  1829. | #include <ac_nonexistent.h>
  1830. configure:13226: checking for ld used by g++
  1831. configure:13293: result: /usr/bin/ld -m elf_x86_64
  1832. configure:13300: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
  1833. configure:13315: result: yes
  1834. configure:13370: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1835. configure:14375: result: yes
  1836. configure:14411: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 conftest.cpp >&5
  1837. configure:14414: $? = 0
  1838. configure:14934: checking for g++ option to produce PIC
  1839. configure:14941: result: -fPIC -DPIC
  1840. configure:14949: checking if g++ PIC flag -fPIC -DPIC works
  1841. configure:14967: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 -fPIC -DPIC -DPIC conftest.cpp >&5
  1842. configure:14971: $? = 0
  1843. configure:14984: result: yes
  1844. configure:15007: checking if g++ static flag -static works
  1845. configure:15035: result: yes
  1846. configure:15047: checking if g++ supports -c -o file.o
  1847. configure:15068: g++ -c -I/lab/app/python/python_mohammad/my_py/include/python2.7 -o out/conftest2.o conftest.cpp >&5
  1848. configure:15072: $? = 0
  1849. configure:15094: result: yes
  1850. configure:15099: checking if g++ supports -c -o file.o
  1851. configure:15146: result: yes
  1852. configure:15176: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
  1853. configure:15212: result: yes
  1854. configure:15353: checking dynamic linker characteristics
  1855. configure:16033: result: GNU/Linux ld.so
  1856. configure:16086: checking how to hardcode library paths into programs
  1857. configure:16111: result: immediate
  1858. configure:16173: checking target system type
  1859. configure:16186: result: x86_64-unknown-linux-gnu
  1860. configure:16216: checking whether to enable debug info...
  1861. configure:16234: result: no
  1862. configure:16244: checking whether to enable function inlining...
  1863. configure:16264: result: yes
  1864. configure:16279: checking whether to enable optimizations...
  1865. configure:16295: result: yes
  1866. configure:16301: checking whether to enable symbol visibility manipulation...
  1867. configure:16317: result: yes
  1868. configure:16325: checking whether to enable graph filtering...
  1869. configure:16342: result: yes
  1870. configure:16350: checking whether to enable parallel algorithms with openmp...
  1871. configure:16371: result: no
  1872. configure:16379: checking whether to enable cairo drawing...
  1873. configure:16393: result: yes
  1874. configure:16400: checking whether to enable sparsehash...
  1875. configure:16414: result: yes
  1876. configure:16426: checking for main in -lm
  1877. configure:16445: g++ -o conftest -Wall -Wextra -I/lab/app/python/python_mohammad/my_py/include/python2.7 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.cpp -lm >&5
  1878. configure:16445: $? = 0
  1879. configure:16454: result: yes
  1880. configure:16466: checking for main in -lbz2
  1881. configure:16485: g++ -o conftest -Wall -Wextra -I/lab/app/python/python_mohammad/my_py/include/python2.7 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.cpp -lbz2 -lm >&5
  1882. /usr/bin/ld: cannot find -lbz2
  1883. collect2: ld returned 1 exit status
  1884. configure:16485: $? = 1
  1885. configure: failed program was:
  1886. | /* confdefs.h */
  1887. | #define PACKAGE_NAME "graph-tool"
  1888. | #define PACKAGE_TARNAME "graph-tool"
  1889. | #define PACKAGE_VERSION "2.2.24"
  1890. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1891. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1892. | #define PACKAGE_URL ""
  1893. | #define PACKAGE "graph-tool"
  1894. | #define VERSION "2.2.24"
  1895. | #define STDC_HEADERS 1
  1896. | #define HAVE_SYS_TYPES_H 1
  1897. | #define HAVE_SYS_STAT_H 1
  1898. | #define HAVE_STDLIB_H 1
  1899. | #define HAVE_STRING_H 1
  1900. | #define HAVE_MEMORY_H 1
  1901. | #define HAVE_STRINGS_H 1
  1902. | #define HAVE_INTTYPES_H 1
  1903. | #define HAVE_STDINT_H 1
  1904. | #define HAVE_UNISTD_H 1
  1905. | #define __EXTENSIONS__ 1
  1906. | #define _ALL_SOURCE 1
  1907. | #define _GNU_SOURCE 1
  1908. | #define _POSIX_PTHREAD_SEMANTICS 1
  1909. | #define _TANDEM_SOURCE 1
  1910. | #define STDC_HEADERS 1
  1911. | #define HAVE_DLFCN_H 1
  1912. | #define LT_OBJDIR ".libs/"
  1913. | #define HAVE_LIBM 1
  1914. | /* end confdefs.h. */
  1915. |
  1916. |
  1917. | int
  1918. | main ()
  1919. | {
  1920. | return main ();
  1921. | ;
  1922. | return 0;
  1923. | }
  1924. configure:16494: result: no
  1925. configure:16506: checking for main in -lexpat
  1926. configure:16525: g++ -o conftest -Wall -Wextra -I/lab/app/python/python_mohammad/my_py/include/python2.7 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.cpp -lexpat -lm >&5
  1927. configure:16525: $? = 0
  1928. configure:16534: result: yes
  1929. configure:16557: checking whether /lab/app/python/python_mohammad/my_py/bin/python version is >= 2.6
  1930. configure:16568: /lab/app/python/python_mohammad/my_py/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.6'.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)
  1931. configure:16571: $? = 0
  1932. configure:16573: result: yes
  1933. configure:16666: checking for /lab/app/python/python_mohammad/my_py/bin/python version
  1934. configure:16673: result: 2.7
  1935. configure:16685: checking for /lab/app/python/python_mohammad/my_py/bin/python platform
  1936. configure:16692: result: linux2
  1937. configure:16718: checking for /lab/app/python/python_mohammad/my_py/bin/python script directory
  1938. configure:16753: result: ${prefix}/lib/python2.7/site-packages
  1939. configure:16762: checking for /lab/app/python/python_mohammad/my_py/bin/python extension module directory
  1940. configure:16797: result: ${exec_prefix}/lib/python2.7/site-packages
  1941. configure:16822: checking for python2.7
  1942. configure:16852: result: /lab/app/python/python_mohammad/my_py/bin/python
  1943. configure:16868: checking for a version of Python >= '2.1.0'
  1944. configure:16894: result: yes
  1945. configure:16902: checking for a version of Python == '2.7.3'
  1946. configure:16908: result: yes
  1947. configure:16925: checking for the distutils Python package
  1948. configure:16929: result: yes
  1949. configure:16943: checking for Python include path
  1950. configure:16953: result: -I/lab/app/python/python_mohammad/my_py/include/python2.7
  1951. configure:16960: checking for Python library path
  1952. configure:17045: result: -L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7
  1953. configure:17052: checking for Python site-packages path
  1954. configure:17058: result: /lab/app/python/python_mohammad/my_py/lib/python2.7/site-packages
  1955. configure:17065: checking python extra libraries
  1956. configure:17072: result: -lpthread -ldl -lutil
  1957. configure:17079: checking python extra linking flags
  1958. configure:17086: result: -Xlinker -export-dynamic
  1959. configure:17093: checking consistency of all components of python development environment
  1960. configure:17120: gcc -o conftest -I/lab/app/python/python_mohammad/my_py/include/python2.7 -I/lab/app/python/python_mohammad/my_py/include/python2.7 -L/lab/app/python/python_mohammad/my_py/include/python2.7/ conftest.c -lexpat -lm -L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7 -Xlinker -export-dynamic -lpthread -ldl -lutil >&5
  1961. conftest.c:33:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
  1962. configure:17120: $? = 1
  1963. configure: failed program was:
  1964. | /* confdefs.h */
  1965. | #define PACKAGE_NAME "graph-tool"
  1966. | #define PACKAGE_TARNAME "graph-tool"
  1967. | #define PACKAGE_VERSION "2.2.24"
  1968. | #define PACKAGE_STRING "graph-tool 2.2.24"
  1969. | #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  1970. | #define PACKAGE_URL ""
  1971. | #define PACKAGE "graph-tool"
  1972. | #define VERSION "2.2.24"
  1973. | #define STDC_HEADERS 1
  1974. | #define HAVE_SYS_TYPES_H 1
  1975. | #define HAVE_SYS_STAT_H 1
  1976. | #define HAVE_STDLIB_H 1
  1977. | #define HAVE_STRING_H 1
  1978. | #define HAVE_MEMORY_H 1
  1979. | #define HAVE_STRINGS_H 1
  1980. | #define HAVE_INTTYPES_H 1
  1981. | #define HAVE_STDINT_H 1
  1982. | #define HAVE_UNISTD_H 1
  1983. | #define __EXTENSIONS__ 1
  1984. | #define _ALL_SOURCE 1
  1985. | #define _GNU_SOURCE 1
  1986. | #define _POSIX_PTHREAD_SEMANTICS 1
  1987. | #define _TANDEM_SOURCE 1
  1988. | #define STDC_HEADERS 1
  1989. | #define HAVE_DLFCN_H 1
  1990. | #define LT_OBJDIR ".libs/"
  1991. | #define HAVE_LIBM 1
  1992. | #define HAVE_LIBEXPAT 1
  1993. | /* end confdefs.h. */
  1994. |
  1995. | #include <Python.h>
  1996. | include <Python.h>
  1997. | int
  1998. | main ()
  1999. | {
  2000. | Py_Initialize();
  2001. | ;
  2002. | return 0;
  2003. | }
  2004. |
  2005. configure:17137: result: no
  2006. configure:17141: error: in `/lab/app/python/python_mohammad/graph-tool-2.2.24':
  2007. configure:17143: error:
  2008. Could not link test program to Python. Maybe the main Python library has been
  2009. installed in some non-standard library path. If so, pass it to configure,
  2010. via the LDFLAGS environment variable.
  2011. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  2012. ============================================================================
  2013. ERROR!
  2014. You probably have to install the development version of the Python package
  2015. for your distribution. The exact name of this package varies among them.
  2016. ============================================================================
  2017.  
  2018. See `config.log' for more details
  2019.  
  2020. ## ---------------- ##
  2021. ## Cache variables. ##
  2022. ## ---------------- ##
  2023.  
  2024. ac_cv_build=x86_64-unknown-linux-gnu
  2025. ac_cv_c_compiler_gnu=yes
  2026. ac_cv_cxx_compiler_gnu=yes
  2027. ac_cv_env_CAIROMM_CFLAGS_set=
  2028. ac_cv_env_CAIROMM_CFLAGS_value=
  2029. ac_cv_env_CAIROMM_LIBS_set=
  2030. ac_cv_env_CAIROMM_LIBS_value=
  2031. ac_cv_env_CCC_set=
  2032. ac_cv_env_CCC_value=
  2033. ac_cv_env_CC_set=
  2034. ac_cv_env_CC_value=
  2035. ac_cv_env_CFLAGS_set=set
  2036. ac_cv_env_CFLAGS_value=-I/lab/app/python/python_mohammad/my_py/include/python2.7
  2037. ac_cv_env_CPPFLAGS_set=
  2038. ac_cv_env_CPPFLAGS_value=
  2039. ac_cv_env_CPP_set=
  2040. ac_cv_env_CPP_value=
  2041. ac_cv_env_CXXCPP_set=
  2042. ac_cv_env_CXXCPP_value=
  2043. ac_cv_env_CXXFLAGS_set=set
  2044. ac_cv_env_CXXFLAGS_value=-I/lab/app/python/python_mohammad/my_py/include/python2.7
  2045. ac_cv_env_CXX_set=
  2046. ac_cv_env_CXX_value=
  2047. ac_cv_env_LDFLAGS_set=set
  2048. ac_cv_env_LDFLAGS_value=-L/lab/app/python/python_mohammad/my_py/include/python2.7/
  2049. ac_cv_env_LIBS_set=
  2050. ac_cv_env_LIBS_value=
  2051. ac_cv_env_PKG_CONFIG_LIBDIR_set=
  2052. ac_cv_env_PKG_CONFIG_LIBDIR_value=
  2053. ac_cv_env_PKG_CONFIG_PATH_set=
  2054. ac_cv_env_PKG_CONFIG_PATH_value=
  2055. ac_cv_env_PKG_CONFIG_set=
  2056. ac_cv_env_PKG_CONFIG_value=
  2057. ac_cv_env_PYTHON_VERSION_set=set
  2058. ac_cv_env_PYTHON_VERSION_value=2.7
  2059. ac_cv_env_PYTHON_set=set
  2060. ac_cv_env_PYTHON_value=/lab/app/python/python_mohammad/my_py/bin/python
  2061. ac_cv_env_build_alias_set=
  2062. ac_cv_env_build_alias_value=
  2063. ac_cv_env_host_alias_set=
  2064. ac_cv_env_host_alias_value=
  2065. ac_cv_env_target_alias_set=
  2066. ac_cv_env_target_alias_value=
  2067. ac_cv_header_dlfcn_h=yes
  2068. ac_cv_header_inttypes_h=yes
  2069. ac_cv_header_memory_h=yes
  2070. ac_cv_header_minix_config_h=no
  2071. ac_cv_header_stdc=yes
  2072. ac_cv_header_stdint_h=yes
  2073. ac_cv_header_stdlib_h=yes
  2074. ac_cv_header_string_h=yes
  2075. ac_cv_header_strings_h=yes
  2076. ac_cv_header_sys_stat_h=yes
  2077. ac_cv_header_sys_types_h=yes
  2078. ac_cv_header_unistd_h=yes
  2079. ac_cv_host=x86_64-unknown-linux-gnu
  2080. ac_cv_lib_bz2_main=no
  2081. ac_cv_lib_expat_main=yes
  2082. ac_cv_lib_m_main=yes
  2083. ac_cv_objext=o
  2084. ac_cv_path_EGREP='/bin/grep -E'
  2085. ac_cv_path_FGREP='/bin/grep -F'
  2086. ac_cv_path_GREP=/bin/grep
  2087. ac_cv_path_PYTHON=/lab/app/python/python_mohammad/my_py/bin/python
  2088. ac_cv_path_SED=/bin/sed
  2089. ac_cv_path_install='/usr/bin/install -c'
  2090. ac_cv_path_mkdir=/bin/mkdir
  2091. ac_cv_prog_AWK=mawk
  2092. ac_cv_prog_CPP='gcc -E'
  2093. ac_cv_prog_CXXCPP='g++ -E'
  2094. ac_cv_prog_ac_ct_AR=ar
  2095. ac_cv_prog_ac_ct_CC=gcc
  2096. ac_cv_prog_ac_ct_CXX=g++
  2097. ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
  2098. ac_cv_prog_ac_ct_OBJDUMP=objdump
  2099. ac_cv_prog_ac_ct_RANLIB=ranlib
  2100. ac_cv_prog_ac_ct_STRIP=strip
  2101. ac_cv_prog_cc_c89=
  2102. ac_cv_prog_cc_c99=no
  2103. ac_cv_prog_cc_g=yes
  2104. ac_cv_prog_cc_gcc_c_o=yes
  2105. ac_cv_prog_cc_stdc=
  2106. ac_cv_prog_cxx_g=yes
  2107. ac_cv_prog_make_make_set=yes
  2108. ac_cv_safe_to_define___extensions__=yes
  2109. ac_cv_search_strerror='none required'
  2110. ac_cv_target=x86_64-unknown-linux-gnu
  2111. am_cv_CC_dependencies_compiler_type=gcc3
  2112. am_cv_CXX_dependencies_compiler_type=gcc3
  2113. am_cv_make_support_nested_variables=yes
  2114. am_cv_python_platform=linux2
  2115. am_cv_python_pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
  2116. am_cv_python_pythondir='${prefix}/lib/python2.7/site-packages'
  2117. am_cv_python_version=2.7
  2118. lt_cv_ar_at_file=@
  2119. lt_cv_archive_cmds_need_lc=no
  2120. lt_cv_deplibs_check_method=pass_all
  2121. lt_cv_file_magic_cmd='$MAGIC_CMD'
  2122. lt_cv_file_magic_test_file=
  2123. lt_cv_ld_reload_flag=-r
  2124. lt_cv_nm_interface='BSD nm'
  2125. lt_cv_objdir=.libs
  2126. lt_cv_path_LD=/usr/bin/ld
  2127. lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
  2128. lt_cv_path_NM='/usr/bin/nm -B'
  2129. lt_cv_path_mainfest_tool=no
  2130. lt_cv_prog_compiler_c_o=yes
  2131. lt_cv_prog_compiler_c_o_CXX=yes
  2132. lt_cv_prog_compiler_pic='-fPIC -DPIC'
  2133. lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
  2134. lt_cv_prog_compiler_pic_works=yes
  2135. lt_cv_prog_compiler_pic_works_CXX=yes
  2136. lt_cv_prog_compiler_rtti_exceptions=no
  2137. lt_cv_prog_compiler_static_works=yes
  2138. lt_cv_prog_compiler_static_works_CXX=yes
  2139. lt_cv_prog_gnu_ld=yes
  2140. lt_cv_prog_gnu_ldcxx=yes
  2141. lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
  2142. lt_cv_shlibpath_overrides_runpath=no
  2143. 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'\'''
  2144. lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'''
  2145. 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'\'''
  2146. lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
  2147. lt_cv_sys_max_cmd_len=1572864
  2148. lt_cv_to_host_file_cmd=func_convert_file_noop
  2149. lt_cv_to_tool_file_cmd=func_convert_file_noop
  2150.  
  2151. ## ----------------- ##
  2152. ## Output variables. ##
  2153. ## ----------------- ##
  2154.  
  2155. ACLOCAL='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/missing aclocal-1.13'
  2156. AMDEPBACKSLASH='\'
  2157. AMDEP_FALSE='#'
  2158. AMDEP_TRUE=''
  2159. AMTAR='$${TAR-tar}'
  2160. AM_BACKSLASH='\'
  2161. AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  2162. AM_DEFAULT_VERBOSITY='0'
  2163. AM_V='$(V)'
  2164. AR='ar'
  2165. AUTOCONF='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/missing autoconf'
  2166. AUTOHEADER='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/missing autoheader'
  2167. AUTOMAKE='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/missing automake-1.13'
  2168. AWK='mawk'
  2169. BOOST_CPPFLAGS=''
  2170. BOOST_GRAPH_LIB=''
  2171. BOOST_IOSTREAMS_LIB=''
  2172. BOOST_LDFLAGS=''
  2173. BOOST_PYTHON_LIB=''
  2174. BOOST_REGEX_LIB=''
  2175. CAIROMM_CFLAGS=''
  2176. CAIROMM_LIBS=''
  2177. CC='gcc'
  2178. CCDEPMODE='depmode=gcc3'
  2179. CFLAGS='-I/lab/app/python/python_mohammad/my_py/include/python2.7'
  2180. CGAL_FLAGS=''
  2181. CGAL_LIBADD=''
  2182. CPP='gcc -E'
  2183. CPPFLAGS=''
  2184. CXX='g++'
  2185. CXXCPP='g++ -E'
  2186. CXXDEPMODE='depmode=gcc3'
  2187. CXXFLAGS='-Wall -Wextra -I/lab/app/python/python_mohammad/my_py/include/python2.7 -ftemplate-depth-150 -Wno-deprecated -Wno-unknown-pragmas -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-unknown-pragmas'
  2188. CYGPATH_W='echo'
  2189. DEFS=''
  2190. DEPDIR='.deps'
  2191. DLLTOOL='false'
  2192. DSYMUTIL=''
  2193. DUMPBIN=''
  2194. ECHO_C=''
  2195. ECHO_N='-n'
  2196. ECHO_T=''
  2197. EGREP='/bin/grep -E'
  2198. EXEEXT=''
  2199. FGREP='/bin/grep -F'
  2200. GRAPH_TOOL_VERSION_MAJOR='2'
  2201. GRAPH_TOOL_VERSION_MICRO='24'
  2202. GRAPH_TOOL_VERSION_MINOR='2'
  2203. GREP='/bin/grep'
  2204. INSTALL_DATA='${INSTALL} -m 644'
  2205. INSTALL_PROGRAM='${INSTALL}'
  2206. INSTALL_SCRIPT='${INSTALL}'
  2207. INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
  2208. LD='/usr/bin/ld -m elf_x86_64'
  2209. LDFLAGS='-L/lab/app/python/python_mohammad/my_py/include/python2.7/'
  2210. LIBOBJS=''
  2211. LIBS='-lexpat -lm '
  2212. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  2213. LIPO=''
  2214. LN_S='ln -s'
  2215. LTLIBOBJS=''
  2216. MAKEINFO='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/missing makeinfo'
  2217. MANIFEST_TOOL=':'
  2218. MKDIR_P='/bin/mkdir -p'
  2219. MOD_CPPFLAGS=''
  2220. MOD_DIR=''
  2221. MOD_LDFLAGS=''
  2222. MOD_LIBADD=''
  2223. NM='/usr/bin/nm -B'
  2224. NMEDIT=''
  2225. NO_INLINE_FALSE=''
  2226. NO_INLINE_TRUE='#'
  2227. NO_PREFIX_PACKAGE_DATA_DIR=''
  2228. NO_PREFIX_PACKAGE_DOC_DIR=''
  2229. OBJDUMP='objdump'
  2230. OBJEXT='o'
  2231. OPENMP_LDFLAGS=''
  2232. OTOOL64=''
  2233. OTOOL=''
  2234. PACKAGE='graph-tool'
  2235. PACKAGE_BUGREPORT='http://graph-tool.skewed.de'
  2236. PACKAGE_DATA_DIR=''
  2237. PACKAGE_DOC_DIR=''
  2238. PACKAGE_NAME='graph-tool'
  2239. PACKAGE_STRING='graph-tool 2.2.24'
  2240. PACKAGE_TARNAME='graph-tool'
  2241. PACKAGE_URL=''
  2242. PACKAGE_VERSION='2.2.24'
  2243. PATH_SEPARATOR=':'
  2244. PKG_CONFIG=''
  2245. PKG_CONFIG_LIBDIR=''
  2246. PKG_CONFIG_PATH=''
  2247. PYTHON='/lab/app/python/python_mohammad/my_py/bin/python'
  2248. PYTHON_CPPFLAGS='-I/lab/app/python/python_mohammad/my_py/include/python2.7'
  2249. PYTHON_EXEC_PREFIX='${exec_prefix}'
  2250. PYTHON_EXTRA_LDFLAGS='-Xlinker -export-dynamic'
  2251. PYTHON_EXTRA_LIBS=' -lpthread -ldl -lutil'
  2252. PYTHON_FULL_VERSION='2.7.3'
  2253. PYTHON_LDFLAGS='-L/lab/app/python/python_mohammad/my_py/include/python2.7/ -lpython2.7'
  2254. PYTHON_PLATFORM='linux2'
  2255. PYTHON_PREFIX='${prefix}'
  2256. PYTHON_SITE_PKG='/lab/app/python/python_mohammad/my_py/lib/python2.7/site-packages'
  2257. PYTHON_VERSION='2.7'
  2258. RANLIB='ranlib'
  2259. SED='/bin/sed'
  2260. SET_MAKE=''
  2261. SHELL='/bin/bash'
  2262. STRIP='strip'
  2263. VERSION='2.2.24'
  2264. ac_ct_AR='ar'
  2265. ac_ct_CC='gcc'
  2266. ac_ct_CXX='g++'
  2267. ac_ct_DUMPBIN=''
  2268. am__EXEEXT_FALSE=''
  2269. am__EXEEXT_TRUE=''
  2270. am__fastdepCC_FALSE='#'
  2271. am__fastdepCC_TRUE=''
  2272. am__fastdepCXX_FALSE='#'
  2273. am__fastdepCXX_TRUE=''
  2274. am__include='include'
  2275. am__isrc=''
  2276. am__leading_dot='.'
  2277. am__nodep='_no'
  2278. am__quote=''
  2279. am__tar='$${TAR-tar} chof - "$$tardir"'
  2280. am__untar='$${TAR-tar} xf -'
  2281. bindir='${exec_prefix}/bin'
  2282. build='x86_64-unknown-linux-gnu'
  2283. build_alias=''
  2284. build_cpu='x86_64'
  2285. build_os='linux-gnu'
  2286. build_vendor='unknown'
  2287. datadir='${datarootdir}'
  2288. datarootdir='${prefix}/share'
  2289. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  2290. dvidir='${docdir}'
  2291. exec_prefix='NONE'
  2292. host='x86_64-unknown-linux-gnu'
  2293. host_alias=''
  2294. host_cpu='x86_64'
  2295. host_os='linux-gnu'
  2296. host_vendor='unknown'
  2297. htmldir='${docdir}'
  2298. includedir='${prefix}/include'
  2299. infodir='${datarootdir}/info'
  2300. install_sh='${SHELL} /lab/app/python/python_mohammad/graph-tool-2.2.24/install-sh'
  2301. libdir='${exec_prefix}/lib'
  2302. libexecdir='${exec_prefix}/libexec'
  2303. localedir='${datarootdir}/locale'
  2304. localstatedir='${prefix}/var'
  2305. mandir='${datarootdir}/man'
  2306. mkdir_p='$(MKDIR_P)'
  2307. oldincludedir='/usr/include'
  2308. pdfdir='${docdir}'
  2309. pkgpyexecdir='${pyexecdir}/graph-tool'
  2310. pkgpythondir='${pythondir}/graph-tool'
  2311. prefix='/lab/app/python/python_mohammad/my_py'
  2312. program_transform_name='s,x,x,'
  2313. psdir='${docdir}'
  2314. pyexecdir='${exec_prefix}/lib/python2.7/site-packages'
  2315. pythondir='${prefix}/lib/python2.7/site-packages'
  2316. sbindir='${exec_prefix}/sbin'
  2317. sharedstatedir='${prefix}/com'
  2318. sysconfdir='${prefix}/etc'
  2319. target='x86_64-unknown-linux-gnu'
  2320. target_alias=''
  2321. target_cpu='x86_64'
  2322. target_os='linux-gnu'
  2323. target_vendor='unknown'
  2324.  
  2325. ## ----------- ##
  2326. ## confdefs.h. ##
  2327. ## ----------- ##
  2328.  
  2329. /* confdefs.h */
  2330. #define PACKAGE_NAME "graph-tool"
  2331. #define PACKAGE_TARNAME "graph-tool"
  2332. #define PACKAGE_VERSION "2.2.24"
  2333. #define PACKAGE_STRING "graph-tool 2.2.24"
  2334. #define PACKAGE_BUGREPORT "http://graph-tool.skewed.de"
  2335. #define PACKAGE_URL ""
  2336. #define PACKAGE "graph-tool"
  2337. #define VERSION "2.2.24"
  2338. #define STDC_HEADERS 1
  2339. #define HAVE_SYS_TYPES_H 1
  2340. #define HAVE_SYS_STAT_H 1
  2341. #define HAVE_STDLIB_H 1
  2342. #define HAVE_STRING_H 1
  2343. #define HAVE_MEMORY_H 1
  2344. #define HAVE_STRINGS_H 1
  2345. #define HAVE_INTTYPES_H 1
  2346. #define HAVE_STDINT_H 1
  2347. #define HAVE_UNISTD_H 1
  2348. #define __EXTENSIONS__ 1
  2349. #define _ALL_SOURCE 1
  2350. #define _GNU_SOURCE 1
  2351. #define _POSIX_PTHREAD_SEMANTICS 1
  2352. #define _TANDEM_SOURCE 1
  2353. #define STDC_HEADERS 1
  2354. #define HAVE_DLFCN_H 1
  2355. #define LT_OBJDIR ".libs/"
  2356. #define HAVE_LIBM 1
  2357. #define HAVE_LIBEXPAT 1
  2358.  
  2359. configure: exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement