All SAS installations are binary. We can not provide support on building SAS from source code. However, the source code for each release of SAS is available and can be downloaded for reference purposes only.
Before installing SAS, please read carefully the software requirements page, and assure you fullfil them. Otherwise you would not be able to use SAS properly.
To download SAS, go to the download page.
Download the specific tar.gz archives for your operating system and move them to a directory of your choice where you plan to have SAS. Let this be /top_dir.
Unpack there the four tar.gz archives that you downloaded. This will create a directory called xmmsas_20060628_1801. For Mac OS X 10.4.X Tiger, this directory is named xmmsas_7.0.0_MacOSX_Tiger. Move onto this directory.
Run the script configure_install, as
which will produce two scripts named setsas.sh and setsas.csh in the same directory, which can be used to setup SAS.
Depending on your shell, source either setsas.sh or setsas.csh, as follows:
. ./setsas.sh (sh/bash/ksh)
source ./setsas.csh (csh/tcsh)
The previous commands should be replaced by
. /top_dir/xmmsas_20060628_1801/setsas.sh (sh/bash/ksh)
source /top_dir/xmmsas_20060628_1801/setsas.csh (csh/tcsh)
when invoked from any other place of your system. For Mac OS X 10.4 Tiger, the directory xmmsas_20060628_1801 must be replaced by xmmsas_7.0.0_MacOSX_Tiger.
The setsas.[c]sh scripts take care of all the details required to setup properly the environment to run SAS, except for the SAS_CCFPATH, the SAS_ODF and the SAS_CCF environment variables, which depend on where the XMM-Newton data to be analyzed have been placed.
For more details consult the documentation links.