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 | ||
install:macos [2024/02/01 14:21] – [Install dependencies with Perlbrew] paffenholz | install:macos [2024/04/11 15:30] – [Configure and install polymake] paffenholz | ||
---|---|---|---|
Line 35: | Line 35: | ||
\curl -L https:// | \curl -L https:// | ||
</ | </ | ||
+ | |||
+ | We have to add some variables to the shell environment. Recent macs usually use '' | ||
+ | < | ||
+ | echo $SHELL | ||
+ | </ | ||
+ | If you use '' | ||
+ | * replace '' | ||
+ | * add < | ||
Now add some paths to your Terminal config and reload the config. For an Intel Mac type the following lines in the terminal: | Now add some paths to your Terminal config and reload the config. For an Intel Mac type the following lines in the terminal: | ||
Line 66: | Line 74: | ||
brew install ninja | brew install ninja | ||
brew install ccache | brew install ccache | ||
+ | brew install mongo-c-driver | ||
</ | </ | ||
Line 78: | Line 87: | ||
cpanm install Net::SSLeay | cpanm install Net::SSLeay | ||
cpanm Term:: | cpanm Term:: | ||
+ | cpanm Term:: | ||
+ | cpanm XML::SAX | ||
</ | </ | ||
Line 94: | Line 105: | ||
< | < | ||
cd Downloads | cd Downloads | ||
- | tar -xvjf polymake-4.9.tar.bz2 | + | tar -xvjf polymake-4.11.tar.bz2 |
</ | </ | ||
==== Configure and install polymake ==== | ==== Configure and install polymake ==== | ||
+ | |||
+ | === Compilation === | ||
Essentially, | Essentially, | ||
< | < | ||
- | cd ~/ | + | cd ~/ |
./configure --without-java | ./configure --without-java | ||
ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
</ | </ | ||
- | However, we recommend to install into a directory in your $HOME-folder. For this, create a folder with | + | However, we recommend to install into a directory in your '' |
< | < | ||
mkdir $HOME/< | mkdir $HOME/< | ||
Line 114: | Line 127: | ||
< | < | ||
- | cd ~/ | + | cd ~/ |
./configure --without-java --prefix=$HOME/< | ./configure --without-java --prefix=$HOME/< | ||
ninja -C build/Opt -j2 install | ninja -C build/Opt -j2 install | ||
Line 124: | Line 137: | ||
</ | </ | ||
or add '' | or add '' | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | If you use '' | ||
+ | < | ||
+ | set_custom $Visual:: | ||
+ | </ | ||
+ | inside the polymake shell. Replace '' | ||
+ | |||
+ |