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 [2023/02/02 15:21] – casabella | install:macos [2024/04/11 15:30] – [Configure and install polymake] paffenholz | ||
---|---|---|---|
Line 36: | Line 36: | ||
</ | </ | ||
- | Now add some paths to your Terminal config and reload the config. | + | 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. | ||
< | < | ||
echo " | echo " | ||
Line 43: | Line 51: | ||
source $HOME/ | source $HOME/ | ||
</ | </ | ||
+ | and for a Silicon Mac use | ||
+ | < | ||
+ | echo " | ||
+ | echo " | ||
+ | echo ' | ||
+ | source $HOME/ | ||
+ | </ | ||
+ | |||
==== Install dependencies with Homebrew ==== | ==== Install dependencies with Homebrew ==== | ||
Line 58: | Line 74: | ||
brew install ninja | brew install ninja | ||
brew install ccache | brew install ccache | ||
+ | brew install mongo-c-driver | ||
</ | </ | ||
Line 67: | Line 84: | ||
cpanm --local-lib=~/ | cpanm --local-lib=~/ | ||
cpanm SVG | cpanm SVG | ||
- | cpanm Moo | ||
- | cpanm MongoDB | ||
cpanm JSON | cpanm JSON | ||
cpanm install Net::SSLeay | cpanm install Net::SSLeay | ||
cpanm Term:: | cpanm Term:: | ||
+ | cpanm Term:: | ||
+ | cpanm XML::SAX | ||
</ | </ | ||
Line 88: | Line 105: | ||
< | < | ||
cd Downloads | cd Downloads | ||
- | tar -xvfj 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 108: | 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 118: | Line 137: | ||
</ | </ | ||
or add '' | or add '' | ||
+ | |||
+ | === Configuration === | ||
+ | |||
+ | If you use '' | ||
+ | < | ||
+ | set_custom $Visual:: | ||
+ | </ | ||
+ | inside the polymake shell. Replace '' | ||
+ | |||
+ |