xcode-select -p # shows /Applications/Xcode.app/Contents/Developer xcdodebuild -license # Needed to be allowed to start gcc gcc --version sudo port -v install Xaw3d sudo port -v install xorg-server sudo port -v install xterm # (as a test application) sudo port -v install xclock # (as a test application) sudo port -v install wget # (to get kapteynpackage.src) sudo port -v install xorg-fonts sudo port -v install mg sudo port -v install nano # Alternative editor sudo port -v install geany # Alternative editor sudo port install gcc13 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew install gfortranDownload anaconda3 (2023.07) from: https://www.anaconda.com/download#downloads Note that there are x86_64 and arm64 versions. For the M1 and M2 you need the arm64 version! Run the sh file you did download. We selected /opt/anaconda3 as installation path which fits a multi user environment.
Installing GIPSY on macOS may be complicated by the fact that software can be obtained from various places e.g. Homebrew, Fink, MacPorts, etc. Also software which has already been installed may interfere.
It is a big file so you have to be a bit patient. Verify that you've successfully installed Xcode Command Line Tools:
$ xcode-select -p /Library/Developer/CommandLineToolsJust to be certain, verify that gcc is installed:
$ gcc --versionA GIPSY user mailed the following: Apparently on Mac OS Mojave, the command line tools can not be updated/installed with the old way i.e. xcode-selectb install
> cd /Library/Developer/CommandLineTools/Packages/ > open macOS_SDK_headers_for_macOS_10.14.pkgand it will open an installation wizard.
Download macOS Mojave v10.14 from macports.org and install it.
$ sudo port -v install Xaw3d $ sudo port -v install xorg-server $ sudo port -v install xterm (as a test application) $ sudo port -v install xclock (as a test application) $ sudo port -v install wget (to get kapteynpackage.src) $ sudo port -v install xorg-fontsNow reboot your system. After that, applications like xclock start the X11 server automatically. There is no need to set a DISPLAY variable.
Most probably you need to edit files on the command line. For those who don't like vi also the more verbose nano is available. Users of MicroEmacs can install mg with:
sudo port -v install mgIf you need an editor to develop code, you can install for example 'Geany' with:
sudo port -v install geanyThe GIPSY64 distribution can be downloaded from a browser but if you want to access the files through FTP, you can download 'ncftp' with:
sudo port -v install ncftp
sudo port install gcc8
sudo tar -xvf gcc-8.3-bin.tar -C /This installs gcc and gfortran as your system compilers. If you don't want to replace the system compilers, you need to find another solution to install gfortran. We would prefer to install the gcc/gfortan compilers through MacPorts but could not yet find a proper solution. If you have suggestions, please let us know (gipsy[AT]astro[DOT]rug[DOT]nl).