mcs07 / homebrew-cheminformatics

Cheminformatics formulae for the Homebrew package manager
20 stars 5 forks source link

CMake issue on OSRA install: InChI library not found #29

Open dpolefrone opened 4 years ago

dpolefrone commented 4 years ago

Hi,

In going through the recommended brew packages as per https://www.macinchem.org/reviews/cheminfo/cheminfoMacUpdate.php, I've run into the following error:

brew install osra ==> Installing osra from mcs07/cheminformatics ==> Installing dependencies for mcs07/cheminformatics/osra: mcs07/cheminformatics/open-babel, libtool and graphicsmagick ==> Installing mcs07/cheminformatics/osra dependency: mcs07/cheminformatics/open-babel ==> Downloading https://github.com/openbabel/openbabel/archive/openbabel-2-4-1.tar.gz Already downloaded: /Users/davidpolefrone/Library/Caches/Homebrew/downloads/6937db17b0d685087dbefb2a69072e743cba78cd3001a51e8f29c1fbcea06e67--openbabel-openbabel-2-4-1.tar.gz ==> cmake .. -DOPENBABEL_USE_SYSTEM_INCHI=ON Last 15 lines from /Users/davidpolefrone/Library/Logs/Homebrew/open-babel/01.cmake: -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find INCHI (missing: INCHI_LIBRARY INCHI_INCLUDE_DIR) CMake Error at CMakeLists.txt:151 (message): Inchi library not found.

-- Configuring incomplete, errors occurred! See also "/tmp/open-babel-20200321-32477-145s3aq/openbabel-openbabel-2-4-1/build/CMakeFiles/CMakeOutput.log".

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/mcs07/homebrew-cheminformatics/issues

How can this configuration error be fixed?