Message: previous - next
Month: July 2012

[kdm/tdm Re-naming Issue] Re: [trinity-devel] tdmtheme - ftbfs - fatal error: tdmtheme.moc: No such file or directory

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 20 Jul 2012 15:57:37 -0500
On 07/15/2012 01:01 AM, David C. Rankin wrote:
> All,
>   tdmtheme is failing at the beginning of make with:
> make[2]: Entering directory `/build/src/kdmtheme/src'
> /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 -MT tdmtheme.lo
> -MD -MP -MF .deps/tdmtheme.Tpo -c -o tdmtheme.lo tdmtheme.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 -MT tdmtheme.lo -MD -MP -MF .deps/tdmtheme.Tpo -c
> tdmtheme.cpp  -fPIC -DPIC -o .libs/tdmtheme.o
> tdmtheme.cpp:344:24: fatal error: tdmtheme.moc: No such file or directory
> compilation terminated.
>   What is supposed to generate tdmtheme.moc and where is it supposed to be
> located once it is generated properly?

If you look at the error above (it took me a while to clue in), the package
being built is kdmtheme from the applications/kdmtheme source, but for some
reason the build is looking for '' and isn't going to find it
because this is 'kdmtheme'...

It looks like a kdm->tdm sed went awry...  Where/how to fix??

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