rdkit / homebrew-rdkit

Homebrew formula for rdkit
44 stars 19 forks source link

Installing RDKit on Mac OSX 10.10.2 with java and inchi #25

Closed ChristopherFowler closed 4 years ago

ChristopherFowler commented 9 years ago

This issue may have already been brought up in issue #23 but I wanted to post it here since I've had no luck fixing the problem. I can compile RDKit just fine without using --with-java but I need the java wrappers for my work. Below is the full console print-out with --debug and --verbose.

The familiar error statement is this:

[ 40%] Built target cDataStructs Linking CXX shared library ../../lib/libGraphMol.dylib [ 40%] Built target GraphMol make: *\ [all] Error 2

I'm not exactly sure how to resolve this issue. There has been mention around the web about adding some command to the cmake call but I'm not sure how to do that.

Here's the full story:

$ brew install rdkit --with-java --with-inchi --debug --verbose /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Taps/rdkit/homebrew-rdkit/Formula/rdkit.rb ==> Installing rdkit from rdkit/homebrew-rdkit /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/cmake.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/wget.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xz.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/openssl.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/makedepend.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pkg-config.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/swig.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pcre.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/boost.rb /usr/local/Library/brew.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/boost-python.rb /usr/bin/env python -c import numpy /usr/local/Library/Homebrew/build.rb (Formulary::FromPathLoader): loading /usr/local/Library/Taps/rdkit/homebrew-rdkit/Formula/rdkit.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/boost.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/boost-python.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/cmake.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/wget.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/xz.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/openssl.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/makedepend.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pkg-config.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/swig.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/pcre.rb /usr/local/Library/Homebrew/build.rb (Formulary::FormulaLoader): loading /usr/local/Library/Formula/python.rb /usr/bin/env python -c import numpy ==> Downloading https://github.com/rdkit/rdkit/archive/Release_2014_09_2.tar.gz Already downloaded: /Library/Caches/Homebrew/rdkit-2014.09.2.tar.gz ==> Verifying rdkit-2014.09.2.tar.gz checksum tar xf /Library/Caches/Homebrew/rdkit-2014.09.2.tar.gz ==> mkdir External/java_lib ==> curl http://search.maven.org/remotecontent?filepath=junit/junit/4.11/junit-4.11.jar -o External/java_lib/junit.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 161 100 161 0 0 401 0 --:--:-- --:--:-- --:--:-- 401

==> cd External/INCHI-API; bash download-inchi.sh

Downloading InChI software distribution version 1.04 http://www.inchi-trust.org/wp/wp-content/uploads/2014/06/INCHI-1-API.zip ====>

/var/folders/rt/s9lnxk2x2jv81c2_6f8ll6rw0000gn/T/rdkit-inchi-XXX.tmQVIw8g

--2015-04-27 13:13:22-- http://www.inchi-trust.org/wp/wp-content/uploads/2014/06/INCHI-1-API.zip Resolving www.inchi-trust.org... 91.151.214.89 Connecting to www.inchi-trust.org|91.151.214.89|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2701930 (2.6M) [application/zip] Saving to: 'INCHI-1-API.zip'

 0K .......... .......... .......... .......... ..........  1%  109K 24s
50K .......... .......... .......... .......... ..........  3%  337K 15s

100K .......... .......... .......... .......... .......... 5% 409K 12s 150K .......... .......... .......... .......... .......... 7% 412K 10s 200K .......... .......... .......... .......... .......... 9% 422K 9s 250K .......... .......... .......... .......... .......... 11% 413K 9s 300K .......... .......... .......... .......... .......... 13% 414K 8s 350K .......... .......... .......... .......... .......... 15% 413K 7s 400K .......... .......... .......... .......... .......... 17% 592K 7s 450K .......... .......... .......... .......... .......... 18% 412K 7s 500K .......... .......... .......... .......... .......... 20% 414K 6s 550K .......... .......... .......... .......... .......... 22% 412K 6s 600K .......... .......... .......... .......... .......... 24% 421K 6s 650K .......... .......... .......... .......... .......... 26% 599K 5s 700K .......... .......... .......... .......... .......... 28% 414K 5s 750K .......... .......... .......... .......... .......... 30% 413K 5s 800K .......... .......... .......... .......... .......... 32% 412K 5s 850K .......... .......... .......... .......... .......... 34% 374K 5s 900K .......... .......... .......... .......... .......... 36% 558K 5s 950K .......... .......... .......... .......... .......... 37% 419K 4s 1000K .......... .......... .......... .......... .......... 39% 423K 4s 1050K .......... .......... .......... .......... .......... 41% 409K 4s 1100K .......... .......... .......... .......... .......... 43% 286K 4s 1150K .......... .......... .......... .......... .......... 45% 114K 4s 1200K .......... .......... .......... .......... .......... 47% 217K 4s 1250K .......... .......... .......... .......... .......... 49% 362K 4s 1300K .......... .......... .......... .......... .......... 51% 384K 4s 1350K .......... .......... .......... .......... .......... 53% 376K 4s 1400K .......... .......... .......... .......... .......... 54% 394K 4s 1450K .......... .......... .......... .......... .......... 56% 383K 3s 1500K .......... .......... .......... .......... .......... 58% 387K 3s 1550K .......... .......... .......... .......... .......... 60% 385K 3s 1600K .......... .......... .......... .......... .......... 62% 286K 3s 1650K .......... .......... .......... .......... .......... 64% 391K 3s 1700K .......... .......... .......... .......... .......... 66% 386K 3s 1750K .......... .......... .......... .......... .......... 68% 391K 2s 1800K .......... .......... .......... .......... .......... 70% 385K 2s 1850K .......... .......... .......... .......... .......... 72% 372K 2s 1900K .......... .......... .......... .......... .......... 73% 393K 2s 1950K .......... .......... .......... .......... .......... 75% 399K 2s 2000K .......... .......... .......... .......... .......... 77% 399K 2s 2050K .......... .......... .......... .......... .......... 79% 397K 2s 2100K .......... .......... .......... .......... .......... 81% 401K 1s 2150K .......... .......... .......... .......... .......... 83% 395K 1s 2200K .......... .......... .......... .......... .......... 85% 397K 1s 2250K .......... .......... .......... .......... .......... 87% 302K 1s 2300K .......... .......... .......... .......... .......... 89% 582K 1s 2350K .......... .......... .......... .......... .......... 90% 302K 1s 2400K .......... .......... .......... .......... .......... 92% 399K 1s 2450K .......... .......... .......... .......... .......... 94% 403K 0s 2500K .......... .......... .......... .......... .......... 96% 323K 0s 2550K .......... .......... .......... .......... .......... 98% 302K 0s 2600K .......... .......... .......... ........ 100% 493K=7.5s

2015-04-27 13:13:29 (354 KB/s) - 'INCHI-1-API.zip' saved [2701930/2701930]

Unarchiving

Archive: INCHI-1-API.zip creating: INCHI-1-API/ creating: INCHI-1-API/INCHI/ creating: INCHI-1-API/INCHI/common/ inflating: INCHI-1-API/INCHI/common/aux2atom.h
inflating: INCHI-1-API/INCHI/common/extr_ct.h
inflating: INCHI-1-API/INCHI/common/ichi.h
inflating: INCHI-1-API/INCHI/common/ichican2.c
inflating: INCHI-1-API/INCHI/common/ichicano.c
inflating: INCHI-1-API/INCHI/common/ichicano.h
inflating: INCHI-1-API/INCHI/common/ichicans.c
inflating: INCHI-1-API/INCHI/common/ichicant.h
inflating: INCHI-1-API/INCHI/common/ichicomn.h
inflating: INCHI-1-API/INCHI/common/ichicomp.h
inflating: INCHI-1-API/INCHI/common/ichidrp.h
inflating: INCHI-1-API/INCHI/common/ichierr.h
inflating: INCHI-1-API/INCHI/common/ichiisot.c
inflating: INCHI-1-API/INCHI/common/ichimain.h
inflating: INCHI-1-API/INCHI/common/ichimak2.c
inflating: INCHI-1-API/INCHI/common/ichimake.c
inflating: INCHI-1-API/INCHI/common/ichimake.h
inflating: INCHI-1-API/INCHI/common/ichimap1.c
inflating: INCHI-1-API/INCHI/common/ichimap2.c
inflating: INCHI-1-API/INCHI/common/ichimap4.c
inflating: INCHI-1-API/INCHI/common/ichinorm.c
inflating: INCHI-1-API/INCHI/common/ichinorm.h
inflating: INCHI-1-API/INCHI/common/ichiparm.c
inflating: INCHI-1-API/INCHI/common/ichiparm.h
inflating: INCHI-1-API/INCHI/common/ichiprt1.c
inflating: INCHI-1-API/INCHI/common/ichiprt2.c
inflating: INCHI-1-API/INCHI/common/ichiprt3.c
inflating: INCHI-1-API/INCHI/common/ichiqueu.c
inflating: INCHI-1-API/INCHI/common/ichiread.c
inflating: INCHI-1-API/INCHI/common/ichiring.c
inflating: INCHI-1-API/INCHI/common/ichiring.h
inflating: INCHI-1-API/INCHI/common/ichirvr1.c
inflating: INCHI-1-API/INCHI/common/ichirvr2.c
inflating: INCHI-1-API/INCHI/common/ichirvr3.c
inflating: INCHI-1-API/INCHI/common/ichirvr4.c
inflating: INCHI-1-API/INCHI/common/ichirvr5.c
inflating: INCHI-1-API/INCHI/common/ichirvr6.c
inflating: INCHI-1-API/INCHI/common/ichirvr7.c
inflating: INCHI-1-API/INCHI/common/ichirvrs.h
inflating: INCHI-1-API/INCHI/common/ichisize.h
inflating: INCHI-1-API/INCHI/common/ichisort.c
inflating: INCHI-1-API/INCHI/common/ichister.c
inflating: INCHI-1-API/INCHI/common/ichister.h
inflating: INCHI-1-API/INCHI/common/ichitaut.c
inflating: INCHI-1-API/INCHI/common/ichitaut.h
inflating: INCHI-1-API/INCHI/common/ichitime.h
inflating: INCHI-1-API/INCHI/common/ichi_bns.c
inflating: INCHI-1-API/INCHI/common/ichi_bns.h
inflating: INCHI-1-API/INCHI/common/ichi_io.c
inflating: INCHI-1-API/INCHI/common/ichi_io.h
inflating: INCHI-1-API/INCHI/common/ikey_base26.c
inflating: INCHI-1-API/INCHI/common/ikey_base26.h
inflating: INCHI-1-API/INCHI/common/ikey_dll.c
inflating: INCHI-1-API/INCHI/common/inchicmp.h
inflating: INCHI-1-API/INCHI/common/inchi_api.h
inflating: INCHI-1-API/INCHI/common/incomdef.h
inflating: INCHI-1-API/INCHI/common/inpdef.h
inflating: INCHI-1-API/INCHI/common/lreadmol.h
inflating: INCHI-1-API/INCHI/common/runichi.c
inflating: INCHI-1-API/INCHI/common/sha2.c
inflating: INCHI-1-API/INCHI/common/sha2.h
inflating: INCHI-1-API/INCHI/common/strutil.c
inflating: INCHI-1-API/INCHI/common/strutil.h
inflating: INCHI-1-API/INCHI/common/util.c
inflating: INCHI-1-API/INCHI/common/util.h
creating: INCHI-1-API/INCHI/gcc/ creating: INCHI-1-API/INCHI/gcc/inchi-1/ inflating: INCHI-1-API/INCHI/gcc/inchi-1/makefile
inflating: INCHI-1-API/INCHI/gcc/inchi-1/makefile32
inflating: INCHI-1-API/INCHI/gcc/inchi-1/readme.txt
creating: INCHI-1-API/INCHI/main/ inflating: INCHI-1-API/INCHI/main/debug.c
inflating: INCHI-1-API/INCHI/main/debug.h
inflating: INCHI-1-API/INCHI/main/dispstru.c
inflating: INCHI-1-API/INCHI/main/dispstru.h
inflating: INCHI-1-API/INCHI/main/ichimain.c
inflating: INCHI-1-API/INCHI/main/mode.h
inflating: INCHI-1-API/INCHI/main/mol2atom.c
inflating: INCHI-1-API/INCHI/main/mol2atom.h
inflating: INCHI-1-API/INCHI/main/readinch.c
inflating: INCHI-1-API/INCHI/main/readmol.c
inflating: INCHI-1-API/INCHI/main/readmol.h
inflating: INCHI-1-API/INCHI/readme.txt
creating: INCHI-1-API/INCHI/vc9/ creating: INCHI-1-API/INCHI/vc9/inchi-1/ creating: INCHI-1-API/INCHI/vc9/inchi-1/Debug/ inflating: INCHI-1-API/INCHI/vc9/inchi-1/inchi-1.aps
inflating: INCHI-1-API/INCHI/vc9/inchi-1/inchi-1.rc
inflating: INCHI-1-API/INCHI/vc9/inchi-1/inchi-1.sln
inflating: INCHI-1-API/INCHI/vc9/inchi-1/inchi-1.vcproj
creating: INCHI-1-API/INCHI/vc9/inchi-1/Release/ inflating: INCHI-1-API/INCHI/vc9/inchi-1/resource.h
creating: INCHI-1-API/INCHI/vc9/inchi-1/x64/ creating: INCHI-1-API/INCHI/vc9/inchi-1/x64/Debug/ creating: INCHI-1-API/INCHI/vc9/inchi-1/x64/Release/ creating: INCHI-1-API/INCHI_API/ creating: INCHI-1-API/INCHI_API/gcc_so_makefile/ inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/libinchi-pas.def
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/libinchi.def
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/libinchi.map
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/makefile
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/readme.txt
creating: INCHI-1-API/INCHI_API/gcc_so_makefile/result/ inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/result/inchi_main.gz
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/result/libinchi.so.1.04.00.gz
inflating: INCHI-1-API/INCHI_API/gcc_so_makefile/result/readme.txt
extracting: INCHI-1-API/INCHI_API/gcc_so_makefile/run_make_on_linux.sh
creating: INCHI-1-API/INCHI_API/inchi_dll/ inflating: INCHI-1-API/INCHI_API/inchi_dll/aux2atom.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/extr_ct.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichi.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichican2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicano.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicano.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicans.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicant.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicomn.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichicomp.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichidrp.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichierr.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiisot.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichilnct.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimain.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimak2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimake.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimake.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimap1.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimap2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichimap4.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichinorm.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichinorm.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiparm.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiparm.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiprt1.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiprt2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiprt3.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiqueu.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiread.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiring.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichiring.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr1.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr3.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr4.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr5.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr6.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvr7.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichirvrs.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichisize.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichisort.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichister.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichister.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichitaut.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichitaut.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichitime.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichi_bns.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichi_bns.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichi_io.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ichi_io.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ikey_base26.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/ikey_base26.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/ikey_dll.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchicmp.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_api.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll_a.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll_a.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll_a2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll_main.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/inchi_dll_main.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/incomdef.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/inpdef.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/lreadmol.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/mode.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/runichi.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/sha2.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/sha2.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/strutil.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/strutil.h
inflating: INCHI-1-API/INCHI_API/inchi_dll/util.c
inflating: INCHI-1-API/INCHI_API/inchi_dll/util.h
creating: INCHI-1-API/INCHI_API/inchi_main/ inflating: INCHI-1-API/INCHI_API/inchi_main/e_0dstereo.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_0dstereo.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_comdef.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ctl_data.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichicomp.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichierr.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichimain.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichimain_a.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichisize.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichi_io.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichi_io.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichi_parms.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_ichi_parms.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_inchi_atom.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_inchi_atom.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_inpdef.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_mode.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_mol2atom.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_readinch.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_readmol.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_readmol.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_readstru.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_readstru.h
inflating: INCHI-1-API/INCHI_API/inchi_main/e_util.c
inflating: INCHI-1-API/INCHI_API/inchi_main/e_util.h
inflating: INCHI-1-API/INCHI_API/inchi_main/ichitime.h
inflating: INCHI-1-API/INCHI_API/inchi_main/inchi_api.h
inflating: INCHI-1-API/INCHI_API/inchi_main/lreadmol.h
creating: INCHI-1-API/INCHI_API/python_sample/ inflating: INCHI-1-API/INCHI_API/python_sample/lightsdf.py
inflating: INCHI-1-API/INCHI_API/python_sample/make_inchi.py
inflating: INCHI-1-API/INCHI_API/python_sample/PyINCHI.py
inflating: INCHI-1-API/INCHI_API/python_sample/readme.txt
inflating: INCHI-1-API/INCHI_API/readme.txt
creating: INCHI-1-API/INCHI_API/vc9/ creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/ creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/Debug/ inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/INCHI_DLL.APS
inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/INCHI_DLL.rc
inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/inchi_dll.sln
inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/inchi_dll.vcproj
creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/Release/ inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/resource.h
inflating: INCHI-1-API/INCHI_API/vc9/inchi_dll/vc9_libinchi.def
creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/x64/ creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/x64/Debug/ creating: INCHI-1-API/INCHI_API/vc9/inchi_dll/x64/Release/ creating: INCHI-1-API/INCHI_API/vc9/inchi_main/ creating: INCHI-1-API/INCHI_API/vc9/inchi_main/Debug/ inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/inchi_main.aps
inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/INCHI_MAIN.rc
inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/inchi_main.sln
inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/inchi_main.vcproj
inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/inchi_main1.aps
inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/inchi_main1.rc
creating: INCHI-1-API/INCHI_API/vc9/inchi_main/Release/ inflating: INCHI-1-API/INCHI_API/vc9/inchi_main/resource.h
creating: INCHI-1-API/INCHI_API/vc9/inchi_main/x64/ creating: INCHI-1-API/INCHI_API/vc9/inchi_main/x64/Debug/ creating: INCHI-1-API/INCHI_API/vc9/inchi_main/x64/Release/ inflating: INCHI-1-API/LICENCE
inflating: INCHI-1-API/readme.txt

inflating: INCHI-1-API/readme2.txt

Copying files

Removing temporary files

Done!

Make sure you (re)run cmake before running make

==> cmake -DCMAKE_INSTALL_PREFIX='/usr/local/Cellar/rdkit/2014.09.2' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DRDK_INSTALL_INTREE=OFF -DJAVA_AWT_INCLUDE_DIRECTORIES=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/include -DRDK_BUILD_SWIG_WRAPPERS=ON -DRDK_BUILD_INCHI_SUPPORT=ON -DRDK_BUILD_CPP_TESTS=OFF -DRDK_INSTALL_STATIC_LIBS=OFF -DPYTHON_EXECUTABLE='/usr/bin/python' -DPYTHON_INCLUDE_DIR='/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7' -DPYTHON_LIBRARY='/System/Library/Frameworks/Python.framework/Versions/2.7/Python' -DPYTHON_NUMPY_INCLUDE_PATH='/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include' . -- The C compiler identification is AppleClang 6.1.0.6020049 -- The CXX compiler identification is AppleClang 6.1.0.6020049 -- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Using unsigned short -- Check if the system is big endian - little endian -- Found PythonInterp: /usr/bin/python (found version "2.7.6") -- Found PythonLibs: /System/Library/Frameworks/Python.framework/Versions/2.7/Python (found version "2.7.6") -- Boost version: 1.57.0 -- Found the following Boost libraries: -- python Python Install directory /usr/local/Cellar/rdkit/2014.09.2/lib/python2.7/site-packages -- Looking for include file pthread.h -- Looking for include file pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - found -- Found Threads: TRUE
-- Could NOT find InChI in system locations (missing: INCHI_LIBRARY INCHI_INCLUDE_DIR) -- Found InChI software locally -- Found SWIG: /usr/local/bin/swig (found version "3.0.5") -- Found Java: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java (found version "1.8.0.25") -- Found JNI: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libjawt.dylib
-- Configuring done -- Generating done -- Build files have been written to: /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2 ==> make [ 0%] Scanning dependencies of target inchi_support Swig source Scanning dependencies of target hc [ 0%] Built target inchi_support [ 0%] [ 0%] Building C object Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/hcdriver.c.o Building C object Code/ML/Cluster/Murtagh/CMakeFiles/hc.dir/hc.c.o Scanning dependencies of target Inchi [ 0%] [ 0%] [ 1%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichicans.c.o Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichican2.c.o Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichicano.c.o Linking C shared library ../../../../lib/libhc.dylib [ 1%] Built target hc [ 1%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiisot.c.o [ 1%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichilnct.c.o [ 2%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichimak2.c.o [ 2%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichimake.c.o ../BitOps.i:47: Warning 302: Identifier 'AllProbeBitsMatch' redefined (ignored) (Renamed from 'AllProbeBitsMatch< ExplicitBitVect >'), /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/DataStructs/BitOps.h:72: Warning 302: previous definition of 'AllProbeBitsMatch'. ../BitOps.i:48: Warning 302: Identifier 'AllProbeBitsMatch' redefined (ignored) (Renamed from 'AllProbeBitsMatch< ExplicitBitVect >'), /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/DataStructs/BitOps.h:72: Warning 302: previous definition of 'AllProbeBitsMatch'. ../BitOps.i:60: Warning 302: Identifier 'NumBitsInCommon' redefined (ignored) (Renamed from 'NumBitsInCommon< ExplicitBitVect,ExplicitBitVect >'), /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/DataStructs/BitOps.h:219: Warning 302: previous definition of 'NumBitsInCommon'. [ 3%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichimap1.c.o /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/RDBoost/Exceptions.h:18: Warning 401: Nothing known about base class 'std::runtime_error'. Ignored. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/RDBoost/Exceptions.h:31: Warning 401: Nothing known about base class 'std::runtime_error'. Ignored. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/RDBoost/Exceptions.h:46: Warning 401: Nothing known about base class 'std::runtime_error'. Ignored. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/QueryOps.h:375: Warning 401: Nothing known about base class 'Queries::EqualityQuery< int,ConstAtomPtr,true >'. Ignored. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/QueryOps.h:375: Warning 401: Maybe you forgot to instantiate 'Queries::EqualityQuery< int,ConstAtomPtr,true >' using %template. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/QueryOps.h:415: Warning 401: Nothing known about base class 'Queries::SetQuery< int,Atom const ,true >'. Ignored. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/QueryOps.h:415: Warning 401: Maybe you forgot to instantiate 'Queries::SetQuery< int,Atom const ,true >' using %template. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/SanitException.h:26: Warning 520: Base class 'std::exception' of 'MolSanitizeException' is not similarly marked as a smart pointer. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/GraphMol/SmilesParse/SmilesParse.h:58: Warning 520: Base class 'std::exception' of 'SmilesParseException' is not similarly marked as a smart pointer. [ 3%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichimap2.c.o [ 3%] [ 4%] [ 4%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichimap4.c.o Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichinorm.c.o Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiparm.c.o [ 4%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiprt1.c.o [ 5%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiprt2.c.o [ 5%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiprt3.c.o [ 5%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiqueu.c.o [ 6%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiring.c.o [ 6%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichisort.c.o [ 6%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichister.c.o [ 7%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichitaut.c.o [ 7%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichi_bns.c.o [ 7%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/inchi_dll.c.o [ 8%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichiread.c.o [ 8%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr1.c.o [ 8%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr2.c.o [ 9%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr3.c.o [ 9%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr4.c.o Scanning dependencies of target ChemicalFeatures [ 10%] Scanning dependencies of target RDGeneral Building CXX object Code/ChemicalFeatures/CMakeFiles/ChemicalFeatures.dir/FreeChemicalFeature.cpp.o [ 10%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/Invariant.cpp.o Scanning dependencies of target RDBoost [ 10%] Building CXX object Code/RDBoost/CMakeFiles/RDBoost.dir/Wrap.cpp.o [ 11%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/types.cpp.o [ 11%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/utils.cpp.o [ 11%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/RDLog.cpp.o [ 12%] Building CXX object Code/RDGeneral/CMakeFiles/RDGeneral.dir/Dict.cpp.o [ 12%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr5.c.o [ 13%] [ 13%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr6.c.o Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichirvr7.c.o [ 14%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/inchi_dll_main.c.o Linking CXX shared library ../../lib/libChemicalFeatures.dylib [ 14%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/runichi.c.o [ 14%] Built target ChemicalFeatures [ 14%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/inchi_dll_a.c.o [ 15%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/inchi_dll_a2.c.o [ 15%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ikey_dll.c.o [ 15%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ikey_base26.c.o [ 16%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/ichi_io.c.o [ 16%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/sha2.c.o [ 16%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/strutil.c.o [ 17%] Building C object External/INCHI-API/CMakeFiles/Inchi.dir/src/util.c.o Linking C shared library ../../lib/libInchi.dylib [ 17%] Built target Inchi Linking CXX shared library ../../lib/libRDBoost.dylib [ 17%] Built target RDBoost Linking CXX shared library ../../lib/libRDGeneral.dylib [ 17%] Built target RDGeneral Scanning dependencies of target EigenSolvers Scanning dependencies of target SimDivPickers [ 17%] Building CXX object Code/Numerics/EigenSolvers/CMakeFiles/EigenSolvers.dir/PowerEigenSolver.cpp.o [ 18%] [ 18%] Building CXX object Code/SimDivPickers/CMakeFiles/SimDivPickers.dir/DistPicker.cpp.o Building CXX object Code/SimDivPickers/CMakeFiles/SimDivPickers.dir/MaxMinPicker.cpp.o Scanning dependencies of target Clustering [ 18%] Building CXX object Code/ML/Cluster/Murtagh/CMakeFiles/Clustering.dir/Clustering.cpp.o Scanning dependencies of target DataStructs Scanning dependencies of target rdBase [ 19%] [ 19%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/BitVect.cpp.o Building CXX object Code/RDBoost/Wrap/CMakeFiles/rdBase.dir/RDBase.cpp.o Scanning dependencies of target Catalogs [ 20%] Building CXX object Code/Catalogs/CMakeFiles/Catalogs.dir/Catalog.cpp.o [ 20%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/SparseBitVect.cpp.o [ 21%] Building CXX object Code/SimDivPickers/CMakeFiles/SimDivPickers.dir/HierarchicalClusterPicker.cpp.o Linking CXX shared library ../../../lib/libEigenSolvers.dylib [ 21%] Building CXX object Code/Catalogs/CMakeFiles/Catalogs.dir/CatalogParams.cpp.o [ 21%] Built target EigenSolvers [ 21%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/ExplicitBitVect.cpp.o [ 22%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/Utils.cpp.o [ 22%] Building CXX object Code/Catalogs/CMakeFiles/Catalogs.dir/CatalogEntry.cpp.o Linking CXX shared library ../../lib/libSimDivPickers.dylib [ 22%] [ 22%] Built target SimDivPickers Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/base64.cpp.o [ 22%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/BitOps.cpp.o [ 23%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/DiscreteDistMat.cpp.o Linking CXX shared library ../../lib/libCatalogs.dylib [ 23%] Built target Catalogs [ 23%] Building CXX object Code/DataStructs/CMakeFiles/DataStructs.dir/DiscreteValueVect.cpp.o Linking CXX shared module ../../../../rdkit/ML/Cluster/Clustering.so [ 23%] Built target Clustering Linking CXX shared library ../../lib/libDataStructs.dylib [ 23%] Built target DataStructs Scanning dependencies of target InfoTheory [ 23%] Building CXX object Code/ML/InfoTheory/CMakeFiles/InfoTheory.dir/InfoBitRanker.cpp.o Scanning dependencies of target RDGeometryLib Scanning dependencies of target rdMetricMatrixCalc [ 23%] [ 23%] Building CXX object Code/Geometry/CMakeFiles/RDGeometryLib.dir/point.cpp.o Building CXX object Code/Geometry/CMakeFiles/RDGeometryLib.dir/Transform2D.cpp.o [ 23%] Building CXX object Code/DataManip/MetricMatrixCalc/Wrap/CMakeFiles/rdMetricMatrixCalc.dir/rdMetricMatrixCalc.cpp.o Scanning dependencies of target rdSimDivPickers Scanning dependencies of target cDataStructs [ 23%] Building CXX object Code/SimDivPickers/Wrap/CMakeFiles/rdSimDivPickers.dir/MaxMinPicker.cpp.o [ 23%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/DataStructs.cpp.o /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/RDGeneral/versions.h:8: Warning 451: Setting a const char * variable may leak memory. /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/RDGeneral/versions.h:13: Warning 451: Setting a const char * variable may leak memory. [ 23%] Building CXX object Code/SimDivPickers/Wrap/CMakeFiles/rdSimDivPickers.dir/HierarchicalClusterPicker.cpp.o [ 24%] Building CXX object Code/Geometry/CMakeFiles/RDGeometryLib.dir/Transform3D.cpp.o Linking CXX shared library ../../../lib/libInfoTheory.dylib Scanning dependencies of target GraphMolWrap [ 24%] Built target InfoTheory [ 25%] Building CXX object Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx.o Scanning dependencies of target rdInfoTheory [ 25%] Building CXX object Code/ML/InfoTheory/Wrap/CMakeFiles/rdInfoTheory.dir/InfoBitRanker.cpp.o [ 25%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/DiscreteValueVect.cpp.o [ 25%] Building CXX object Code/Geometry/CMakeFiles/RDGeometryLib.dir/UniformGrid3D.cpp.o Linking CXX shared module ../../../../rdkit/DataManip/Metric/rdMetricMatrixCalc.so [ 25%] Built target rdMetricMatrixCalc [ 26%] Building CXX object Code/SimDivPickers/Wrap/CMakeFiles/rdSimDivPickers.dir/rdSimDivPickers.cpp.o [ 26%] Building CXX object Code/Geometry/CMakeFiles/RDGeometryLib.dir/GridUtils.cpp.o Scanning dependencies of target cQuantize [ 27%] Building CXX object Code/ML/Data/CMakeFiles/cQuantize.dir/cQuantize.cpp.o [ 28%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/SparseIntVect.cpp.o Linking CXX shared library ../../lib/libRDGeometryLib.dylib [ 28%] Built target RDGeometryLib [ 28%] Building CXX object Code/ML/InfoTheory/Wrap/CMakeFiles/rdInfoTheory.dir/BitCorrMatGenerator.cpp.o Linking CXX shared module ../../../rdkit/SimDivFilters/rdSimDivPickers.so /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138655:31: error: use of undeclared identifier 'arg1'; did you mean 'jarg1'? boost::detail::sp_nullptr_t arg1 ; ^~~~ jarg1 /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138653:121: note: 'jarg1' declared here SWIGEXPORT jlong JNICALL Java_org_RDKit_RDKFuncsJNI_new_1Shared_1Int_1Array_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) { ^ /tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138655:18: error: no member named 'sp_nullptr_t' in namespace 'boost::detail' boost::detail::sp_nullptr_t arg1 ;

[ 28%] Built target rdSimDivPickers
[ 29%] Building CXX object Code/ML/InfoTheory/Wrap/CMakeFiles/rdInfoTheory.dir/rdInfoTheory.cpp.o
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138656:18: error: no type named 'sp_nullptr_t' in namespace 'boost::detail'
  boost::detail::sp_nullptr_t *argp1 ;
  ~~~~~~~~~~~~~~~^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138661:28: error: no member named 'sp_nullptr_t' in namespace 'boost::detail'
  argp1 = *(boost::detail::sp_nullptr_t **)&jarg1; 
            ~~~~~~~~~~~~~~~^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138661:43: error: expected expression
  argp1 = *(boost::detail::sp_nullptr_t **)&jarg1; 
                                          ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138666:3: error: use of undeclared identifier 'arg1'
  arg1 = *argp1; 
  ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138669:77: error: use of undeclared identifier 'arg1'
      result = (boost::shared_array< int > *)new boost::shared_array< int >(arg1);
                                                                            ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139268:31: error: use of undeclared identifier 'arg1'; did you mean 'jarg1'?
  boost::detail::sp_nullptr_t arg1 ;
                              ^~~~
                              jarg1
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138653:121: note: 'jarg1' declared here
SWIGEXPORT jlong JNICALL Java_org_RDKit_RDKFuncsJNI_new_1Shared_1Int_1Array_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
                                                                                                                        ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139268:31: error: reference to local variable 'jarg1' declared in enclosing function 'Java_org_RDKit_RDKFuncsJNI_new_1Shared_1Int_1Array_1_1SWIG_11'
  boost::detail::sp_nullptr_t arg1 ;
                              ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:138653:121: note: 'jarg1' declared here
SWIGEXPORT jlong JNICALL Java_org_RDKit_RDKFuncsJNI_new_1Shared_1Int_1Array_1_1SWIG_11(JNIEnv *jenv, jclass jcls, jlong jarg1) {
                                                                                                                        ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139268:18: error: no member named 'sp_nullptr_t' in namespace 'boost::detail'
  boost::detail::sp_nullptr_t arg1 ;
  ~~~~~~~~~~~~~~~^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139269:18: error: no type named 'sp_nullptr_t' in namespace 'boost::detail'
  boost::detail::sp_nullptr_t *argp1 ;
  ~~~~~~~~~~~~~~~^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139274:28: error: no member named 'sp_nullptr_t' in namespace 'boost::detail'
  argp1 = *(boost::detail::sp_nullptr_t **)&jarg1; 
            ~~~~~~~~~~~~~~~^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139274:43: error: expected expression
  argp1 = *(boost::detail::sp_nullptr_t **)&jarg1; 
                                          ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139279:3: error: use of undeclared identifier 'arg1'
  arg1 = *argp1; 
  ^
/tmp/rdkit20150427-32910-le799c/rdkit-Release_2014_09_2/Code/JavaWrappers/gmwrapper/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx:139282:83: error: use of undeclared identifier 'arg1'
      result = (boost::shared_array< double > *)new boost::shared_array< double >(arg1);
                                                                                  ^
Linking CXX shared module ../../../rdkit/rdBase.so
[ 29%] Built target rdBase
Scanning dependencies of target Alignment
[ 29%] Scanning dependencies of target rdGeometry
Building CXX object Code/Numerics/Alignment/CMakeFiles/Alignment.dir/AlignPoints.cpp.o
[ 29%] Building CXX object Code/Geometry/Wrap/CMakeFiles/rdGeometry.dir/Point.cpp.o
15 errors generated.
make[2]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/src/org/RDKit/GraphMolJavaJAVA_wrap.cxx.o] Error 1
make[1]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/wrap_SparseBV.cpp.o
Scanning dependencies of target GraphMol
[ 29%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Atom.cpp.o
Linking CXX shared module ../../../rdkit/ML/Data/cQuantize.so
[ 29%] Built target cQuantize
[ 29%] Building CXX object Code/Geometry/Wrap/CMakeFiles/rdGeometry.dir/UniformGrid3D.cpp.o
Linking CXX shared library ../../../lib/libAlignment.dylib
[ 29%] Built target Alignment
[ 29%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/wrap_ExplicitBV.cpp.o
[ 30%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/QueryAtom.cpp.o
Linking CXX shared module ../../../../rdkit/ML/InfoTheory/rdInfoTheory.so
[ 30%] Built target rdInfoTheory
[ 31%] Building CXX object Code/Geometry/Wrap/CMakeFiles/rdGeometry.dir/rdGeometry.cpp.o
[ 31%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/QueryBond.cpp.o
[ 31%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Bond.cpp.o
[ 32%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/wrap_BitOps.cpp.o
[ 33%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/MolOps.cpp.o
[ 33%] Building CXX object Code/DataStructs/Wrap/CMakeFiles/cDataStructs.dir/wrap_Utils.cpp.o
[ 33%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/FindRings.cpp.o
Linking CXX shared module ../../../rdkit/Geometry/rdGeometry.so
[ 33%] Built target rdGeometry
[ 33%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/ROMol.cpp.o
[ 34%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/RWMol.cpp.o
[ 34%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/PeriodicTable.cpp.o
[ 34%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/atomic_data.cpp.o
[ 35%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/QueryOps.cpp.o
[ 35%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/MolPickler.cpp.o
[ 35%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Canon.cpp.o
[ 36%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/AtomIterators.cpp.o
[ 36%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/BondIterators.cpp.o
[ 36%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Aromaticity.cpp.o
[ 37%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Kekulize.cpp.o
[ 37%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/MolDiscriminators.cpp.o
[ 38%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/ConjugHybrid.cpp.o
[ 38%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/AddHs.cpp.o
[ 38%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/RankAtoms.cpp.o
[ 39%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Matrices.cpp.o
[ 39%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Chirality.cpp.o
[ 39%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/RingInfo.cpp.o
[ 40%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Conformer.cpp.o
[ 40%] Building CXX object Code/GraphMol/CMakeFiles/GraphMol.dir/Renumber.cpp.o
Linking CXX shared module ../../../rdkit/DataStructs/cDataStructs.so
[ 40%] Built target cDataStructs
Linking CXX shared library ../../lib/libGraphMol.dylib
[ 40%] Built target GraphMol
make: *** [all] Error 2
/usr/local/Library/Homebrew/debrew.rb:11:in `raise'
BuildError: Failed executing: make 
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 1
==> Formula
Tap: rdkit/homebrew-rdkit
Path: /usr/local/Library/Taps/rdkit/homebrew-rdkit/Formula/rdkit.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7731e73cc532a4c9919c019c697e443b1cf70334
Last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit sandybridge
OS X: 10.10.2-x86_64
Xcode: 6.3.1
CLT: 6.2.0.0.1.1424975374
Clang: 6.1 build 602
X11: 2.7.7 => /opt/X11
System Ruby: 2.0.0-p481
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby
Java: 1.8.0_25
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.10
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/local/opt/wget/bin:/usr/local/opt/swig/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: rdkit 2014.09.2 did not build
Logs:
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/01.java_lib
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/02.junit.jar
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/03.INCHI-API;
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/04.cmake
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/04.cmake.cc
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/05.make
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/05.make.cc
     /Users/christopherfowler/Library/Logs/Homebrew/rdkit/CMakeCache.txt
greglandrum commented 9 years ago

Just to be sure that this isn't something that has "accidentally" been fixed, can you please try installing the dev version of the rdkit with "brew install --HEAD rdkit"?

ChristopherFowler commented 9 years ago

Hi Greg. Thanks for the quick reply. I have tried both --HEAD and without when compiling rdkit --with-java and I got the same error both times.

Does this mean that the --with-java functionality is indeed not working right now?

Best, Chris

On Apr 28, 2015, at 12:04 AM, Greg Landrum notifications@github.com wrote:

Just to be sure that this isn't something that has "accidentally" been fixed, can you please try installing the dev version of the rdkit with "brew install --HEAD rdkit"?

— Reply to this email directly or view it on GitHub.

ChristopherFowler commented 9 years ago

Oh and one other thing. We will need Java working for Mac OSX 10.8.5 to current (I'm on 10.10.2 currently). Some of our machines aren't allowed to be upgraded here yet for security purposes.

In general, we really need the Java bindings for windows 7, 8, RHEL 5, 6, and the aforementioned Mac versions. There may be other architectures in the future but we know of these for now.

If all you can do for the moment is the Mac versions that's enough for a start.

Just to give you a heads up, my group is at the National Center for Computational Toxicology at the EPA in Research Triangle Park, NC. We are working on developing a public web application that extensively used rdkit which is why we are needing these architectures.

The cheminformatics community is small, so I figured I would introduce myself and let you know where our group is.

Best, Chris Fowler

On Apr 28, 2015, at 12:04 AM, Greg Landrum notifications@github.com wrote:

Just to be sure that this isn't something that has "accidentally" been fixed, can you please try installing the dev version of the rdkit with "brew install --HEAD rdkit"?

— Reply to this email directly or view it on GitHub.

greglandrum commented 8 years ago

@Grenix apologies that this has taken me so long to track down/reproduce, but I finally managed to reproduce the problem (accidentally, of course), and then, after some struggling, reproduce it.

The problem seems to be a bad interaction between SWIG, boost, and recent versions of clang on the Mac. I was able to solve the problem by reverting to an older version of boost. I was able to get the rdkit java wrappers to build with an up-to-date XCode by using boost 1.48. I can confirm that neither 1.55 nor 1.56 work.

Is it possible to install boost 1.48 using homebrew?

-greg

greglandrum commented 8 years ago

hmm, looks like I spoke too soon.

The wrappers build, but the tests are failing to build for me. It looks like there may be an incompatibility with Java8 that is causing problems. <sigh>

ChristopherFowler commented 8 years ago

Can you try it on Java 7 and 6 just to see if you get the same result?

On Nov 18, 2015, at 9:41 AM, Greg Landrum notifications@github.com wrote:

hmm, looks like I spoke too soon.

The wrappers build, but the tests are failing to build for me. It looks like there may be an incompatibility with Java8 that is causing problems.

— Reply to this email directly or view it on GitHub.

greglandrum commented 8 years ago

Easier said that done. I found a way to patch it so that the docs build under java8, but I will need to spend a bit more time to confirm that this also works back to java 6.

diff --git a/Code/JavaWrappers/gmwrapper/CMakeLists.txt b/Code/JavaWrappers/gmwrapper/CMakeLists.txt
index 461bce4..d099215 100644
--- a/Code/JavaWrappers/gmwrapper/CMakeLists.txt
+++ b/Code/JavaWrappers/gmwrapper/CMakeLists.txt
@@ -140,7 +140,7 @@ endif()
ADD_CUSTOM_COMMAND(
   OUTPUT ${CMAKE_JAVA_TEST_OUTDIR}/org/RDKit/WrapperTests.class
-  COMMAND ${JAVA_COMPILE} -d ${CMAKE_JAVA_TEST_OUTDIR} -cp "${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar${PATH_SEP}${JUNIT_JAR}" ${JAVA_TEST_FILES}
+  COMMAND ${JAVA_COMPILE} -Xdoclint:none -d ${CMAKE_JAVA_TEST_OUTDIR} -cp "${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar${PATH_SEP}${JUNIT_JAR}" ${JAVA_TEST_FILES}
   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar ${JAVA_TEST_FILES}
)
ChristopherFowler commented 8 years ago

Thanks for looking into this. I appreciate it.

Chris Fowler

On Wed, Nov 18, 2015 at 9:57 AM, Greg Landrum notifications@github.com wrote:

Easier said that done. I found a way to patch it so that the docs build under java8, but I will need to spend a bit more time to confirm that this also works back to java 6.

diff --git a/Code/JavaWrappers/gmwrapper/CMakeLists.txt b/Code/JavaWrappers/gmwrapper/CMakeLists.txt index 461bce4..d099215 100644 --- a/Code/JavaWrappers/gmwrapper/CMakeLists.txt +++ b/Code/JavaWrappers/gmwrapper/CMakeLists.txt @@ -140,7 +140,7 @@ endif() ADD_CUSTOM_COMMAND( OUTPUT ${CMAKE_JAVA_TEST_OUTDIR}/org/RDKit/WrapperTests.class

  • COMMAND ${JAVA_COMPILE} -d ${CMAKE_JAVA_TEST_OUTDIR} -cp "${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar${PATH_SEP}${JUNIT_JAR}" ${JAVA_TEST_FILES}
  • COMMAND ${JAVA_COMPILE} -Xdoclint:none -d ${CMAKE_JAVA_TEST_OUTDIR} -cp "${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar${PATH_SEP}${JUNIT_JAR}" ${JAVA_TEST_FILES} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/org.RDKit.jar ${JAVA_TEST_FILES} )

— Reply to this email directly or view it on GitHub https://github.com/rdkit/homebrew-rdkit/issues/25#issuecomment-157739664 .

nbateshaus commented 8 years ago

I've been looking into this. I have compile working with boost 1.60 and Java 1.8.0_77, but still no javadoc. I got this far via:

diff --git a/Code/JavaWrappers/gmwrapper/CMakeLists.txt b/Code/JavaWrappers/gmwrapper/CMakeLists.txt
index 2095d8e..ab55cce 100644
--- a/Code/JavaWrappers/gmwrapper/CMakeLists.txt
+++ b/Code/JavaWrappers/gmwrapper/CMakeLists.txt
@@ -48,6 +48,9 @@ endif()
 # Coax SWIG into playing nicely with Apple environments
 if(APPLE)
   SET(CMAKE_SIZEOF_VOID_P 4)
+  # Invocation of the compiler on swig-generated files somehow 'forgets' that
+  # we use a modern dialect of C++
+  ADD_COMPILE_OPTIONS(-std=c++14)
 endif(APPLE)

 if(CMAKE_SIZEOF_VOID_P MATCHES 4)

*\ Edit: After updating RDKit to HEAD, I can now build all the way through. W00t!

greglandrum commented 8 years ago

The problem that Nik is fixing with the --std=c++14 flag is a tricky one. Recent versions of the OS X include at least two different versions of the C++ libraries: one for older flavors of C++ and one for modern C++ (=C++11/14). You pick which one to use at compile/link time with the -std and/or -stdlib arguments. For the RDKit it doesn't matter (yet) which standard you pick, but I believe you can only use one at a time. So you cannot, for example, combine libraries that have been linked against stdc++ and libc++.

@bp-kelley posted some code to test for library versions on OS X here: http://www.mail-archive.com/rdkit-discuss@lists.sourceforge.net/msg05322.html

Here's the test:

if otool -L "$PYROOT/lib/libboost_python.dylib"  | grep libc++ ; then
    FLAGS="-std=c++11 -stdlib=libc++"
else
    FLAGS="-stdlib=libstdc++"
fi
bp-kelley commented 8 years ago

I just make a pull request for CMake to pick the right version of libc++ on OSX. You may want to try it out and see if it works for you:

https://github.com/rdkit/rdkit/pull/845

This was hair-pulling for a while until we figured it out. The problem isn't really that libc++ and stdlibc++ can't work together, they were designed not to collide (except on osx 10.8), the problem is that boost was compiled with libc++ and the symbols can't be found.

Cheers, Brian

On Tue, Apr 5, 2016 at 12:16 AM, Greg Landrum notifications@github.com wrote:

The problem that Nik is fixing with the --std=c++14 flag is a tricky one. Recent versions of the OS X include at least two different versions of the C++ libraries: one for older flavors of C++ and one for modern C++ (=C++11/14). You pick which one to use at compile/link time with the -std and/or -stdlib arguments. For the RDKit it doesn't matter (yet) which standard you pick, but I believe you can only use one at a time. So you cannot, for example, combine libraries that have been linked against stdc++ and libc++.

@bp-kelley https://github.com/bp-kelley posted some code to test for library versions on OS X here: http://www.mail-archive.com/rdkit-discuss@lists.sourceforge.net/msg05322.html

Here's the test:

if otool -L "$PYROOT/lib/libboost_python.dylib" | grep libc++ ; then FLAGS="-std=c++11 -stdlib=libc++" else FLAGS="-stdlib=libstdc++" fi

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/rdkit/homebrew-rdkit/issues/25#issuecomment-205635577

nbateshaus commented 8 years ago

I just tried that fix instead of mine, and can confirm that it works! Thanks!

bp-kelley commented 8 years ago

Great! Thanks for trying the build.

ChristopherFowler commented 8 years ago

RDKit folks,

So I really appreciate your diligence on this. I've actually left the EPA for graduate school so I won't be needing any more correspondence. Thank you guys very much for all of your hard work!

Best, Chris Fowler

On Tue, Apr 5, 2016 at 12:24 PM, Brian Kelley notifications@github.com wrote:

I just make a pull request for CMake to pick the right version of libc++ on OSX. You may want to try it out and see if it works for you:

https://github.com/rdkit/rdkit/pull/845

This was hair-pulling for a while until we figured it out. The problem isn't really that libc++ and stdlibc++ can't work together, they were designed not to collide (except on osx 10.8), the problem is that boost was compiled with libc++ and the symbols can't be found.

Cheers, Brian

On Tue, Apr 5, 2016 at 12:16 AM, Greg Landrum notifications@github.com wrote:

The problem that Nik is fixing with the --std=c++14 flag is a tricky one. Recent versions of the OS X include at least two different versions of the C++ libraries: one for older flavors of C++ and one for modern C++ (=C++11/14). You pick which one to use at compile/link time with the -std and/or -stdlib arguments. For the RDKit it doesn't matter (yet) which standard you pick, but I believe you can only use one at a time. So you cannot, for example, combine libraries that have been linked against stdc++ and libc++.

@bp-kelley https://github.com/bp-kelley posted some code to test for library versions on OS X here:

http://www.mail-archive.com/rdkit-discuss@lists.sourceforge.net/msg05322.html

Here's the test:

if otool -L "$PYROOT/lib/libboost_python.dylib" | grep libc++ ; then FLAGS="-std=c++11 -stdlib=libc++" else FLAGS="-stdlib=libstdc++" fi

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub < https://github.com/rdkit/homebrew-rdkit/issues/25#issuecomment-205635577>

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/rdkit/homebrew-rdkit/issues/25#issuecomment-205882947

UnixJunkie commented 5 years ago

this is so old, I guess it can be closed