trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] Odd tdelibs build error

From: Darrell Anderson <humanreadable@...>
Date: Mon, 16 Jan 2012 11:33:29 -0800 (PST)
> > I just posted a tdelibs FTBFS
> error a few messages back. I decided to run
> > the build again with NUMJOBS=-j1. This time I did not
> receive the same
> > tdelfeditor errors. This time I received the following
> errors:
> <snip>
> 
> Make sure that CMake detected native TQt3 during the
> initial stages of the
> build.  Also make sure that you are not executing some
> other moc binary,
> e.g. from Qt3 or Qt4.

Okay, but I'm not sure what you seek. From the tdelibs build log:

-- checking for one of the modules 'tqt'
--   tmoc path: /usr/bin/tmoc
--   moc path: /opt/trinity/lib/tqt3-R14.0.0/bin/moc
--   uic path: /opt/trinity/lib/tqt3-R14.0.0/bin/uic

I installed tqt3 /opt/trinity. I installed tqtinterface to /usr.

When I run in parallel build mode, in addition to the previous errors, I see this:

In file included from /dev/shm/tdelibs/tdefx/kstyle.cpp:2370:
/dev/shm/tdelibs.build/tdefx/kstyle.moc: In static member function 'static TQMetaObject* KStyle::staticMetaObject()':
/dev/shm/tdelibs.build/tdefx/kstyle.moc:54: error: 'QCommonStyle' has not been declared
/dev/shm/tdelibs.build/tdefx/kstyle.moc: In member function 'virtual void* KStyle::qt_cast(const char*)':
/dev/shm/tdelibs.build/tdefx/kstyle.moc:72: error: 'QCommonStyle' has not been declared
/dev/shm/tdelibs.build/tdefx/kstyle.moc: In member function 'virtual bool KStyle::qt_invoke(int, TQUObject*)':
/dev/shm/tdelibs.build/tdefx/kstyle.moc:77: error: 'QCommonStyle' has not been declared
/dev/shm/tdelibs.build/tdefx/kstyle.moc: In member function 'virtual bool KStyle::qt_emit(int, TQUObject*)':
/dev/shm/tdelibs.build/tdefx/kstyle.moc:82: error: 'QCommonStyle' has not been declared
/dev/shm/tdelibs.build/tdefx/kstyle.moc: In member function 'virtual bool KStyle::qt_property(int, int, TQVariant*)':
/dev/shm/tdelibs.build/tdefx/kstyle.moc:88: error: 'QCommonStyle' has not been declared
cd /dev/shm/tdelibs.build/tdecore && /usr/bin/cmake -E cmake_symlink_library libtdefakes.so.4.2.0 libtdefakes.so.4 libtdefakes.so

Darrell