O , 2012-05-29 14:29 -0700, Craig James rakstīja:
> I've confirmed absolutely on Ubuntu: Testing in the build directory
> works.  Testing with an installed OpenBabel system doesn't.
> 
> I started with a completely clean computer ... it didn't even have a g
> ++ compiler, cmake, or anything else (definitely not OpenBabel). This
> computer had never been used before.
> 
> After installing svn, cmake and g++, I checked out the very latest
> OpenBabel (r4834) into $HOME/test-svn.  Then:
> 
> $ cd ../build-test-svn/
> $ \rm -rf *
> $ sudo /bin/bash
> # \rm -rf /usr/local/openbabel/*
> # exit
> $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel ../test-svn
> $ make
> $ make test
> 
> At this point, most tests pass, and there are no segfaults.
> 
> Now install:
> 
> $ sudo /bin/bash
> # make install/fast
> # exit
> $ make test

Here make test probably picks your installed version and fails as a
result. Try setting LD_LIBRARY_PATH and friends (using absolute paths,
set also PYTHON_PATH if you are compiling python bindings) before
running make test: LD_LIBRARY_PATH=./lib/ BABEL_LIBDIR=./lib/
BABEL_DATADIR=../test-svn/openbabel/trunk/data/ make test


Reinis


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to