Skip to the navigation links
Last modified: 21 September 2010

URL: http://cxc-newtest.cfa.harvard.edu/ciao4.2/bugs/sourcebuild.html

Bugs: Building CIAO from Source


Caveats

  1. UI tools (peg, prism, taskmonitor, or chips) (15 Dec 2008)
    (FC4, CentOS)

  2. 64 bit machine: if chips, transforms and crates fail to build (15 Dec 2008)

  3. 64 bit machine: if sherpa fails to build (15 Dec 2008)


Caveats

  1. UI tools (peg, prism, taskmonitor, or chips) (15 Dec 2008)
    (FC4, CentOS)

    When building from source on FC4, the ui tools (peg, prism, taskmonitor, or chips) may encounter gtk/pango/cairo dependency issues. This may be cleared up by adding the following two libraries to GTK_LIBS and GTKGL_LIBS in src/include/Makefile.cxc:

    -lpng -lpangoft2-1.0
    

    When building on CentOS it has been observed that following libaries need to be added to GTK_LIBS and GTKGL_LIBS:

    -lexpat -lpng -lpangoft2-1.0
    
  2. 64 bit machine: if chips, transforms and crates fail to build (15 Dec 2008)

    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
    
  3. 64 bit machine: if sherpa fails to build (15 Dec 2008)

    When performing a 32 bit build on a 64 bit machine, if sherpa fails to build with errors such as:

    <...>/ots/include g2c_library_dir=/usr/lib ./ build
    Could not locate executable /usr/bin/gfortran -m32
    Found executable /usr/bin/g77
    gnu: no Fortran 90 compiler found
    gnu: no Fortran 90 compiler found
    gnu: no Fortran 90 compiler found
    gnu: no Fortran 90 compiler found
    invalid command name './'
    make: *** [build] Error 1
    

    The problem is that G2C_LIB_DIR is currently getting set to multiple paths and the extra paths are being interpretted as commands. You can work around this by editing the src/pkg/sherpa/Makefile to change the line

    G2C_LIB_DIR=$(patsubst %/bin/,%/lib,$(dir $(F95)))
    

    to

    ## G2C_LIB_DIR=$(patsubst %/bin/,%/lib,$(dir $(F95)))
    G2C_LIB_DIR=/usr/lib
    

    where G2C_LIB_DIR is set to the first value specified after g2c_library_dir in the build line containing "g2c_library_dir=<paths> build".


Last modified: 21 September 2010