Each line in the file specifies the path to a standard compiler executable.
Most notably, the last line specifies the Fortran compiler to use.
If you get an error message it means you did not run it in new Terminal or the installation did not succeeded.
It’s time to go over some most important command will give you the listing of all available ports you can install on your Mac.
To install Xcode open App Store, search for Xcode and install it – it’s a free download. When they are installed we have all the prerequisites to start Mac Ports installation. Go through all the installation steps (you will have to put your password again).
The installation will take some time because Xcode is more then 2GB download. When the installation finishes you should reopen the Terminal get environment variables updated.
Please report any issues with these instructions here.
This page was originally designed for Astronomers, but most of the instructions are generic, and apply to anyone wanting to use Python via Mac Ports.
Officially Mac Ports is supported on the current and immediately previous mac OS releases, so at the time that is 10.10 (Yosemite) and 10.11 (El Capitan), earlier releases are supported on a best effort basis.
However, the use of a custom compiler can provide certain advantages: A quicker first-time build of MIRIAD because the Mac Port version of GCC doesn’t need to be built.
Note that this is a one-time-only gain since once the GCC is built it can be reused with recompilation.
This blog post will take you through step by step instructions of installing Mac Posrts and show you the most important commands to get you started.
Before you can install and use Mac Ports you must have Xcode installed on your Mac.