Determining if the include file conio.h exists failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_f7d6e/fast" /usr/bin/gmake -f CMakeFiles/cmTC_f7d6e.dir/build.make CMakeFiles/cmTC_f7d6e.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_f7d6e.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -o CMakeFiles/cmTC_f7d6e.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: conio.h: No such file or directory #include ^~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_f7d6e.dir/build.make:66: CMakeFiles/cmTC_f7d6e.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_f7d6e/fast] Error 2 Determining if the include file rpc/xdr.h exists failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_1fc8b/fast" /usr/bin/gmake -f CMakeFiles/cmTC_1fc8b.dir/build.make CMakeFiles/cmTC_1fc8b.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_1fc8b.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -o CMakeFiles/cmTC_1fc8b.dir/CheckIncludeFile.c.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckIncludeFile.c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: rpc/xdr.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. gmake[1]: *** [CMakeFiles/cmTC_1fc8b.dir/build.make:66: CMakeFiles/cmTC_1fc8b.dir/CheckIncludeFile.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_1fc8b/fast] Error 2 Determining if the rint exist failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_93f99/fast" /usr/bin/gmake -f CMakeFiles/cmTC_93f99.dir/build.make CMakeFiles/cmTC_93f99.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_93f99.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -o CMakeFiles/cmTC_93f99.dir/CheckSymbolExists.c.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTC_93f99 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_93f99.dir/link.txt --verbose=1 /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -rdynamic CMakeFiles/cmTC_93f99.dir/CheckSymbolExists.c.o -o cmTC_93f99 CMakeFiles/cmTC_93f99.dir/CheckSymbolExists.c.o: In function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `rint' collect2: error: ld returned 1 exit status gmake[1]: *** [CMakeFiles/cmTC_93f99.dir/build.make:87: cmTC_93f99] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_93f99/fast] Error 2 File /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef rint return ((int*)(&rint))[argc]; #else (void)argc; return 0; #endif } Determining if the sranddev exist failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_cdf5a/fast" /usr/bin/gmake -f CMakeFiles/cmTC_cdf5a.dir/build.make CMakeFiles/cmTC_cdf5a.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_cdf5a.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -o CMakeFiles/cmTC_cdf5a.dir/CheckSymbolExists.c.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In function ‘main’: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: error: ‘sranddev’ undeclared (first use in this function); did you mean ‘srand48’? return ((int*)(&sranddev))[argc]; ^~~~~~~~ srand48 /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in gmake[1]: *** [CMakeFiles/cmTC_cdf5a.dir/build.make:66: CMakeFiles/cmTC_cdf5a.dir/CheckSymbolExists.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_cdf5a/fast] Error 2 File /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef sranddev return ((int*)(&sranddev))[argc]; #else (void)argc; return 0; #endif } Performing C SOURCE FILE Test SCANDIR_NEEDS_CONST failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_3858e/fast" /usr/bin/gmake -f CMakeFiles/cmTC_3858e.dir/build.make CMakeFiles/cmTC_3858e.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_3858e.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DNDEBUG -O2 -pipe -march=native -DSCANDIR_NEEDS_CONST -Werror -o CMakeFiles/cmTC_3858e.dir/src.c.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.c: In function ‘main’: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.c:7:46: error: passing argument 3 of ‘scandir’ from incompatible pointer type [-Werror=incompatible-pointer-types] int count = scandir ("./", &entries_pp, matchFiles, 0); ^~~~~~~~~~ In file included from /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.c:3: /usr/include/dirent.h:257:13: note: expected ‘int (*)(const struct dirent *)’ but argument is of type ‘int (*)(struct dirent *)’ int (*__selector) (const struct dirent *), ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[1]: *** [CMakeFiles/cmTC_3858e.dir/build.make:66: CMakeFiles/cmTC_3858e.dir/src.c.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_3858e/fast] Error 2 Source file was: #include #include int main(){ extern int matchFiles (struct dirent *entry_p); struct dirent **entries_pp; int count = scandir ("./", &entries_pp, matchFiles, 0); return count; } Performing C++ SOURCE FILE Test HAVE_STD_TR1_SHARED_PTR failed with the following output: Change Dir: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTC_3fca6/fast" /usr/bin/gmake -f CMakeFiles/cmTC_3fca6.dir/build.make CMakeFiles/cmTC_3fca6.dir/build gmake[1]: Entering directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' Building CXX object CMakeFiles/cmTC_3fca6.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe -march=native -pthread -DHAVE_STD_TR1_SHARED_PTR -Werror -o CMakeFiles/cmTC_3fca6.dir/src.cxx.o -c /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.cxx /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.cxx: In function ‘int main()’: /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.cxx:2:45: error: ‘std::tr1’ has not been declared int main(){ std::tr1::shared_ptr p; return 0; } ^~~ /var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp/src.cxx:2:61: error: expected primary-expression before ‘int’ int main(){ std::tr1::shared_ptr p; return 0; } ^~~ gmake[1]: *** [CMakeFiles/cmTC_3fca6.dir/build.make:66: CMakeFiles/cmTC_3fca6.dir/src.cxx.o] Error 1 gmake[1]: Leaving directory '/var/tmp/portage/sci-chemistry/openbabel-python-2.4.1-r1/work/openbabel-2.4.1-python2_7/CMakeFiles/CMakeTmp' gmake: *** [Makefile:121: cmTC_3fca6/fast] Error 2 Source file was: #include int main(){ std::tr1::shared_ptr p; return 0; }