Compiling on MacOSX using Fink

From GRASS-Wiki
Revision as of 00:30, 1 May 2017 by ⚠️Baba (talk | contribs) (Created page with "== What is Fink and why use it == The Fink project wants to bring the full world of Unix Open Source software to Darwin and Mac OS X. We modify Unix software so that it compi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

What is Fink and why use it

The Fink project wants to bring the full world of Unix Open Source software to Darwin and Mac OS X. We modify Unix software so that it compiles and runs on Mac OS X ("port" it) and make it available for download as a coherent distribution. Fink uses Debian tools like dpkg and apt-get to provide powerful binary package management. You can choose whether you want to download precompiled binary packages or build everything from source. For further information to install it and how to use it, see the Fink Project Website.

Fink provides several versions/variants of GRASS.

package name version GUI
grass72-mac 7.2.0 aqua
grass72-x11 7.2.0 x11
grass70-x11 7.0.5 x11
grass64-mac 6.4.3 aqua
grass64-x11 6.4.3 x11

Different versions can be installed.

X11 and Aqua cannot be installed due to OpenGL conflict.

Install Fink

First, download

Install Fink

and save it as TEXT.

From Terminal, run:

     $ chmod +x Install\ Fink.tool.txt
     $ ./Install\ Fink.tool.txt

If you do not have Xcode, X11 or JAVA, the script will ask you to install them. After installing them, run the command above.

Install GRASS 7.2

After Fink is installed, simply run

     $ fink install grass72-mac

This will install GRASS 7.2 as well as depending libraries, e.g. PROJ, GDAL2, PostgreSQL.

GRASS will be installed in /Applications/Fink.