trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2014

Re: [trinity-devel] tdeutils FTBFS (cmake) Re: [trinity-devel] tdeutils - installing irkick.png icons off / directory?

From: Slávek Banko <slavek.banko@...>
Date: Wed, 5 Feb 2014 08:57:14 +0100
On Wednesday 05 of February 2014 01:37:17 David C. Rankin wrote:
> On 02/04/2014 01:22 PM, Darrell Anderson wrote:
> >>  Please confirm. Something in tdeutils 'make install' paths are
> >> broken and it
> >> is installing /hicolor/16x16/apps/irkick.png at that absolute path
> >> as well as
> >> the /locolor/16x16/apps/irkick.png. The same is true for the 22x22
> >> and 32x32
> >> icons for the same:
> >>
> >> /hicolor/16x16/apps/irkick.png
> >> /hicolor/22x22/apps/irkick.png
> >> /hicolor/32x32/apps/irkick.png
> >> /locolor/16x16/apps/irkick.png
> >> /locolor/32x32/apps/irkick.png
> >>
> >>
> >>  I'm building tdeutils without any strange patches:
> >>
> >>  cd ${srcdir}/${pkgname#*-}
> >>
> >>  # copy system libtool and ltmain scripts
> >>  cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
> >>  cp /usr/share/libtool/config/ltmain.sh ./admin
> >>
> >>  ## Generate config files and update with autoreconf
> >>  cd ${srcdir}/${pkgname#*-}
> >>  make -f admin/Makefile.common
> >>
> >>  ## configure
> >>  ./configure \
> >>    --prefix=${TDEDIR} \
> >>    --with-qt-dir=${QTDIR} \
> >>    --sysconfdir=${TDEDIR}/etc \
> >>    --localstatedir=/var \
> >>    --enable-debug=full \
> >>    --enable-closure
> >>
> >>  ## make $NUMJOBS
> >>  make $NUMJOBS
> >>
> >>  cd ${srcdir}/${pkgname#*-}
> >>  make -j1 DESTDIR="$pkgdir" install
> >>
> >> What got broke and where?
> >
> > Something in the tdeutils (whereever the irkick.png icons are
> > installed from) is not seeing your prefix configuration.
> >
> > BTW, I am using cmake for tdeutils.
> >
> >   rm CMakeCache.txt 2>/dev/null
> >   mkdir -p ${TMP}/${PRGNAM}.build
> >
> >   cd ${TMP}/${PRGNAM}.build
> >   cmake $SOURCES_ROOT \
> >     -DCMAKE_C_FLAGS:STRING="$CPUOPT" \
> >     -DCMAKE_CXX_FLAGS:STRING="$CPUOPT $DEBUG_CMAKE_OPT" \
> >     -DCMAKE_INSTALL_PREFIX=${PREFIX} \
> >     -DSYSCONF_INSTALL_DIR=${SYSCONFDIR} \
> >     -DLIB_SUFFIX=${LIBDIRSUFFIX} \
> >     -DMAN_INSTALL_DIR=${MANDIR} \
> >     -DWITH_DPMS=ON \
> >     -DWITH_XSCREENSAVER=ON \
> >     -DWITH_SNMP=ON \
> >     -DWITH_SENSORS=ON \
> >     -DWITH_XMMS=ON \
> >     -DWITH_KNEWSTUFF=ON \
> >     -DWITH_ASUS=ON \
> >     -DWITH_VAIO=ON \
> >     -DWITH_THINKPAD=ON \
> >     -DWITH_I8K=ON \
> >     -DWITH_POWERBOOK=OFF \
> >     -DWITH_POWERBOOK2=OFF \
> >     -DBUILD_ALL=ON || exit 1
>
> Darrell,
>
>   Switched to cmake and ...
>
> [  7%] Built target kedit-en-handbook
> make -f
> doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/build.make
> doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/depend
> make[2]: Entering directory '/build/tde-tdeutils/src/build'
> cd /build/tde-tdeutils/src/build && /usr/bin/cmake -E cmake_depends "Unix
> Makefiles" /build/tde-tdeutils/src/tdeutils
> /build/tde-tdeutils/src/tdeutils/doc/thinkpad /build/tde-tdeutils/src/build
> /build/tde-tdeutils/src/build/doc/thinkpad
> /build/tde-tdeutils/src/build/doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-
>handbook.dir/DependInfo.cmake --color=
> Scanning dependencies of target kcontrol-thinkpad-en-handbook
> make[2]: Leaving directory '/build/tde-tdeutils/src/build'
> make -f
> doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/build.make
> doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/build
> make[2]: Entering directory '/build/tde-tdeutils/src/build'
> /usr/bin/cmake -E cmake_progress_report
> /build/tde-tdeutils/src/build/CMakeFiles [  7%] Generating index.cache.bz2
> cd /build/tde-tdeutils/src/build/doc/thinkpad && /opt/trinity/bin/meinproc
> --check --cache index.cache.bz2
> /build/tde-tdeutils/src/tdeutils/doc/thinkpad/index.docbook
> index.docbook:16: parser error : Entity 'tde-team' not defined
> <corpauthor>&tde-team;</corpauthor>
>                       ^
> index.docbook:25: parser error : Entity 'tde-team' not defined
> <holder>&tde-team;</holder>
>                   ^
> index.docbook:54: parser error : Entity 'tde-team' not defined
> Submitting a basic text file is acceptable as the &tde-team; will convert
> the te ^
> doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/build.make:57:
> recipe for target 'doc/thinkpad/index.cache.bz2' failed
> make[2]: *** [doc/thinkpad/index.cache.bz2] Error 1
> make[2]: Leaving directory '/build/tde-tdeutils/src/build'
> CMakeFiles/Makefile2:474: recipe for target
> 'doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/all' failed
> make[1]: ***
> [doc/thinkpad/CMakeFiles/kcontrol-thinkpad-en-handbook.dir/all] Error 2
> make[1]: Leaving directory '/build/tde-tdeutils/src/build'
> Makefile:119: recipe for target 'all' failed
> make: *** [all] Error 2

You need tdelibs at least 52b494dc:

Slavek
--