On 10/18/10 10:43 AM, Igor Filippov [Contr] wrote: > Craig, > > I got caught on this too. The problem for me was solved by this two > lines from the Wiki: > To run the tests, first set BABEL_DATADIR=~/src/openbabel/data and > BABEL_LIBDIR=~/build/openbabel/lib. Then run "make test".
Thanks, Igor. LD_LIBRARY_PATH was already set to the correct location, and BABEL_DATADIR wasn't set at all. When I changed BABEL_DATADIR, all of the tests passed. It seems odd to me that I'd get a bunch of segfaults and glibc double-memory-free errors just because BABEL_DATADIR wasn't set. It's certainly counterintuitive. Shouldn't it have found BABEL_DATADIR in the installed directory? Does BABEL_DATADIR have some default like /usr/local/openbabel/data (which would be a seriously bad default)? Either way, I'm pleased that everything is working now. Craig > > After I set up these variables I got 100% "pass" result. > It would be nice if this information was printed out at the end of > "make" run. > > Hope this helps, > Igor > > On Mon, 2010-10-18 at 13:40 -0400, Craig A. James wrote: >> Hmmm... "make test" didn't do too well. I suspect there's some simple >> linking problem, maybe a wrong library or something. The complete logfile >> is attached. It looks to me like all the failures are from a single problem >> related to memory corruption. >> >> make test>test.log 2>&1& >> >> $ uname -a >> Linux radon 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 >> x86_64 GNU/Linux >> >> Craig > > > ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel