Davide Olianas
2017-06-07 08:22:54 UTC
Hello,
the openbabel version shipped with my distribution (ubuntu 16.04) is
quite old; Iâd like to link my programs to the most recent one, which I
installed in |~/opt| using the option |CMAKE_INSTALL_PREFIX=~/opt|.
Sadly, the environment variable CMAKE_PREFIX_PATH doesnât appear to be
used by |FindOpenBabel2.cmake|. I copied this module because OpenBabel
canât be found by default (is this a packaging problem of the
distribution? If not, could it be possible to add |FindOpenBabel2.cmake|
to OpenBabel source such that package maintainers can add the module?)
You can clone this repo <https://github.com/davethecipo/ob24api> for a
minimal (not) working example. If you have vagrant installed, just run
|vagrant up| to set up a clean virtual machine. If you donât use
vagrant, you can look |bootstrap.sh| for the commands to reproduce the
problem.
Thanks for any help,
Davide
â
the openbabel version shipped with my distribution (ubuntu 16.04) is
quite old; Iâd like to link my programs to the most recent one, which I
installed in |~/opt| using the option |CMAKE_INSTALL_PREFIX=~/opt|.
Sadly, the environment variable CMAKE_PREFIX_PATH doesnât appear to be
used by |FindOpenBabel2.cmake|. I copied this module because OpenBabel
canât be found by default (is this a packaging problem of the
distribution? If not, could it be possible to add |FindOpenBabel2.cmake|
to OpenBabel source such that package maintainers can add the module?)
You can clone this repo <https://github.com/davethecipo/ob24api> for a
minimal (not) working example. If you have vagrant installed, just run
|vagrant up| to set up a clean virtual machine. If you donât use
vagrant, you can look |bootstrap.sh| for the commands to reproduce the
problem.
Thanks for any help,
Davide
â