Re: [Open Babel] cmake errors regarding perl bindings

2013-11-11 Thread Anil Kumar
Final update: The perl bindings also work fine with this build. I only had to update PERL5LIB to get going. Thanks, AK On Tuesday, November 5, 2013 11:40 PM, Anil Kumar wrote: Dear Dr. Hutchsison, I was able to compile  .../master.zip which you pointed out. Thank you.  Further, this is wh

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-06 Thread Anil Kumar
Dear Dr. Hutchsison, I was able to compile  .../master.zip which you pointed out. Thank you.  Further, this is what worked for me --  As mentioned in the compile page I had to explicitly use:  -DPERL_LIBRARY=/usr/lib/libperl.so.5.10  -DPERL_INCLUDE_PATH=/usr/lib/perl/5.10.1/CORE. -DSWIG=ON  Fin

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-05 Thread Dimitri Maziuk
On 11/05/2013 10:28 AM, Craig James wrote: ... The problem is much more subtle -- it seems to be that the run-time > linker doesn't call the C++ constructors correctly for OpenBabel's > plug-ins. I believe it has to do with plug-ins within plug-ins. That is, > Perl dynamically loads the OpenBab

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-05 Thread Craig James
On Tue, Nov 5, 2013 at 7:26 AM, Dimitri Maziuk wrote: > On 2013-11-05 08:34, Craig James wrote: > > > I don't know if it's something specific to OpenBabel, or a more general > > problem with C/C++. I have to believe it's OpenBabel, because I know > > lots of projects use libraries written in C++ l

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-05 Thread Dimitri Maziuk
On 2013-11-05 08:34, Craig James wrote: > I don't know if it's something specific to OpenBabel, or a more general > problem with C/C++. I have to believe it's OpenBabel, because I know > lots of projects use libraries written in C++ linked to executables > written in C. Generally speaking it requ

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-05 Thread Craig James
On Mon, Nov 4, 2013 at 12:30 AM, Anil Kumar wrote: > Sorry to re-post -- is there a work around for this? > I found a patch for this but, when I cut/paste that patch into > cmakelist.txt, it did not make any difference. The link to the patch I > refer to is here

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-05 Thread Anil Kumar
Sorry to re-post --  is there a work around for this? I found a patch for this but, when I cut/paste that patch into cmakelist.txt, it did not make any difference.  The link to the patch I refer to ishere Thanks in advance, Prashanth On Thursday, October 31, 2013 6:03 PM, Anil Kumar wrote:

Re: [Open Babel] cmake errors regarding perl bindings

2013-11-04 Thread Geoffrey Hutchison
My suggestion would be to compile from the development "master". You can download the source code through GitHub from here: https://github.com/openbabel/openbabel/archive/master.zip I believe this has been fixed. It would be helpful to know as we move towards a 2.3.3. bug-fix release. Thanks v