Hi,
That warning from CMake (marked as ”for project developers”) should not hinder
the compilation and installation of OpenBabel. Did you try to move on with make
and ”make install”?
If all that you need is python access to OpenBabel, you should also be able to
use the conda distribution (”conda install openbabel”) provided that you
install and use the Anaconda Python distribution
(https://www.continuum.io/downloads).
Kind regards,
Fredrik
> 28 feb. 2017 kl. 17:30 skrev Karim Rafie (PG Research)
> <k.z.ra...@dundee.ac.uk>:
>
> Dear all,
>
> I’m having a problem compiling openbable on my Mac (macOS Sierra, version
> 10.12.3). When wanting to compile I receive the following message at the end:
>
> “CMake Warning (dev):
> Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake
> --help-policy CMP0042" for policy details. Use the cmake_policy command to
> set the policy and suppress this warning.
>
> MACOSX_RPATH is not specified for the following targets:
>
> inchi
> openbabel
>
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> -- Generating done
> CMake Warning:
> Manually-specified variables were not used by the project:
>
> EIGEN3_INCLUDE_DIR
>
>
> -- Build files have been written to:
> /Users/kzrafie/Downloads/openbabel-2.3.1/build”
>
>
> I assume, due to the paths not specified in MACOSX_RPATH for inchi and
> openbabel, that I’m having issues with the installation. I would usually go
> for the pkg/dmg installation; however, I’m putting together a python script
> for which I need to do a source installation.
>
> You probably heard about this issue before, however I couldn’t find any
> decent answers anywhere.
>
> Best wishe,
> Karim
> ##############################################
> Karim Rafie; M.Sc., AMRSC
> PhD research student
> Daan van Aalten lab
> School of Life Sciences
> University of Dundee
> Scotland / UK
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org <http://slashdot.org/>!
> http://sdm.link/slashdot_______________________________________________
> <http://sdm.link/slashdot_______________________________________________>
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> <mailto:OpenBabel-discuss@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
> <https://lists.sourceforge.net/lists/listinfo/openbabel-discuss>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss