Hi everyone,

I'm not quite sure if this is the correct place to ask my question, but I 
couldn't find any help on google - so here I am!

On most of my systems openbabel works perfectly fine (compiled by myself and 
taken from yum/apt-get).
However, I am now trying to install the python bindings for OpenBabel 2.3.1 on 
a CentOS5 system. Unfortunately the bindings I could get from yum are only for 
an older version so I wanted to compile everything by myself.
Until I reach make install everything looks good, but then I get an error I 
never encountered before.

So here is what works:
mkdir build
cd build
cmake .. -DPYTHON_BINDINGS=ON -DPYTHON_PREFIX=<path>/openbabel-2.3.1/build 
-DCMAKE_INSTALL_PREFIX=<path>/openbabel-2.3.1/build -DRUN_SWIG=ON 
-DSWIG_EXECUTABLE=/<path>/swig-2.0.9/build/swig
--- then edit the CMakeCache to have proper path to eigen2, 
-DEIGEN2_INCLUDE_DIR doesn't really work, somehow)
make -j4

where <path> is the path to my homedirectory.

I then get my folders with the following libraries (among others) in the 
<path>/openbabel-2.3.1/build/lib/ dir:
libinchi.so -> libinchi.so.0
libinchi.so.0 -> libinchi.so.0.3.1
libinchi.so.0.3.1
libopenbabel.so -> libopenbabel.so.4
libopenbabel.so.4 -> libopenbabel.so.4.0.1
libopenbabel.so.4.0.1

If I then do 'make install', I get the following errors:
CMake Error at src/cmake_install.cmake:48 (FILE):
  file INSTALL cannot find
  "<path>/openbabel-2.3.1/build/lib/libopenbabel.so.4.0.1".
Call Stack (most recent call first):
  cmake_install.cmake:75 (INCLUDE)

and

CMake Error at src/formats/inchi103/cmake_install.cmake:48 (FILE):
  file INSTALL cannot find
  "<path>/openbabel-2.3.1/build/lib/libinchi.so.0.3.1".
Call Stack (most recent call first):
  src/formats/cmake_install.cmake:2017 (INCLUDE)
  src/cmake_install.cmake:173 (INCLUDE)
  cmake_install.cmake:75 (INCLUDE)

And if I check the library dir again, the both files are indeed not there 
ALTHOUGH they were there before I started the install process. How can this 
happen?

I am not very familiar with CMake so can anyone help me fix this problem or 
tell me how I can install the python-bindings in a different way on CentOS5?

Thanks a lot for you help.
Cheers,
Charlotta


---
Charlotta Schärfe
Eberhard Karls University Tübingen
Applied Bioinformatics Group
Phone: +49 (0)7071 29-70462
schae...@informatik.uni-tuebingen.de






------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to