trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: October 2011

Re: [trinity-devel] kdelibs svn 1260481 FTBFS

From: Darrell Anderson <humanreadable@...>
Date: Tue, 25 Oct 2011 13:56:53 -0700 (PDT)
> > Building on Slackware 13.1. GCC
> 4.4.4. Clean chroot build environment.
> >
> > Building to install to /opt/trinity.
> >
> > qt3, qca, qca-tls, tqtinterface, dbus-tqt, arts built
> without error.
> >
> > Log:
> >
> > http://humanreadable.nfshost.com/trinity/build_logs/kdelibs-3.5.13-i486-svn_1260481-build.log.gz
> >
> > The log contains environment variables.
> >
> > Darrell
> >
> 
> Looks like CMake didn't set your Qt include directory
> properly.  Can
> someone with more CMake experience than I have assist
> Darrell here?

I don't know how you decided that, but I won't pretend to understand the build log results. :)

The Qt include directory is /opt/trinity/lib/qt-3.3.8c/include. That path is part of the $CPLUS_INCLUDE_PATH environment variable (refer to the beginning of the build log to notice all environment variables).

I haven't tried building packages since spring therefore my build scripts could be at fault too.

My kdelibs build script cmake options:

  cmake ${SVN_SOURCES}/${PRGNAM} \
    -DCMAKE_C_FLAGS:STRING="$CPUOPT" \
    -DCMAKE_CXX_FLAGS:STRING="$CPUOPT" \
    -DCMAKE_INSTALL_PREFIX=${PREFIX} \
    -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \
    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
    -DMAN_INSTALL_DIR=${MANDIR} \
    -DQTDIR=$QTDIR \
    -DQT_LIBRARY_DIRS=${QTDIR}/lib \
    -DCMAKE_SKIP_RPATH=OFF \
    -DBUILD_ALL=ON \
    -DWITH_LIBART=ON \
    -DWITH_LIBIDN=ON \
    -DWITH_LUA=$LUA \
    -DWITH_TIFF=ON \
    -DWITH_JASPER=ON \
    -DWITH_OPENEXR=ON \
    -DWITH_UTEMPTER=ON \
    -DWITH_AVAHI=$DNSSD \
    -DWITH_ASPELL=ON \
    -DWITH_HSPELL=OFF


Darrell