Compiling on MacOSX using Fink
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.
Different versions can be installed.
X11 and Aqua cannot be installed due to OpenGL conflict.
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.