Re: [OpenBabel-Devel] Perl bindings

2013-06-12 Thread Craig James
On Wed, Jun 12, 2013 at 7:51 AM, Craig James wrote: > > > On Wed, Jun 12, 2013 at 2:21 AM, Noel O'Boyle wrote: > >> If you're using the development source, you will need to create the >> bindings with SWIG. For once (!) this *is* in the docs :-) >> >> >> http://openbabel.org/docs/2.3.1/Installati

Re: [OpenBabel-Devel] Perl bindings

2013-06-12 Thread Craig James
On Wed, Jun 12, 2013 at 2:21 AM, Noel O'Boyle wrote: > If you're using the development source, you will need to create the > bindings with SWIG. For once (!) this *is* in the docs :-) > > > http://openbabel.org/docs/2.3.1/Installation/install.html#advanced-build-options > With Eigen2 installed,

Re: [OpenBabel-Devel] Perl bindings

2013-06-12 Thread Craig James
On Wed, Jun 12, 2013 at 2:21 AM, Noel O'Boyle wrote: > If you're using the development source, you will need to create the > bindings with SWIG. For once (!) this *is* in the docs :-) > > > http://openbabel.org/docs/2.3.1/Installation/install.html#advanced-build-options > Ah, thanks. I actually

Re: [OpenBabel-Devel] Perl bindings

2013-06-12 Thread Noel O'Boyle
If you're using the development source, you will need to create the bindings with SWIG. For once (!) this *is* in the docs :-) http://openbabel.org/docs/2.3.1/Installation/install.html#advanced-build-options - Noel On 12 June 2013 02:21, Craig James wrote: > Trying to get the Perl bindings to w

Re: [OpenBabel-Devel] Perl bindings and zlib

2010-10-18 Thread Noel O'Boyle
On 17 October 2010 02:58, Geoffrey Hutchison wrote: > Hi Noel, > > I dunno -- Apple always ships with lib and headers, so I don't know if the > Perl bindings would work that way. Can you check whether the Perl bindings still compile without the -lz in the Makefile.PL? If so, there's no problem -

Re: [OpenBabel-Devel] Perl bindings and zlib

2010-10-16 Thread Tim Vandermeersch
On Sun, Oct 17, 2010 at 3:58 AM, Geoffrey Hutchison wrote: > Hi Noel, > > I dunno -- Apple always ships with lib and headers, so I don't know if the > Perl bindings would work that way. > > I guess libz-dev packages install the header, right? So the Makefile.PL > should look for a zlib.h and act

Re: [OpenBabel-Devel] Perl bindings and zlib

2010-10-16 Thread Geoffrey Hutchison
Hi Noel, I dunno -- Apple always ships with lib and headers, so I don't know if the Perl bindings would work that way. I guess libz-dev packages install the header, right? So the Makefile.PL should look for a zlib.h and activate "-lz" if found. -Geoff --

Re: [OpenBabel-Devel] Perl bindings on Linux

2010-06-06 Thread Noel O'Boyle
After some brainwaves I got things working. Just some tidying up to do on the installing step, which I'll look after myself. - Noel On 6 June 2010 10:16, Noel O'Boyle wrote: > Hi Geoff, > > I've done all I can for the Perl bindings on Linux. The next step is > to enable Makefile.PL to be run fro

Re: [OpenBabel-Devel] Perl bindings on Linux

2010-06-06 Thread Noel O'Boyle
On 6 June 2010 12:27, Konstantin Tokarev wrote: > On Sun, 6 Jun 2010 10:16:18 +0100 > "Noel O'Boyle" wrote: > >> On my system I also needed >> "-DSWIG_EXECUTABLE=/home/user/Tools/swig/swig-1.3.40/tree/bin/swig >> -DPERL_LIBRARY=/usr/lib/libperl.so.5.10 >> -DPERL_INCLUDE_PATH=/usr/lib/perl/5.10.0/

Re: [OpenBabel-Devel] Perl bindings on Linux

2010-06-06 Thread Konstantin Tokarev
On Sun, 6 Jun 2010 10:16:18 +0100 "Noel O'Boyle" wrote: > On my system I also needed > "-DSWIG_EXECUTABLE=/home/user/Tools/swig/swig-1.3.40/tree/bin/swig > -DPERL_LIBRARY=/usr/lib/libperl.so.5.10 > -DPERL_INCLUDE_PATH=/usr/lib/perl/5.10.0/CORE". Have you used find_package(PerlLibs) ? -- Re