External Software Requirements
Tools required to work with SAS
To work with SAS you must install some additional tools. The following Table provides the list of these tools and the versions we recommend to install.
|Name||Version||Download web page||Comments|
|Perl||5.22.2||This version can be downloaded and installed from perlbrew||SAS 16.0.0 should be installed with SAS_PERL pointing to a specific installation of Perl 5.22.2.|
|ds9||7.5||Binaries available from ds9 web site.||xpa 2.1.17 is not included with ds9. Please download and install it independently.|
|Grace||5.1.25||Only source code is available from Grace web site.||Mac OS X and most Linux distributions provide a binary package ready to be installed.|
|Heasoft||6.20||Binaries and source code available from Heasoft web site.||A binary installation is sufficient to work with SAS. If built from source code, do not forget to set the PERL environment variable to the same version of Perl that is used for SAS.|
|WCSTools||3.9.4||Only source code is available from WCSTools web site.||Very easy to build from source code.|
Some SAS tasks are Perl scripts, e.g emchain, epchain, omichain, etc. In order to work, they require that Perl is installed in your system. All SAS Perl scripts include the location of a Perl binary in the first line of the script (she-bang). The SAS installation script configure_install looks in specific system directories for valid Perl binaries to replace the perl specified in the first line of all SAS perl scripts.
As described in the installation procedure, the configure_install script can set the Perl to be used by defining the SAS_PERL environment variable to point to the absolute path of a specific Perl binary. Alternatively, the configure_install will look for a valid Perl binary in /usr/local/bin,/usr/bin/perl, /opt/local/bin and /sw/bin. If none is found, the script warns the user and aborts the installation. Once Perl has been installed, the user must run again the configure_install script, to complete the installation.
As indicated in the above Table, please make sure that you install on your system Perl 5.22.2, the same that was used to build the SAS 16.0.0. A very easy way to do it is by means of the perbrew software. Once this is done and before SAS 16.0.0 is installed, define SAS_PERL to point to the Perl 5.22.2 binary.
Given that Heasoft includes also Perl tasks, please make sure the installation of this software, either binary or source code, is done with Perl 5.22.2, by defining the PERL environment variable to point to such binary.
X11 on Mac OS X
To work with SAS on Mac OS X you need to have installed the X Windows or X11 software. For Yosemite and El Capitan you can get X11 from the XQuartz project web site. You should use XQuartz version 2.7.7 or later. We have tested XQuartz 2.7.11 to work successfully with Mac OS X El Capitan.