Advertisement
Guest User

Untitled

a guest
Feb 6th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.65 KB | None | 0 0
  1. ============ Checking for C Compiler ============
  2.  
  3. int main(void) { return 0; }
  4.  
  5. ./configure-24948-5506.c -o ./configure-11819-5506.o
  6. ./configure: line 1132: : command not found
  7. no object file created
  8.  
  9.  
  10. int main(void) { return 0; }
  11.  
  12. cc ./configure-24948-5506.c -o ./configure-11819-5506.o
  13.  
  14. ldd ./configure-11819-5506.o
  15. linux-vdso.so.1 => (0x00007fffe5dff000)
  16. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f918c425000)
  17. /lib64/ld-linux-x86-64.so.2 (0x00007f918c80c000)
  18.  
  19. Result is: gcc 4.6, ok
  20. ##########################################
  21.  
  22. ============ Checking for C Compiler flags ============
  23.  
  24. int main(void) { return 0; }
  25.  
  26. cc ./configure-24948-5506.c -o ./configure-11819-5506.o -Werror -g
  27.  
  28. ldd ./configure-11819-5506.o
  29. linux-vdso.so.1 => (0x00007fff0ba47000)
  30. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0f2669d000)
  31. /lib64/ld-linux-x86-64.so.2 (0x00007f0f26a84000)
  32.  
  33.  
  34. int main(void) { return 0; }
  35.  
  36. cc -g ./configure-24948-5506.c -o ./configure-11819-5506.o -Werror -Wall
  37.  
  38. ldd ./configure-11819-5506.o
  39. linux-vdso.so.1 => (0x00007fff2f1ff000)
  40. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4512394000)
  41. /lib64/ld-linux-x86-64.so.2 (0x00007f451277b000)
  42.  
  43.  
  44. int main(void) { return 0; }
  45.  
  46. cc -g -Wall ./configure-24948-5506.c -o ./configure-11819-5506.o -Werror -O0
  47.  
  48. ldd ./configure-11819-5506.o
  49. linux-vdso.so.1 => (0x00007fff1e7ff000)
  50. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9daea96000)
  51. /lib64/ld-linux-x86-64.so.2 (0x00007f9daee7d000)
  52.  
  53. Result is: -g -Wall -O0
  54. ##########################################
  55.  
  56. ============ Checking for C++ Compiler ============
  57.  
  58. int main(void) { return 0; }
  59.  
  60. ./configure-3467-5506.cpp -o ./configure-11819-5506.o
  61. ./configure: line 1152: : command not found
  62. no object file created
  63.  
  64.  
  65. int main(void) { return 0; }
  66.  
  67. c++ ./configure-3467-5506.cpp -o ./configure-11819-5506.o
  68.  
  69. ldd ./configure-11819-5506.o
  70. linux-vdso.so.1 => (0x00007fffad5ff000)
  71. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3aa6c6c000)
  72. /lib64/ld-linux-x86-64.so.2 (0x00007f3aa7053000)
  73.  
  74. Result is: gcc 4.6, ok
  75. ##########################################
  76.  
  77. ============ Checking for C++ Compiler flags ============
  78.  
  79. int main(void) { return 0; }
  80.  
  81. c++ ./configure-3467-5506.cpp -o ./configure-11819-5506.o -Werror -g
  82.  
  83. ldd ./configure-11819-5506.o
  84. linux-vdso.so.1 => (0x00007fff889ff000)
  85. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f133cd7e000)
  86. /lib64/ld-linux-x86-64.so.2 (0x00007f133d165000)
  87.  
  88.  
  89. int main(void) { return 0; }
  90.  
  91. c++ -g ./configure-3467-5506.cpp -o ./configure-11819-5506.o -Werror -Wall
  92.  
  93. ldd ./configure-11819-5506.o
  94. linux-vdso.so.1 => (0x00007fff90dbb000)
  95. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2fc4c92000)
  96. /lib64/ld-linux-x86-64.so.2 (0x00007f2fc5079000)
  97.  
  98.  
  99. int main(void) { return 0; }
  100.  
  101. c++ -g -Wall ./configure-3467-5506.cpp -o ./configure-11819-5506.o -Werror -O0
  102.  
  103. ldd ./configure-11819-5506.o
  104. linux-vdso.so.1 => (0x00007fffee1ff000)
  105. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbb759e6000)
  106. /lib64/ld-linux-x86-64.so.2 (0x00007fbb75dcd000)
  107.  
  108. Result is: -g -Wall -O0
  109. ##########################################
  110.  
  111. ============ Checking for Position independent code (PIC) ============
  112. Result is: yes
  113. ##########################################
  114.  
  115. ============ Checking for makedepend ============
  116. Result is: gcc -MM
  117. ##########################################
  118.  
  119. ============ Checking for Python ============
  120. Result is: 2.7.3
  121. ##########################################
  122.  
  123. ============ Checking for pkg-config ============
  124. Result is: 0.26
  125. ##########################################
  126.  
  127. ============ Checking for GNU Make ============
  128. Result is: GNU Make 3.81
  129. ##########################################
  130.  
  131. ============ Checking for Doxygen ============
  132. Result is: disabled
  133. ##########################################
  134.  
  135. ============ Checking for Google C++ Mocking Framework ============
  136.  
  137. #include <iostream>
  138. #include <gtest/gtest.h>
  139. #include <gmock/gmock.h>
  140.  
  141. using ::testing::Test;
  142.  
  143. int main(int argc, char** argv)
  144. {
  145. ::testing::InitGoogleMock(&argc, argv);
  146. return RUN_ALL_TESTS();
  147. }
  148.  
  149. c++ -fPIC -g -Wall -O0 ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lgmock -lgtest -lpthread -D_THREAD_SAFE
  150. /usr/bin/ld: cannot find -lgtest
  151. collect2: ld returned 1 exit status
  152. no object file created
  153.  
  154. Result is: not detected, for unit testing please install it
  155. ##########################################
  156.  
  157. ============ Checking for CPU vendor ============
  158. Result is: GenuineIntel (6:42:7)
  159. ##########################################
  160.  
  161. ============ Checking for CPU type ============
  162. Result is: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz
  163. ##########################################
  164.  
  165. ============ Checking for GCC & CPU optimization abilities ============
  166.  
  167. int main(void) { return 0; }
  168.  
  169. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -mtune=generic
  170.  
  171. ldd ./configure-11819-5506.o
  172. linux-vdso.so.1 => (0x00007fff16bff000)
  173. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f40eef8c000)
  174. /lib64/ld-linux-x86-64.so.2 (0x00007f40ef373000)
  175.  
  176.  
  177. int main(void) { return 0; }
  178.  
  179. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -mtune=generic
  180.  
  181. ldd ./configure-11819-5506.o
  182. linux-vdso.so.1 => (0x00007fff3c5ff000)
  183. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd39b944000)
  184. /lib64/ld-linux-x86-64.so.2 (0x00007fd39bd2b000)
  185.  
  186.  
  187. int main(void) { return 0; }
  188.  
  189. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -march=x86-64 -mtune=generic
  190.  
  191. ldd ./configure-11819-5506.o
  192. linux-vdso.so.1 => (0x00007fffccdff000)
  193. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb3eba29000)
  194. /lib64/ld-linux-x86-64.so.2 (0x00007fb3ebe10000)
  195.  
  196. Result is: nocona
  197. ##########################################
  198.  
  199. ============ Checking for xmmintrin.h ============
  200.  
  201. #include <xmmintrin.h>
  202. int main() { _mm_sfence(); return 0; }
  203.  
  204. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -msse
  205.  
  206. ldd ./configure-11819-5506.o
  207. linux-vdso.so.1 => (0x00007fff2c7ff000)
  208. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6774c7c000)
  209. /lib64/ld-linux-x86-64.so.2 (0x00007f6775063000)
  210.  
  211. Result is: yes
  212. ##########################################
  213.  
  214. ============ Checking for mm3dnow.h ============
  215.  
  216. #include <mm3dnow.h>
  217. int main() { _m_femms(); return 0; }
  218.  
  219. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -m3dnow
  220.  
  221. ldd ./configure-11819-5506.o
  222. linux-vdso.so.1 => (0x00007fff85878000)
  223. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f83cb255000)
  224. /lib64/ld-linux-x86-64.so.2 (0x00007f83cb63c000)
  225.  
  226. Result is: yes
  227. ##########################################
  228.  
  229. ============ Checking for Word Size ============
  230. Result is: 64 bit
  231. ##########################################
  232.  
  233. ============ Checking for Math support (-lm) ============
  234.  
  235. #include <math.h>
  236. int main(void) { return 0; }
  237.  
  238. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -lm
  239.  
  240. ldd ./configure-11819-5506.o
  241. linux-vdso.so.1 => (0x00007fffb4fff000)
  242. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1812122000)
  243. /lib64/ld-linux-x86-64.so.2 (0x00007f1812509000)
  244.  
  245. Result is: yes
  246. ##########################################
  247.  
  248. ============ Checking for Math powl() support ============
  249.  
  250. #include <math.h>
  251. int main(int argc, char** argv)
  252. {
  253. long double a=powl((long double) argc, (long double) argc);
  254. return (int) a;
  255. }
  256.  
  257. c++ -fPIC -g -Wall -O0 ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lm -lm
  258.  
  259. ldd ./configure-11819-5506.o
  260. linux-vdso.so.1 => (0x00007ffff8d5c000)
  261. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f146664b000)
  262. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f146628c000)
  263. /lib64/ld-linux-x86-64.so.2 (0x00007f146696f000)
  264.  
  265. Result is: yes
  266. ##########################################
  267.  
  268. ============ Checking for Math lgammal() support ============
  269.  
  270. #include <math.h>
  271. int main(int argc, char** argv)
  272. {
  273. long double a=lgammal((long double) argc);
  274. return (int) a;
  275. }
  276.  
  277. c++ -fPIC -g -Wall -O0 ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lm -lm
  278.  
  279. ldd ./configure-11819-5506.o
  280. linux-vdso.so.1 => (0x00007fff45dff000)
  281. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcea8624000)
  282. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcea8265000)
  283. /lib64/ld-linux-x86-64.so.2 (0x00007fcea8948000)
  284.  
  285. Result is: yes
  286. ##########################################
  287.  
  288. ============ Checking for Math sqrtl() support ============
  289.  
  290. #include <math.h>
  291. int main(int argc, char** argv)
  292. {
  293. long double a=sqrtl((long double) argc);
  294. return (int) a;
  295. }
  296.  
  297. c++ -fPIC -g -Wall -O0 ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lm -lm
  298.  
  299. ldd ./configure-11819-5506.o
  300. linux-vdso.so.1 => (0x00007fff330c1000)
  301. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe4e7967000)
  302. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe4e75a8000)
  303. /lib64/ld-linux-x86-64.so.2 (0x00007fe4e7c8b000)
  304.  
  305. Result is: yes
  306. ##########################################
  307.  
  308. ============ Checking for Math log2() support ============
  309.  
  310. #include <math.h>
  311. int main(int argc, char** argv)
  312. {
  313. double a=log2((double) argc);
  314. return (int) a;
  315. }
  316.  
  317. c++ -fPIC -g -Wall -O0 ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lm -lm
  318.  
  319. ldd ./configure-11819-5506.o
  320. linux-vdso.so.1 => (0x00007fff051ff000)
  321. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ffca5c1f000)
  322. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffca5860000)
  323. /lib64/ld-linux-x86-64.so.2 (0x00007ffca5f43000)
  324.  
  325. Result is: yes
  326. ##########################################
  327.  
  328. ============ Checking for Posix threads support ============
  329.  
  330. #include <pthread.h>
  331. int main(void) { return 0; }
  332.  
  333. cc -fPIC -g -Wall -O0 ./configure-24948-5506.c -o ./configure-11819-5506.o -pthread -lm
  334.  
  335. ldd ./configure-11819-5506.o
  336. linux-vdso.so.1 => (0x00007fff1cdff000)
  337. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fafdc2a6000)
  338. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fafdbee7000)
  339. /lib64/ld-linux-x86-64.so.2 (0x00007fafdc4eb000)
  340.  
  341. Result is: yes
  342. ##########################################
  343.  
  344. ============ Checking for HDF5 (>= 1.8.0) support ============
  345.  
  346. #include <hdf5.h>
  347. int main(void)
  348. {
  349. hid_t file = H5Fcreate("foobar.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
  350. hid_t group = H5Gcreate2(file, "groupname", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
  351.  
  352. return 0;
  353. }
  354.  
  355. cc -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lhdf5 -lm -pthread
  356. ./configure-24948-5506.c: In function ‘main’:
  357. ./configure-24948-5506.c:5:8: warning: unused variable ‘group’ [-Wunused-variable]
  358.  
  359. ldd ./configure-11819-5506.o
  360. linux-vdso.so.1 => (0x00007fffa8cba000)
  361. libhdf5.so.6 => /usr/lib/libhdf5.so.6 (0x00007f268b8ec000)
  362. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f268b6cf000)
  363. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f268b30f000)
  364. libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f268b0f8000)
  365. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f268adfc000)
  366. /lib64/ld-linux-x86-64.so.2 (0x00007f268beaf000)
  367.  
  368. Result is: yes
  369. ##########################################
  370.  
  371. ============ Checking for libjson (json-c) ============
  372.  
  373. #include <json.h>
  374. int main(void)
  375. {
  376. json_object* x = json_object_new_object();
  377. json_object_put(x);
  378.  
  379. return 0;
  380. }
  381.  
  382. cc -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -I/usr/include/json -ljson -lm -pthread -lhdf5
  383.  
  384. ldd ./configure-11819-5506.o
  385. linux-vdso.so.1 => (0x00007fffa29b6000)
  386. libjson.so.0 => /usr/lib/x86_64-linux-gnu/libjson.so.0 (0x00007f7c50189000)
  387. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c4ff6c000)
  388. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c4fbac000)
  389. /lib64/ld-linux-x86-64.so.2 (0x00007f7c503b9000)
  390.  
  391. Result is: yes
  392. ##########################################
  393.  
  394. ============ Checking for libxml2 (>= 2.7.0) ============
  395.  
  396. #include <libxml/parser.h>
  397. #include <libxml/tree.h>
  398.  
  399. int main(void)
  400. {
  401. LIBXML_TEST_VERSION;
  402.  
  403. #if !defined(LIBXML_TREE_ENABLED) || !defined(LIBXML_OUTPUT_ENABLED)
  404. this_is_not_compilable :)
  405. #endif
  406.  
  407. xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");
  408. xmlNode* node = xmlNewNode(NULL, BAD_CAST "Hello");
  409. xmlDocSetRootElement(doc, node);
  410.  
  411. xmlChildElementCount(node);
  412.  
  413. xmlFreeDoc(doc);
  414. xmlCleanupParser();
  415.  
  416. return 0;
  417. }
  418.  
  419. cc -I/usr/include/json -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -I/usr/include/libxml2 -lxml2 -lm -pthread -lhdf5 -ljson
  420.  
  421. ldd ./configure-11819-5506.o
  422. linux-vdso.so.1 => (0x00007fffc85ff000)
  423. libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fc2c4e2f000)
  424. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc2c4c12000)
  425. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc2c4852000)
  426. libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc2c464e000)
  427. libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc2c4437000)
  428. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc2c413a000)
  429. /lib64/ld-linux-x86-64.so.2 (0x00007fc2c51b2000)
  430.  
  431. Result is: yes
  432. ##########################################
  433.  
  434. ============ Checking for AMD ACML support ============
  435.  
  436. #include <cblas.h>
  437. void dpotrf(char uplo, int n, double *a, int lda, int *info);
  438.  
  439. int main(int argc, char** argv)
  440. {
  441. char uplo = 'U';
  442. int info=0;
  443. int skip=argc;
  444. int n=argc; double* a=0; double* v1=0; double* v2=0;
  445. int lda=1;
  446. dpotrf(uplo, n, a, lda, &info);
  447. int r = cblas_ddot(n, v1, skip, v2, skip);
  448. return 0;
  449. }
  450.  
  451. cc -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lacml -lcblas -lgfortran -lm -pthread -lhdf5 -ljson -lxml2
  452. ./configure-24948-5506.c: In function ‘main’:
  453. ./configure-24948-5506.c:12:6: warning: unused variable ‘r’ [-Wunused-variable]
  454. /usr/bin/ld: cannot find -lacml
  455. collect2: ld returned 1 exit status
  456. no object file created
  457.  
  458. Result is: no
  459. ##########################################
  460.  
  461. ============ Checking for Intel MKL support ============
  462.  
  463. #include <mkl_cblas.h>
  464. void dpotrf(char* uplo, int* n, double* a, int* lda, int* info);
  465.  
  466. int main(int argc, char** argv)
  467. {
  468. char uplo = 'U';
  469. int info=0;
  470. int skip=argc;
  471. int n=argc; double* a=0; double* v1=0; double* v2=0;
  472. int lda=1;
  473. dpotrf(&uplo, &n, a, &lda, &info);
  474. int r = cblas_ddot(n, v1, skip, v2, skip);
  475. return 0;
  476. }
  477.  
  478. cc -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -Wl,--start-group -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lm -pthread -lhdf5 -ljson -lxml2
  479. ./configure-24948-5506.c:1:23: fatal error: mkl_cblas.h: No such file or directory
  480. compilation terminated.
  481. no object file created
  482.  
  483.  
  484. #include <mkl_cblas.h>
  485. void dpotrf(char* uplo, int* n, double* a, int* lda, int* info);
  486.  
  487. int main(int argc, char** argv)
  488. {
  489. char uplo = 'U';
  490. int info=0;
  491. int skip=argc;
  492. int n=argc; double* a=0; double* v1=0; double* v2=0;
  493. int lda=1;
  494. dpotrf(&uplo, &n, a, &lda, &info);
  495. int r = cblas_ddot(n, v1, skip, v2, skip);
  496. return 0;
  497. }
  498.  
  499. cc -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -Wl,--start-group -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lm -pthread -lhdf5 -ljson -lxml2
  500. ./configure-24948-5506.c:1:23: fatal error: mkl_cblas.h: No such file or directory
  501. compilation terminated.
  502. no object file created
  503.  
  504. Result is: no
  505. ##########################################
  506.  
  507. ============ Checking for Atlas support ============
  508.  
  509. #include <cblas.h>
  510. #include <clapack.h>
  511.  
  512. int main(int argc, char** argv)
  513. {
  514. int skip=argc;
  515. int n=argc; double* a=0; double* v1=0; double* v2=0;
  516. int result=clapack_dpotrf(CblasRowMajor, CblasUpper, n, a, n);
  517. int r = cblas_ddot(n, v1, skip, v2, skip);
  518. return 0;
  519. }
  520.  
  521. cc -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -llapack -lcblas -llapack_atlas -lm -pthread -lhdf5 -ljson -lxml2
  522. ./configure-24948-5506.c: In function ‘main’:
  523. ./configure-24948-5506.c:9:6: warning: unused variable ‘r’ [-Wunused-variable]
  524. ./configure-24948-5506.c:8:6: warning: unused variable ‘result’ [-Wunused-variable]
  525.  
  526. ldd ./configure-11819-5506.o
  527. linux-vdso.so.1 => (0x00007fffb8fe1000)
  528. liblapack.so.3gf => /usr/lib/liblapack.so.3gf (0x00007fac9b0d0000)
  529. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fac9aeb3000)
  530. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fac9aaf3000)
  531. libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00007fac9a58a000)
  532. libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fac9a273000)
  533. libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fac9a05c000)
  534. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fac99d60000)
  535. /lib64/ld-linux-x86-64.so.2 (0x00007fac9bd15000)
  536. libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fac99b2a000)
  537.  
  538. Result is: yes
  539. ##########################################
  540.  
  541. ============ Checking for catlas ============
  542.  
  543. #include <cblas.h>
  544.  
  545. int main(int argc, char** argv)
  546. {
  547. int vlen = 17;
  548. double const_elem = 17.0;
  549. double vector[17];
  550. catlas_sset(vlen, const_elem, vector, 1);
  551. catlas_dset(vlen, const_elem, vector, 1);
  552. return 0;
  553. }
  554.  
  555. cc -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas
  556. ./configure-24948-5506.c: In function ‘main’:
  557. ./configure-24948-5506.c:8:2: warning: implicit declaration of function ‘catlas_sset’ [-Wimplicit-function-declaration]
  558. ./configure-24948-5506.c:9:2: warning: implicit declaration of function ‘catlas_dset’ [-Wimplicit-function-declaration]
  559.  
  560. ldd ./configure-11819-5506.o
  561. linux-vdso.so.1 => (0x00007ffff39ff000)
  562. liblapack.so.3gf => /usr/lib/liblapack.so.3gf (0x00007f9ea6f28000)
  563. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f9ea6d0b000)
  564. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f9ea694b000)
  565. libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00007f9ea63e2000)
  566. libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007f9ea60cb000)
  567. libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f9ea5eb4000)
  568. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f9ea5bb8000)
  569. /lib64/ld-linux-x86-64.so.2 (0x00007f9ea7b6d000)
  570. libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007f9ea5982000)
  571.  
  572. Result is: yes
  573. ##########################################
  574.  
  575. ============ Checking for Mosek support ============
  576.  
  577. #include <mosek.h>
  578.  
  579. int main(int argc, char **argv)
  580. {
  581. MSKenv_t m_env;
  582. MSK_makeenv(&m_env, NULL, NULL, NULL, NULL);
  583. }
  584.  
  585. c++ -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-3467-5506.cpp -o ./configure-11819-5506.o -liomp5 -lmosek64 -lpthread -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas
  586. ./configure-3467-5506.cpp:1:19: fatal error: mosek.h: No such file or directory
  587. compilation terminated.
  588. no object file created
  589.  
  590. Result is: no
  591. ##########################################
  592.  
  593. ============ Checking for ARPACK support ============
  594.  
  595. extern "C" void dsaupd_(int *ido, char *bmat, int *n, char *which,
  596. int *nev, double *tol, double *resid, int *ncv,
  597. double *v, int *ldv, int *iparam, int *ipntr,
  598. double *workd, double *workl, int *lworkl,
  599. int *info);
  600.  
  601. int main(int argc, char **argv)
  602. {
  603. int ido = 0,n = 3, nev=1;
  604. double tol = 0.0;
  605. double* resid = new double[n];
  606. int ncv = n;
  607. int ldv = n;
  608. double* v = new double[ldv*ncv];
  609. int* iparam = new int[11];
  610. iparam[0] = 1;
  611. iparam[2] = 3*n;
  612. iparam[6] = 1;
  613. int* ipntr = new int[11];
  614. double* workd = new double[3*n];
  615. double* workl = new double[ncv*(ncv+8)];
  616. int lworkl = ncv*(ncv+8);
  617. char bmat[2] = "I";
  618. char which[3] = "SM";
  619. int info = 0;
  620. dsaupd_(&ido,bmat,&n,which,
  621. &nev,&tol,resid,&ncv,
  622. v,&ldv,iparam,ipntr,
  623. workd,workl,&lworkl,&info);
  624. delete[] resid;
  625. delete[] v;
  626. delete[] iparam;
  627. delete[] ipntr;
  628. delete[] workd;
  629. delete[] workl;
  630. return 0;
  631. }
  632.  
  633. c++ -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-3467-5506.cpp -o ./configure-11819-5506.o -larpack -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas
  634.  
  635. ldd ./configure-11819-5506.o
  636. linux-vdso.so.1 => (0x00007ffff6dff000)
  637. libarpack.so.2 => /usr/lib/libarpack.so.2 (0x00007fbf20556000)
  638. libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fbf20256000)
  639. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fbf1fe96000)
  640. libblas.so.3gf => /usr/lib/libblas.so.3gf (0x00007fbf1f92d000)
  641. liblapack.so.3gf => /usr/lib/liblapack.so.3gf (0x00007fbf1ed10000)
  642. libgfortran.so.3 => /usr/lib/x86_64-linux-gnu/libgfortran.so.3 (0x00007fbf1e9f8000)
  643. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fbf1e6fc000)
  644. /lib64/ld-linux-x86-64.so.2 (0x00007fbf207cb000)
  645. libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fbf1e4e6000)
  646. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fbf1e2c8000)
  647. libquadmath.so.0 => /usr/lib/x86_64-linux-gnu/libquadmath.so.0 (0x00007fbf1e092000)
  648.  
  649. Result is: yes
  650. ##########################################
  651.  
  652. ============ Checking for NLOPT support ============
  653.  
  654. #include <nlopt.h>
  655. int main(int argc, char **argv)
  656. {
  657. nlopt_opt opt;
  658. return 0;
  659. }
  660.  
  661. c++ -I/usr/include/json -I/usr/include/libxml2 -fPIC -g -Wall -O0 -pthread ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lnlopt -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack
  662. ./configure-3467-5506.cpp:1:19: fatal error: nlopt.h: No such file or directory
  663. compilation terminated.
  664. no object file created
  665.  
  666. Result is: no
  667. ##########################################
  668.  
  669. ============ Checking for Eigen3 support ============
  670.  
  671. #include <Eigen/Dense>
  672. using namespace Eigen;
  673. int main()
  674. {
  675. MatrixXf m = MatrixXf::Random(3,3);
  676. m = (m + MatrixXf::Constant(3,3,1.2)) * 50;
  677. VectorXf v(3);
  678. v << 1, 2, 3;
  679. }
  680.  
  681. c++ -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack
  682.  
  683. ldd ./configure-11819-5506.o
  684. linux-vdso.so.1 => (0x00007fff31fff000)
  685. libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2d18033000)
  686. libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f2d17e1d000)
  687. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2d17a5d000)
  688. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f2d17761000)
  689. /lib64/ld-linux-x86-64.so.2 (0x00007f2d1835b000)
  690.  
  691. Result is: yes
  692. ##########################################
  693.  
  694. ============ Checking for CPLEX support ============
  695. Result is: no
  696. ##########################################
  697.  
  698. ============ Checking for GLPK ============
  699.  
  700. #include <glpk.h>
  701. int main()
  702. {
  703. glp_term_out(GLP_OFF);
  704. LPX* lp=lpx_create_prob();
  705. lpx_delete_prob(lp);
  706. return 0;
  707. }
  708.  
  709. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lglpk -lm -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack
  710.  
  711. ldd ./configure-11819-5506.o
  712. linux-vdso.so.1 => (0x00007fffd5b33000)
  713. libglpk.so.0 => /usr/lib/libglpk.so.0 (0x00007fc45d1c5000)
  714. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fc45cfa8000)
  715. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fc45cbe8000)
  716. libltdl.so.7 => /usr/lib/x86_64-linux-gnu/libltdl.so.7 (0x00007fc45c9de000)
  717. libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fc45c7c7000)
  718. libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fc45c558000)
  719. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fc45c25c000)
  720. /lib64/ld-linux-x86-64.so.2 (0x00007fc45d4b5000)
  721. libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fc45c058000)
  722.  
  723. Result is: yes
  724. ##########################################
  725.  
  726. ============ Checking for lzo ============
  727.  
  728. #include "lzo/lzoconf.h"
  729. #include "lzo/lzo1x.h"
  730. int main(int argc, char** argv)
  731. {
  732. volatile lzo_bytep in;
  733. volatile lzo_uint in_len;
  734. return (lzo_init() != LZO_E_OK) ? 1 : 0;
  735. }
  736.  
  737. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -llzo2 -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm
  738. ./configure-24948-5506.c: In function ‘main’:
  739. ./configure-24948-5506.c:6:20: warning: unused variable ‘in_len’ [-Wunused-variable]
  740. ./configure-24948-5506.c:5:21: warning: unused variable ‘in’ [-Wunused-variable]
  741.  
  742. ldd ./configure-11819-5506.o
  743. linux-vdso.so.1 => (0x00007fffc157c000)
  744. liblzo2.so.2 => /usr/lib/x86_64-linux-gnu/liblzo2.so.2 (0x00007f0a08025000)
  745. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0a07e08000)
  746. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0a07a48000)
  747. /lib64/ld-linux-x86-64.so.2 (0x00007f0a0826e000)
  748.  
  749. Result is: yes
  750. ##########################################
  751.  
  752. ============ Checking for snappy ============
  753.  
  754. #include <snappy.h>
  755. int main(int argc, char** argv)
  756. {
  757. size_t input_length = (size_t) argc;
  758. char* input = new char[input_length];
  759. char* output = new char[snappy::MaxCompressedLength(input_length)];
  760. size_t output_length;
  761. snappy::RawCompress(input, input_length, output, &output_length);
  762. delete [] output;
  763. return int(output_length);
  764. }
  765.  
  766. c++ -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-3467-5506.cpp -o ./configure-11819-5506.o -lsnappy -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2
  767. ./configure-3467-5506.cpp:1:20: fatal error: snappy.h: No such file or directory
  768. compilation terminated.
  769. no object file created
  770.  
  771. Result is: no
  772. ##########################################
  773.  
  774. ============ Checking for gzip ============
  775.  
  776. #include <zlib.h>
  777. int main(int argc, char** argv)
  778. {
  779. uLongf l=argc;
  780. return (compress2((Bytef*) argv, &l, (Bytef*) argv, l, argc) != Z_OK);
  781. }
  782.  
  783. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lz -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2
  784.  
  785. ldd ./configure-11819-5506.o
  786. linux-vdso.so.1 => (0x00007fff74dff000)
  787. libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8c29d17000)
  788. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8c29afa000)
  789. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8c2973a000)
  790. /lib64/ld-linux-x86-64.so.2 (0x00007f8c29f56000)
  791.  
  792. Result is: yes
  793. ##########################################
  794.  
  795. ============ Checking for bzip2 ============
  796.  
  797. #include <bzlib.h>
  798. int main(int argc, char** argv)
  799. {
  800. bz_stream* strm=NULL;
  801. return BZ2_bzCompress(strm, argc);
  802. }
  803.  
  804. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -lbz2 -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2 -lz
  805.  
  806. ldd ./configure-11819-5506.o
  807. linux-vdso.so.1 => (0x00007fff92dff000)
  808. libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f1dd3b7a000)
  809. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1dd395d000)
  810. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1dd359d000)
  811. /lib64/ld-linux-x86-64.so.2 (0x00007f1dd3db2000)
  812.  
  813. Result is: yes
  814. ##########################################
  815.  
  816. ============ Checking for lzma ============
  817.  
  818. #include <lzma.h>
  819. int main(int argc, char** argv)
  820. {
  821. return (int) lzma_stream_buffer_bound((size_t) argc) ;
  822. }
  823.  
  824. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -llzma -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2 -lz -lbz2
  825. ./configure-24948-5506.c:1:18: fatal error: lzma.h: No such file or directory
  826. compilation terminated.
  827. no object file created
  828.  
  829. Result is: no
  830. ##########################################
  831.  
  832. ============ Checking for Posix thread spinlock support ============
  833.  
  834. #include <pthread.h>
  835. int main(void)
  836. {
  837. volatile pthread_spinlock_t lock;
  838. pthread_spin_init(&lock, 0);
  839. return 0;
  840. }
  841.  
  842. cc -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -Xlinker --no-undefined -pthread -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2 -lz -lbz2
  843.  
  844. ldd ./configure-11819-5506.o
  845. linux-vdso.so.1 => (0x00007fff89cd4000)
  846. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f47f04c9000)
  847. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f47f010a000)
  848. /lib64/ld-linux-x86-64.so.2 (0x00007f47f070e000)
  849.  
  850. Result is: yes
  851. ##########################################
  852.  
  853. ============ Checking for libshogun ============
  854. Result is: yes (internal in source tree)
  855. ##########################################
  856.  
  857. ============ Checking for Python numpy support ============
  858. Result is: 1.6.1
  859. ##########################################
  860.  
  861. ============ Checking for Python/Python Numpy Developer Files ============
  862.  
  863. #include <Python.h>
  864. #include <stdlib.h>
  865. #include <numpy/arrayobject.h>
  866.  
  867. PyMODINIT_FUNC initsg(void)
  868. {
  869. double* array=(double*) malloc(10*sizeof(double));
  870. npy_intp* dims=(npy_intp*) malloc(sizeof(npy_int));
  871. dims[0]=10;
  872. Py_Initialize();
  873. PyObject* outArray = PyArray_SimpleNewFromData(1, dims, NPY_DOUBLE, (void*)array);
  874. }
  875.  
  876. PyMODINIT_FUNC initsg(void);
  877.  
  878. cc -I. -I.. -I/usr/include/json -I/usr/include/libxml2 -isystem /usr/include/eigen3 -fPIC -g -Wall -O0 -pthread ./configure-24948-5506.c -o ./configure-11819-5506.o -Xlinker --no-undefined -fno-strict-aliasing -I/usr/include/python2.7 -I/usr/lib/python2.7/dist-packages/numpy/core/include -shared -L/usr/lib/python2.7/config -lpython2.7 -ldl -lutil -lm -pthread -lhdf5 -ljson -lxml2 -llapack -lcblas -llapack_atlas -larpack -lglpk -lm -llzo2 -lz -lbz2
  879. ./configure-24948-5506.c: In function ‘initsg’:
  880. ./configure-24948-5506.c:11:12: warning: unused variable ‘outArray’ [-Wunused-variable]
  881. ./configure-24948-5506.c: At top level:
  882. /usr/include/python2.7/numpy/__multiarray_api.h:1532:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
  883.  
  884. ldd ./configure-11819-5506.o
  885. linux-vdso.so.1 => (0x00007fff94bff000)
  886. libpython2.7.so.1.0 => /usr/lib/libpython2.7.so.1.0 (0x00007f90dccf8000)
  887. libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f90dcadb000)
  888. libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f90dc71b000)
  889. libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007f90dc4bf000)
  890. libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007f90dc0f7000)
  891. libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f90dbedf000)
  892. libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f90dbcdb000)
  893. libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f90dbad8000)
  894. libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f90db7db000)
  895. libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f90db5c5000)
  896. /lib64/ld-linux-x86-64.so.2 (0x00007f90dd420000)
  897.  
  898. Result is: yes
  899. ##########################################
  900.  
  901. ============ Checking for SWIG ============
  902. Result is: 2.0.4
  903. ##########################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement