From: Strempel S. <seb...@ch...> - 2008-09-05 08:28:58
|
Dear Geoffrey, thank you for your fast response. The contents in "./scripts/perl" can be compiled indeed. However "make test" fails on every single test. Make install seems to work and copies the files but a test with your example.pl tells me that: Can't load '/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/auto/Chemistry/OpenBabel/OpenBabel.so' for module Chemistry::OpenBabel: libopenbabel.so.3: The contents of the directory "/usr/local/lib/perl5/site_perl/5.10.0/i686-linux/auto/Chemistry/OpenBabel/" are: -r--r--r-- 1 root root 0 5. Sep 09:35 OpenBabel.bs -r-xr-xr-x 1 root root 2725483 5. Sep 09:35 OpenBabel.so -rw-r--r-- 1 root root 246 5. Sep 10:10 .packlist So Chemistry::OpenBabel seems ok but not its dependent libraries. Where is my error or misunderstanding? Shall I wait for the next release as you proposed? Thank you again for your time and help. Sebastian -----Ursprüngliche Nachricht----- Von: Geoffrey Hutchison [mailto:ge...@pi...] Gesendet: Do 04.09.2008 15:06 An: Strempel Sebastian Cc: openbabel-scripting Betreff: Re: OpenBabel and Chemistry::OpenBabel Dear Sebastian, The OpenBabel scripting modules are updated with every release of the main library. Particularly with Perl, it's difficult for the scripting module to detect which version of the library is installed. In short, Chemistry::OpenBabel is at 1.3 -- this corresponds to the OB-2.2 release. If you've compiled the release from source, go into the scripts/perl directory and you'll find the appropriate Perl module. Cheers, -Geoff On Sep 4, 2008, at 5:24 AM, Strempel Sebastian wrote: > Dear Geoffrey, > > I have downloaded Openbabel 2.2.0 and Chemistry::OpenBabel 1.2.0. > I first installed the OpenBabel libraries and then tried to install > the perl module > that unfortunately failed ("OpenBabel not defined"). It seems that > the module did > not find the preinstalled libraries. I called the installation > commands from the > respective directories. > > OpenBabel: > decompress files; go to new directory; ./configure; make; make > install; > > Chemistry: > decompress files; go to this new folder (not in openbabel folder); > perl Makefile.pl; make --> error > > Where is my mistake or misunderstanding. > Thank you for your help and time. > > Regards > > Sebastian Strempel > > -- > Sebastian Strempel > Diplom-Bioinformatiker Univ. (M.Sc.) > > ETH Zürich > Institute for Chemical and Bioengineering > Safety and Environmental Technology Group > HCI G138 > Wolfgang-Pauli-Strasse 10 > 8093 Zürich, Switzerland > > phone: 0041446326885 > fax: 0041446321189 > homepage: http://proto-sustchem.ethz.ch/ > mailto:seb...@ch... > --- Prof. Geoffrey Hutchison Department of Chemistry University of Pittsburgh tel: (412) 648-0492 email: ge...@pi... web: http://hutchison.chem.pitt.edu/ |