install:mac_fink

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.

  1. 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 use Fink even if you already have another (e.g. Macports). Note that in any case you will need administrator rights on your Mac (or use sudo).
    • Use the helper script provided at ''Fink'' download page. Follow the link to the helper script, download InstallFink.tgz, unpack it, switch to the directory InstallFink created by the tar archive, make the one file in it executable (with chmod 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 of Fink, then fink-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.

  2. 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 a gcc from fink you can stop here. To install the required Fink packages use the following command:
    • for 10.12:

      fink install gmp5 readline6 term-readline-gnu-pm5182 gv libxslt xml-libxslt-pm5182 extutils-parsexs-pm xhtml-dtd libmpfr4 boost1.63-nopython ant

    • for 10.11:

      fink install gmp5 readline6 term-readline-gnu-pm5182 gv libxslt xml-libxslt-pm5182 extutils-parsexs-pm xhtml-dtd libmpfr4 boost1.63-nopython ant

    • for 10.10:

      fink install gmp5 readline6 term-readline-gnu-pm5182 gv libxslt xml-libxslt-pm5182 extutils-parsexs-pm xhtml-dtd libmpfr4 boost1.55-nopython ant

    • for 10.9:

      fink install gmp5 readline6 term-readline-gnu-pm5162 gv libxslt xml-libxslt-pm5162 extutils-parsexs-pm xhtml-dtd libmpfr4 boost1.53.nopython ant

  3. reload fink afterwards with

    . /fink-base_path/bin/init.sh

    Otherwise some environment variables are not set correctly.

  • install/mac_fink.1548798380.txt.gz
  • Last modified: 2019/01/29 21:46
  • by 127.0.0.1