trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

tdeaddons & tdegames build fails at start - missing .moc files??

From: "David C. Rankin" <drankinatty@...>
Date: Thu, 22 Mar 2012 22:18:17 -0500
All,

  I am trying to build the applications requiring autoconf/libtool and I have
hit a wall. I was able to build tdeutils, but with both tdeaddons and tdegames I
experience build failures due to missing .moc files. I have had to use:

autoreconf --force --install

  before ./configure, but that just cleans up the version mismatch of libtools.
The big problem is missing .moc files. Examples:

make[4]: Entering directory
`/build/src/tdeaddons/kaddressbook-plugins/xxports/kworldclock'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../.. -I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-I/opt/trinity/include/tde  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long
-Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts
-Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64
-mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
-D_FORTIFY_SOURCE=2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT geo_xxport.lo -MD -MP -MF
.deps/geo_xxport.Tpo -c -o geo_xxport.lo geo_xxport.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -I/opt/trinity/include/tde
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -MT geo_xxport.lo -MD -MP -MF .deps/geo_xxport.Tpo -c
geo_xxport.cpp  -fPIC -DPIC -o .libs/geo_xxport.o
geo_xxport.cpp:114:26: fatal error: geo_xxport.moc: No such file or directory
compilation terminated.
make[4]: *** [geo_xxport.lo] Error 1
make[4]: Leaving directory
`/build/src/tdeaddons/kaddressbook-plugins/xxports/kworldclock'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/src/tdeaddons/kaddressbook-plugins/xxports'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/tdeaddons/kaddressbook-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/tdeaddons'
make: *** [all] Error 2

and

make[3]: Entering directory `/build/src/tdegames/libtdegames/highscore'
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..
-I/opt/trinity/include -I/opt/tqt3/include -I. -include tqt.h
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
-Wpointer-arith -fno-builtin -g3 -fno-inline -march=x86-64 -mtune=generic -O2
-pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common -I/usr/include/tqt
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -MT kconfigrawbackend.lo -MD -MP -MF
.deps/kconfigrawbackend.Tpo -c -o kconfigrawbackend.lo kconfigrawbackend.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/trinity/include
-I/opt/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT
-Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline
-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -I/usr/include/tqt -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT kconfigrawbackend.lo -MD -MP
-MF .deps/kconfigrawbackend.Tpo -c kconfigrawbackend.cpp  -fPIC -DPIC -o
.libs/kconfigrawbackend.o
kconfigrawbackend.cpp:21:33: fatal error: kconfigrawbackend.moc: No such file or
directory
compilation terminated.
make[3]: *** [kconfigrawbackend.lo] Error 1
make[3]: Leaving directory `/build/src/tdegames/libtdegames/highscore'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/src/tdegames/libtdegames'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/src/tdegames'
make: *** [all] Error 2

  I have searched the source and there are no .moc files to include. Is a qmake
call missing in my build? My build for each is basically:

  cp /usr/share/aclocal/libtool.m4 ./admin
  cp /usr/share/libtool/config/ltmain.sh ./admin

  cd ${srcdir}/${pkgname#*-}

  make -f admin/Makefile.common

  autoreconf --force --install

  ## configure
  msg "Configuring - ${pkgname}..."
  ./configure \
    --prefix=${TDEDIR} \
    --with-qt-dir=${QTDIR} \
    --with-qt-includes=${QTDIR}/include \
    --with-qt-libraries=${QTDIR}/lib \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --enable-debug=full \
    --enable-closure

  make

  What do I seem to be missing?

-- 
David C. Rankin, J.D.,P.E.