trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

[SOLVED]Re: [trinity-devel] tdmtheme FTBFS - tdmtheme.cpp:385:24: fatal error: tdmtheme.moc: No such file or directory

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 25 Jan 2014 23:52:05 -0600
On 01/25/2014 09:07 PM, David C. Rankin wrote:
> All,
> 
>   The error is correct. There is no tdmtheme.moc anywhere to be found. What is
> supposed to create the .moc file?
> 
>   I tried every variation of "make" "qmake" etc.. The full error is:
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I/opt/trinity/include
> -I/opt/tqt3/include -I. -include tqt.h -I/usr/include/tqt -I/usr/include/tqt/Qt
> -DQT_THREAD_SUPPORT -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wno-long-long -Wundef
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W
> -Wpointer-arith -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
> --param=ssp-buffer-size=4 -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -I/usr/include/tqt -MT tdmtheme.lo -MD -MP -MF .deps/tdmtheme.Tpo -c
> tdmtheme.cpp  -fPIC -DPIC -o .libs/tdmtheme.o
> tdmtheme.cpp:385:24: fatal error: tdmtheme.moc: No such file or directory
>  #include "tdmtheme.moc"
> 
> 
> 

  msg "Copying system libtool files...."
  cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
  cp /usr/share/libtool/config/ltmain.sh ./admin

  msg "Running make -f admin/Makefile.common ...."
  make -f admin/Makefile.common

#   autoreconf --force

  Removing the "autoreconf --force" from the configure prep solved the problem.
I guess at some point in the past it was required to build kdmtheme, but it
appear no longer needed.

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