Will do, I also just built it with:
cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX=/usr \
-DLIBGSF_INCLUDE_DIR="/usr/include/libgsf-1;/usr/include/glib- 2.0;/usr/lib/glib-2.0/include;/usr/include/libxml2"
My build script configuration:
SLKCFLAGS="$SLKCFLAGS `pkg-config libgsf-1 --cflags`" SLKCFLAGS=" -D_FILE_OFFSET_BITS=64 $SLKCFLAGS"
mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ ..
Darrell
On 01/15/2014 10:07 PM, Darrell Anderson wrote:
My build script configuration:
SLKCFLAGS="$SLKCFLAGS `pkg-config libgsf-1 --cflags`" SLKCFLAGS=" -D_FILE_OFFSET_BITS=64 $SLKCFLAGS"
That fixed the FTBFS - Why the FILE_OFFSET_BITS=64?? There is no way file size exceeds (2<<31)-1 bits??