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)
(15 Dec 2011)
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 executables on Mac.
The Mac defaults to building 64 bit executables. If you would like to build 32 bit executables on the Mac, you need to set the following variables before running configure:
setenv CFLAGS -arch i386 setenv CXXFLAGS -arch i386 setenv CCFLAGS -arch i386 setenv FFLAGS -arch i386
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

![[CIAO Logo]](../imgs/ciao_logo_navbar.gif)