Chandra X-Ray Observatory (CXC)
Skip to the navigation links
Last modified: 7 December 2012

URL: http://cxc.harvard.edu/ciao/bugs/sourcebuild.html

Bugs: Building CIAO from Source


Table of Contents

Caveats


Caveats

pkg-config must be version 0.18 or newer

To find out the version on your system:

pkg-config --version

If it is older then 0.18 or is not installed, you can the pkg-config included with the CIAO OTS.

setenv PATH <location of ciao>/ciao-4.4/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.

Incompatible GCC compiler on Mac 10.7 (Lion)

Apple has upgraded the gcc compiler in the latest version of the developer toolkit from 4.2.1 to 4.4.1. This update impacts the source build of CIAO on Lion. Please contact the Helpdesk if you require assistance in building CIAO with the new compiler.

Building 32 bit CIAO on a 64 bit machine: if chips, transforms and crates fail to build

When performing a 32 bit build on a 64 bit machine, the chips, transforms and crates directories may fail to build. After running the configure command, the file src/include/Makefile.cxc needs to be updated to add the following two macro definitions which are necessary to compile the transforms, crates, and chips python modules:

CCFLAGS = -m32
FFLAGS = -m32

Last modified: 7 December 2012
CXC logo

The Chandra X-Ray Center (CXC) is operated for NASA by the Smithsonian Astrophysical Observatory. 60 Garden Street, Cambridge, MA 02138 USA.   Email: cxcweb@head.cfa.harvard.edu Smithsonian Institution, Copyright © 1998-2012. All rights reserved.