This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revisionBoth sides next revision |
install:mac_compiling_nofink [2019/01/29 21:46] – external edit 127.0.0.1 | install:mac_compiling_nofink [2019/05/16 11:40] – paffenholz |
---|
* ''--with-jni-headers=/System/Library/Frameworks/JavaVM.framework/Headers'': If this fails then check the path. Names of directories may vary slightly.\\ \\ Your command could now be similar to the following (still replace paths!):<code>./configure --with-boost=<path> --with-java=/usr/bin/java --with-jni-headers=/System/Library/Frameworks/JavaVM.framework/Headers --without-fink --with-gmp=<path> --with-mpfr=<path> --with-readline=<path> --with-ppl=<path> --with-ant=<path> --with-singular=<path> --prefix=<path-if-not-to-usr-local></code> | * ''--with-jni-headers=/System/Library/Frameworks/JavaVM.framework/Headers'': If this fails then check the path. Names of directories may vary slightly.\\ \\ Your command could now be similar to the following (still replace paths!):<code>./configure --with-boost=<path> --with-java=/usr/bin/java --with-jni-headers=/System/Library/Frameworks/JavaVM.framework/Headers --without-fink --with-gmp=<path> --with-mpfr=<path> --with-readline=<path> --with-ppl=<path> --with-ant=<path> --with-singular=<path> --prefix=<path-if-not-to-usr-local></code> |
| |
* Once configuration has succeeded, do<code>make | * Once configuration has succeeded, do<code>ninja -C build/Opt -j2 install</code>in the terminal. |
make install</code>in the terminal. | |
| |
* **Version specific issues** | |
| |
* For release 3.0 and earlier you might need to additionally pass <code>CC=clang LDFLAGS=' -stdlib=libstdc++' CXXFLAGS=-I/usr/include/c++/4.2.1 CXX=clang++</code> to ''configure'', as clang apparently doesn't search ''/usr/include'' by default. | |
| |
Note that you might need additional options if your setup differs from a standard one. | Note that you might need additional options if your setup differs from a standard one. |