From: Noel O'B. <no...@ca...> - 2005-12-01 15:01:44
|
Testing Perl...phew, doesn't work for Perl either. :-) ~/Tools/OpenBabel/openbabel/scripts/perl$ perl Makefile.PL; make; make test Checking if your kit is complete... Looks good Writing Makefile for Chemistry::OpenBabel cp openbabel.pm blib/lib/Chemistry/openbabel.pm g++ -c -I../../src -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\"1.0.0\" -DXS_VERSION=\"1.0.0\" -fPIC "-I/usr/lib/perl/5.8/CORE" openbabel_perl.cpp Running Mkbootstrap for Chemistry::OpenBabel () chmod 644 OpenBabel.bs rm -f blib/arch/auto/Chemistry/OpenBabel/OpenBabel.so LD_RUN_PATH="" g++ -shared -L/usr/local/lib openbabel_perl.o ../../src/.libs/libopenbabel.a -lz -o blib/arch/auto/Chemistry/OpenBabel/OpenBabel.so chmod 755 blib/arch/auto/Chemistry/OpenBabel/OpenBabel.so cp OpenBabel.bs blib/arch/auto/Chemistry/OpenBabel/OpenBabel.bs chmod 644 blib/arch/auto/Chemistry/OpenBabel/OpenBabel.bs PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/example....Can't locate Chemistry/OpenBabel.pm in @INC (@INC contains: /home/no228/Tools/OpenBabel/openbabel/scripts/perl/blib/lib /home/no228/Tools/OpenBabel/openbabel/scripts/perl/blib/arch /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at t/example.t line 11. BEGIN failed--compilation aborted at t/example.t line 11. t/example....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 1-11 Failed 11/11 tests, 0.00% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/example.t 2 512 11 21 190.91% 1-11 Failed 1/1 test scripts, 0.00% okay. 11/11 subtests failed, 0.00% okay. make: *** [test_dynamic] Error 2 On Wed, 2005-11-30 at 10:42 -0500, Geoffrey Hutchison wrote: > On Nov 30, 2005, at 4:51 AM, Noel O'Boyle wrote: > > > On Tue, 2005-11-29 at 17:33 -0500, Geoffrey Hutchison wrote: > >> On Nov 29, 2005, at 11:07 AM, S Joshua Swamidass wrote: > >> > >>> But we still get a problem. Here is the output when you run teh > >>> exmaple file after changing the name of openbabel.so > >> ... > >>> /home/dock/linux/lib/openbabel/APIInterface.so did not load properly > >>> /home/dock/linux/lib/openbabel/CSRformat.so did not load properly > >> ... > > > > Same here. > > OK, I have one more question... If you try running the tests for the > Perl wrapper, do they work? > > "perl Makefile.PL; make; make test" > > I'm trying to sort out if this is a Python-specific problem or not. > Haven't found much. :-( > > Thanks, > -Geoff > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > OpenBabel-scripting mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting |