On Wed, Jun 12, 2013 at 2:21 AM, Noel O'Boyle <baoille...@gmail.com> 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 saw that, but when I revisited the page to read
more, I noticed a little yellow box about Eigen2 in the corner. Buried in
the output of cmake (along with four other warnings that I'm accustomed to
ignoring), was this:
-- Could NOT find Eigen2 (missing: EIGEN2_INCLUDE_DIR EIGEN2_VERSION_OK)
Is there a way to make cmake fail when this happens? If I specify
-DPERL_BINDINGS=TRUE (or any other language binding) and a requirement
can't be met, it would be more useful to quit with a fatal error than to
keep going.
Thanks,
Craig
>
> - Noel
>
> On 12 June 2013 02:21, Craig James <cja...@emolecules.com> wrote:
> > Trying to get the Perl bindings to work...
> >
> > cmake -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel-2.3.x-dev
> > -DPERL_BINDINGS=TRUE ../source
> > make -j4
> > su
> > make install
> >
> > So far so good. But trying to install:
> >
> > $ cd scripts
> > $ make install
> > Install the project...
> > -- Install configuration: "RelWithDebInfo"
> >
> > but nothing happens. Nothing is installed. If I do "use
> > 'Chemistry::OpenBabel';" in Perl, it can't find the module. A search of
> the
> > Perl system doesn't file any files with "Chemistry" or "OpenBabel" in
> their
> > names.
> >
> > I tried this page:
> >
> > http://openbabel.org/docs/2.3.1/Installation/install.html
> >
> > but it's sketchy as to how to do all of this.
> >
> > Thanks,
> > Craig
> >
> >
> >
> ------------------------------------------------------------------------------
> > This SF.net email is sponsored by Windows:
> >
> > Build for Windows Store.
> >
> > http://p.sf.net/sfu/windows-dev2dev
> > _______________________________________________
> > OpenBabel-Devel mailing list
> > OpenBabel-Devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openbabel-devel
> >
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel