Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
howto:mac_compiling_homebrew [2015/03/17 20:28] – paffenholz | install:mac_compiling_homebrew [2019/06/02 21:45] – paffenholz | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== Compiling polymake === | === Compiling polymake === | ||
- | Note again that this has only been tested on **Mac OS 10.9** and **10.10** (and it is unlikely that it will work with anything older than 10.8. For 10.8 you have to make sure that your command line tools are from Sep 2013 or newer). | + | This has been tested on **Mac OS 10.11** and later. |
- | Get the '' | + | Get the '' |
< | < | ||
- | ./ | + | ./configure |
</ | </ | ||
- | or, if you do not want to install into /usr/local (or you don't have sudo rights), then | + | |
+ | |||
+ | If you do not want to install into /usr/local (or you don't have sudo rights), then add | ||
< | < | ||
- | ./ | + | --prefix=$HOME/ |
</ | </ | ||
- | where $HOME/ | + | to configure, |
If you have never used java before you will get a popup window that asks you to install java. Please do so and rerun the above command. | If you have never used java before you will get a popup window that asks you to install java. Please do so and rerun the above command. | ||
Line 17: | Line 19: | ||
Once this has finished do | Once this has finished do | ||
< | < | ||
- | make | + | ninja -C build/ |
- | make install | + | |
</ | </ | ||
- | The first command | + | This will take a while. If you have not specified a local directory then you will need to call this with '' |
< | < | ||
- | sudo make install | + | -j2 |
</ | </ | ||
- | This will ask for your password. | + | as option to use both cores for compiling. Your computer |