Dear Francois,

I was able to build rdkit 2020_03_4 on my macbook air without any problem.
I have modified only the source url and the relative SHA checksum of the
current rdkit formula.
No other modifications are required.

==> Downloading
https://github.com/rdkit/rdkit/archive/Release_2020_03_4.tar.gz

==> Downloading from
https://codeload.github.com/rdkit/rdkit/tar.gz/Release_2020_03_4

########################################################################
100.0%

==> Reinstalling rdkit/rdkit/rdkit

==> cmake -DRDK_INSTALL_INTREE=OFF -DRDK_BUILD_CPP_TESTS=OFF
-DRDK_INSTALL_STATIC_LIBS=OFF -DBoost_NO_BOOST_CMAKE=ON
-DPYTHON_EXECUTABLE='/usr/local/opt/python@3.8/bin/python3'
-DPYTHON_INCLUDE_DIR='/usr/l

==> make -j4

==> make install

Warning: rdkit/rdkit/rdkit dependency gcc was built with a different C++
standard

library (libstdc++ from clang). This may cause problems at runtime.

==> Caveats

      You may need to add RDBASE to your environment variables.

      For Bash, put something like this in your $HOME/.bashrc:

        export RDBASE=/usr/local/share/RDKit

==> Summary

🍺  /usr/local/Cellar/rdkit/2020.03.4: 1,604 files, 60.6MB, built in 21
minutes 38 seconds

Removing: /Users/marco/Library/Caches/Homebrew/rdkit--2020.03.3.tar.gz...
(57.9MB)



I do not think that your problem is related to cmake. :)

Best regards


Il giorno mer 8 lug 2020 alle ore 04:12 Francois Berenger <mli...@ligand.eu>
ha scritto:

> Dear rdkiters,
>
> I am trying to repair the brew formula.
>
> Currently, I get this when I try to compile Release_2020_03_4:
>
> $ cd build
> $ cmake -DPYTHON_EXECUTABLE=/usr/local/bin/python-3.7
> -DRDK_INSTALL_INTREE=OFF -DRDK_BUILD_INCHI_SUPPORT=ON
> -DRDK_BUILD_AVALON_SUPPORT=ON -DRDK_BUILD_PYTHON_WRAPPERS=ON
> -DCMAKE_INSTALL_PREFIX=/usr ../
>
> -->
>
> Not sure this one is a show stopper:
> ---
> -- Found InChI software locally
> Python Install directory
> CMake Error at CMakeLists.txt:290 (install):
>    install DIRECTORY given no DESTINATION!
> ---
>
> This one stops the show for sure:
> ---
> CMake Error at Code/GraphMol/FilterCatalog/CMakeLists.txt:10 (if):
>    if given arguments:
>
>      "VERSION_GREATER" "2.6"
>
>    Unknown arguments specified
> ---
>
> Thanks for any help,
> F.
>
> PS: I do think cmake is the worst build system I ever encountered in my
> life...
>
>
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to