On 29 August 2010 23:08, Rajarshi Guha <rajarshi.g...@gmail.com> wrote:
>
> On Aug 29, 2010, at 5:25 PM, Noel O'Boyle wrote:
>
>> On 29 August 2010 21:49, Rajarshi Guha <rajarshi.g...@gmail.com> wrote:
>>>
>>> On Aug 29, 2010, at 5:31 AM, Noel O'Boyle wrote:
>>>
>>>> Hi Rajarshi
>>>>
>>>> It seems that the problem was in generating the SWIG bindings. Is
>>>> there something non-standard about your swig install? It seems that
>>>> swig cannot find its own include files.
>>>
>>> Hmm, I had installed SWIG from mac ports
>>
>> Perhaps you need to install swig-python, etc. I don't know why they've
>> split it up into different parts.
>
>
> Indeed that did the trick. However after installing swig-python and
> swig-java the compilation proceeds till it tries the Perl bindings - this
> fails, even though I have swig-perl installed

It fails for me too on Ubuntu - I think this must be a bug in swig's
FindPerl module. I had to specify the perl libs and so forth.

> But specifying -DPERL_BINDINGS=OFF doesn't seem to skip compilation of the
> perl bindings

A recent change meant that -DRUN_SWIG=ON sets all of the bindings to
on. A quick workaround is to edit the top level CMakeLists.txt (search
for RUN_SWIG). I'll change the build system to avoid this in future.
(Maybe a -DALL_BINDINGS=ON instead, Geoff?)

> ----------------------------------------------------
> Rajarshi Guha        | NIH Chemical Genomics Center
> http://www.rguha.net | http://ncgc.nih.gov
> ----------------------------------------------------
> Q:  What's polite and works for the phone company?
> A:  A deferential operator.
>
>
>

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to