Bugs: Building CIAO from Source
Table of Contents
pkg-config must be version 0.18 or newer
To find out the version on your system:
If it is older then 0.18 or is not installed, you can use the pkg-config included with the CIAO OTS.
setenv PATH <location of ciao>/ciao-4.13/ots/bin:$PATH rehash
This must be done before running configure.
Download the binary tarfiles to use the precompiled OTS
If you are building from source but wish to use the compiled OTS packaged with CIAO (e.g. the CIAO copy of Python), it is necessary to download both the source and binary files.
The $ASCDS_INSTALL/INSTALL_SOURCE instructions that are included in the CIAO distribution may be incomplete or out of date. The most up to date instructions are located in the Rebuilding CIAO 4.13 source with pre-built OTS binaries on Linux and Rebuilding CIAO 4.13 source with pre-built OTS binaries on OS X threads.
make or make install?
After running ./configure with the correct flags to setup for a source build users may, depending on the packages they downloaded, see a message about running make or make install. Users must run
unix% ./configure --with-fits --with-ascii ...etc... unix% make install
Building sherpa using pre-compiled XSPEC library requires same version of gfortran
Users building sherpa from source with the CIAO pre-compiled binary OTS packages (recommended) may run into a problem that the version of FORTRAN used to build XSpec must be the same as is used to build sherpa.
Specifically this means that sherpa must be built to link against libgfortran.so.3
Users may need to recompile the XSpec models library with the same version of gfortran.