This is an old revision of the document!
Preparation: fink
Note: This is only required if you want to do an installation using Fink to solve dependencies or use a gcc
from fink
to compile polymake
.
- If you haven't installed
Fink
on your Mac already, then follow the following few steps. Otherwise, jump to 2.).Fink
should not interfere with any of the other Linux ports, so you can safely useFink
even if you already have another (e.g. Macports). Note that in any case you will need administrator rights on your Mac (or usesudo
).- Use the helper script provided at ''Fink'' download page. Follow the link to the helper script, download
InstallFink.tgz
, unpack it, switch to the directoryInstallFink
created by the tar archive, make the one file in it executable (withchmod u+x InstallFink.tool
) and execute it. - New terminal sessions must be made aware of the location of your
Fink
. For this you can issue the command. /fink-base_path/bin/init.sh
in the terminal (observe the
.
at the beginning!). If you took the default during installation ofFink
, thenfink-base_path
is just/sw
. It is convenient to put this into the configuration file.profile
in your home directory (unless you have several Fink versions, or other Mac ports). The command/fink-base_path/bin/pathsetup.sh
assists in this.
- Installing the following fink packages is only necessary if you want to compile
polymake
using Fink to provide some additional Linux packages not contained in Mac OS. If you came here from the compiler page and only want agcc
fromfink
you can stop here. To install the requiredFink
packages use the following command:fink install gmp5 readline6 term-readline-gnu-pm5182 gv libxslt xml-libxslt-pm5182 extutils-parsexs-pm xhtml-dtd libmpfr4 boost1.63-nopython ant
- reload fink afterwards with
. /fink-base_path/bin/init.sh
Otherwise some environment variables are not set correctly.