I'm trying to get the latest version of OB
(https://github.com/openbabel/openbabel) to compile on my 64 bit Linux
system.  I had no issue getting it getting it install on OSX 10.9 test
environment.

Compiler is gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

Below is a copy of the cmake output

-- The C compiler identification is GNU 4.6.3
-- The CXX compiler identification is GNU 4.4.6
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Using included inchi library.
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.7") 
-- Could NOT find wxWidgets (missing:  wxWidgets_FOUND) 
-- Looking for conio.h
-- Looking for conio.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for time.h
-- Looking for time.h - found
-- Looking for strings.h
-- Looking for strings.h - found
-- Looking for rpc/xdr.h
-- Looking for rpc/xdr.h - found
-- Looking for regex.h
-- Looking for regex.h - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for rint
-- Looking for rint - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for sranddev
-- Looking for sranddev - not found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clock_t
-- Check size of clock_t - done
-- Performing Test SCANDIR_NEEDS_CONST
-- Performing Test SCANDIR_NEEDS_CONST - Failed
-- Performing Test HAVE_GCC_VISIBILITY
-- Performing Test HAVE_GCC_VISIBILITY - Success
-- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
(Required is at least version "2.91.0")
-- Could NOT find Eigen2 (missing:  EIGEN2_INCLUDE_DIR EIGEN2_VERSION_OK)
(Required is at least version "2.0.0")
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1") 
-- checking for module 'cairo'
--   found cairo, version 1.8.8
-- Found Cairo: /usr/lib64/libcairo.so  
-- Cairo found. PNG output will be supported.
-- Looking for getopt
-- Looking for getopt - found
-- Attempting to build the GUI
--    wxWidgets not found => GUI will not be built
-- Found PythonInterp: /usr/bin/python (found version "2.6.8") 
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/build


and finally make output right before it dies:

[ 27%] Building C object
src/formats/libinchi/CMakeFiles/inchi.dir/._ichisort.o
cd /usr/src/build/src/formats/libinchi && /usr/bin/cc  -DBUILD_LINK_AS_DLL
-DHAVE_LIBZ -DHAVE_SHARED_POINTER -DUSING_DYNAMIC_LIBS -D_USRDLL -O2 -g
-DNDEBUG -fPIC -I/usr/src/build/include -I/usr/src/openbabel-master/data
-I/usr/src/openbabel-master/include -I/usr/include/cairo
-I/usr/src/openbabel-master/include/inchi   
-DOB_MODULE_PATH="\"/usr/local/lib/openbabel/2.3.90\"" -o
CMakeFiles/inchi.dir/._ichisort.o   -c
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:1: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:2: error:
stray ‘\5’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:2: error:
stray ‘\26’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:2: error:
stray ‘\7’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:5: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:2: error:
stray ‘\2’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:7: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:9: error:
unknown type name ‘Mac’
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X’
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:17: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\2’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:27: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:35: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\177’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:39: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\2’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:43: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\261’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:47: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:89: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\261’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:97: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\230’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:101: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\31’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:105: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\1’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:121: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\230’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:125: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\31’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:129: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:16: error:
stray ‘\25’ in program
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:152: warning:
null character(s) ignored [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:160: error:
expected identifier or ‘(’ before numeric constant
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:169: warning:
data definition has no type or storage class [enabled by default]
/usr/src/openbabel-master/src/formats/libinchi/._ichisort.c:1:177: warning:
null character(s) ignored [enabled by default]
make[2]: *** [src/formats/libinchi/CMakeFiles/inchi.dir/._ichisort.o] Error
1
make[2]: Leaving directory `/usr/src/build'
make[1]: *** [src/formats/libinchi/CMakeFiles/inchi.dir/all] Error 2


Thanks in advance for any help



--
View this message in context: 
http://forums.openbabel.org/Make-error-Linux-64-bit-GCC-4-6-3-inchi-dir-all-tp4657321.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to