Closed cthoyt closed 4 years ago
i have the same issue.
if you look at the log in
/Users/bransonk/Library/Logs/Homebrew/rdkit/01.cmake
for you it is /Users/cthoyt/Library/Logs/Homebrew/rdkit/01.cmake
i have the following:
CMake Error at /usr/local/Cellar/cmake/3.11.1/share/cmake/Modules/FindBoost.cmake:2044 (message):
Unable to find the requested Boost libraries.
Boost version: 1.67.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
boost_python
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:171 (find_package)
Python Install directory /usr/local/Cellar/rdkit/2017.09.3/lib/python3.6/site-packages
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- regex
== OSX: CHECKING for libc++
== BOOST USES LIBC++
-- Found Eigen3: /usr/local/include/eigen3 (Required is at least version "2.91.0")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Boost version: 1.67.0
-- Found the following Boost libraries:
-- thread
i've set the following env vars:
export BOOST_LIBRARYDIR="/usr/local/Cellar"
export BOOST_ROOT="/usr/local/Cellar/boost"```
which may not be correct, but haven't solved the issue either.
Having the same issue as well, on OSX 10.11.6. I had hoped re-installing and re-linking any of boost
, boost-python
, or boost-python3
would fix things, but no. I'm using homebrew python for both 2.7 and 3.6.
I confirmed that I do indeed have boost at /usr/local/include/boost
, but tried including the paths BOOST_LIBRARYDIR
and BOOST_ROOT
as cmake flags (pointing at /usr/local/Cellar
), also to no effect.
This is unfortunately unlikely to work with boost=1.67. There are likely to be problems with cmake and I have yet to do any testing whatsoever of the RDKit with that version of boost. I'd really recommend stepping back to boost 1.65 and using that.
I'm trying with boost 1.60 (brew search boost didn't show a 1.65) and still getting the Configuring incomplete
error.
With the information of this thread, I tried the following link, http://goingmyway.cn/2018/02/06/Homebrew-how-to-install-boost-with-a-specific-version/ , to install boost 1.65 on my MacOS through brew: brew install --build-from-source boost boost-python boost-python3
I slightly modified the link to downgrade from 1.67 to 1.65.1. It works well for my Mac(High Sierra, Yosemite)
Here is a simple patch as an example:
$ diff -aur orig/boost.rb /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/
--- orig/boost.rb 2018-05-25 10:44:31.000000000 +0900
+++ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost.rb 2018-05-25 10:47:54.000000000 +0900
@@ -5,8 +5,8 @@
head "https://github.com/boostorg/boost.git"
stable do
- url "https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2"
- sha256 "2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba"
+ url "https://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.bz2"
+ sha256 "9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81"
# Remove for > 1.67.0
# Fix "error: no member named 'next' in namespace 'boost'"
You can also try install HEAD version. Recent build shows that it will work https://travis-ci.org/rdkit/homebrew-rdkit/builds/387705624.
brew install --HEAD rdkit
worked for me with homebrew python3 installed with
brew install boost-python3 python3
I didn't find this thread until now, but I was having the same problem (with boost 1.67.0). I think the core issue is how brew is naming the boost-python3 libraries (vs what the rdkit cmake setup is looking for)
I was able to get everything to compile successfully by running the following in /usr/local/lib
ln -s libboost_python36.dylib libboost_python.dylib
This is too old, so I am closing. Also, there is a PR fixing boost and boost-python3 to 1.70, because rdkit 2019.03.2 is known to compile with them.
After running
brew install rdkit
, I'm getting the following errors. Any help is appreciated.Note: I'm on OSX 10.13.3, and I've completely uninstalled everything (python@2, python, boost, boost-python, bumpy) before starting. My path variable is set in my
.bashrc
asexport PATH=~/.local/bin:/usr/local/sbin:$PATH
I'm also having the issue that the log file it references,
/tmp/rdkit-20180429-30726-jbbbb9/rdkit-Release_2017_09_3/CMakeFiles/CMakeOutput.log
doesn't exist.