Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation Error on Mac 10.15.2 #84

Closed
jinserk opened this issue Dec 13, 2019 · 4 comments
Closed

Installation Error on Mac 10.15.2 #84

jinserk opened this issue Dec 13, 2019 · 4 comments

Comments

@jinserk
Copy link

jinserk commented Dec 13, 2019

I tried to install rdkit with brew and got an error:

$ brew install rdkit --with-python3 --with-inchi --with-avalon --with-postgresql --with-pycairo
==> Installing rdkit from rdkit/rdkit
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or
https://developer.apple.com/download/more/.

==> Installing dependencies for rdkit/rdkit/rdkit: py3cairo
==> Installing rdkit/rdkit/rdkit dependency: py3cairo
==> Downloading https://homebrew.bintray.com/bottles/py3cairo-1.18.2.catalina.bottle.tar.gz
######################################################################## 100.0%
==> Pouring py3cairo-1.18.2.catalina.bottle.tar.gz
�  /usr/local/Cellar/py3cairo/1.18.2: 16 files, 321.2KB
==> Installing rdkit/rdkit/rdkit --with-inchi --with-postgresql --with-avalon --with-pycairo --with-python3
==> Downloading https://github.com/rdkit/rdkit/archive/Release_2019_09_1.tar.gz
Already downloaded: /Users/jinserk/Library/Caches/Homebrew/downloads/dbc78c6529381ce39a1c4765d1b16ec83572d3c1ad3cfde3d65efc15a6bfc66f--rdkit-Release_2019_09_1.tar.gz
==> cmake -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/rdkit/2019.09.1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DRDK_INSTA
==> make -j8
==> make install
Error: An exception occurred within a child process:
  Errno::ENOENT: No such file or directory @ rb_file_s_rename - (Code/PgSQL/rdkit/rdkit.sql91.in, Code/PgSQL/rdkit/rdkit--3.4.sql)

It's the same even though I don't give --with-postgresql option.

@UnixJunkie
Copy link
Collaborator

I am only sure about those two flags:

brew install rdkit --with-python3 --with-inchi

For --with-avalon --with-postgresql --with-pycairo, I have no idea of what they do and what they
need as external dependencies.

@jinserk
Copy link
Author

jinserk commented Dec 13, 2019

@UnixJunkie , the options are stated in the README.md.

@UnixJunkie
Copy link
Collaborator

Does the standard recipe that I provided just before works for you?
Try inserting the exotic options one by one to figure which one is causing trouble.

@UnixJunkie
Copy link
Collaborator

You might try the new rdkit formula in brew master, they turn ON PGSQL by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants