trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2011

arts - CMake error: qiomanager_p.moc not generated

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 10 May 2011 21:53:47 -0500
Serghei,

   After building qt3 in a pristine build environment, I thought I would build 
the rest of trinity there while I had the chance. So far, the dependencies have 
built without issue:

trinity-qt3-3.3.8c-1-x86_64.pkg.tar.xz
trinity-pyqt3-3.18.1-9-x86_64.pkg.tar.xz
(poppler-qt3 still fails)
trinity-dbus-1-qt3-0.9-7.2-x86_64.pkg.tar.xz
trinity-tqtinterface-1230411-1-x86_64.pkg.tar.xz

   Building arts, I have run into another .moc file that isn't generated. This 
time it is qiomanager_p.moc. The build gets to 100% and then dies with:

[100%] Building CXX object qtmcop/CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o
cd /build/src/build/qtmcop && /usr/bin/c++   -Dqtmcop_shared_EXPORTS 
-DHAVE_CONFIG_H -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL 
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT 
-march=x86-64 -mtune=generic -O2 -pipe  -fPIC -I/opt/qt/include 
-I/opt/qt/include/tqt -I/build/src/build/qtmcop -I/build/src/build/mcop 
-I/build/src/arts/mcop   -include tqt.h -o 
CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o -c /build/src/arts/qtmcop/qiomanager.cc
/build/src/arts/qtmcop/qiomanager.cc:299:28: fatal error: qiomanager_p.moc: No 
such file or directory
compilation terminated.
make[2]: *** [qtmcop/CMakeFiles/qtmcop-shared.dir/qiomanager.cc.o] Error 1
make[2]: Leaving directory `/build/src/build'
make[1]: *** [qtmcop/CMakeFiles/qtmcop-shared.dir/all] Error 2
make[1]: Leaving directory `/build/src/build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
     Aborting...

   Checking the build directory -- no qiomanager_p.moc was every generated. 
Could you take a look and see if this is like the kdevelop issue :)

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