Can't build ldas-tools-framecpp-swig on CIT (ldas-pcdev4)
I am trying to build the framecpp-swig package on the SL7 testing machine ldas-pcdev4.ligo.caltech.edu
, using the same instructions as in the spec file, as follows:
#!/bin/bash
set -e
set -x
BUILDDIR=$(mktemp -qd)
trap "{ popd; rm -rf $BUILDDIR; }" EXIT
pushd $BUILDDIR
wget http://software.ligo.org/lscsoft/source/ldas-tools-framecpp-swig-2.6.4.tar.gz
tar -xf ldas-tools-framecpp-swig-2.6.4.tar.gz
cmake3 \
-DENABLE_SWIG_PYTHON2=yes \
-DPYTHON2_EXECUTABLE=$(which python2.7) \
-DENABLE_SWIG_PYTHON3=yes \
-DPYTHON3_EXECUTABLE=$(which python3.4) \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_EXPORT_COMPILE_COMMANDS=1 \
-DCMAKE_INSTALL_PREFIX=${BUILDDIR}/inst \
ldas-tools-framecpp-swig-2.6.4
make install
My build fails because it can't find the header files:
Scanning dependencies of target frameCPP2_swig_compilation
[ 10%] Swig source
/local/duncan.macleod/tmp.1Us3BNkyMX/include/framecpp/DataTypes.i:30: Error: Unable to find 'ldastoolsal/types.hh'
/local/duncan.macleod/tmp.1Us3BNkyMX/include/framecpp/Dimension.i:44: Error: Unable to find 'framecpp/Dimension.hh'
/local/duncan.macleod/tmp.1Us3BNkyMX/ldas-tools-framecpp-swig-2.6.4/common/FrVect.i:199: Error: Unable to find 'framecpp/FrVect.hh'
/local/duncan.macleod/tmp.1Us3BNkyMX/ldas-tools-framecpp-swig-2.6.4/common/FrAdcData.i:46: Error: Unable to find 'framecpp/FrameCPP.hh'
What magic option can I provide to get /usr/include
included in the search path, I would have presume this to be default. Any help is greatly appreciated.