On Fri, 9 Dec 2011 15:12:15 -0800 (PST)
Darrell Anderson <humanreadable(a)yahoo.com> wrote:
amordialog.cpp:35:26: fatal error: amordialog.moc: No such
file or directory
compilation terminated.
"which moc" gives "/usr/qt/3/bin/moc", for what it's
worth.
Hopefully somebody here more qualified than me answers, but where did you install Qt3?
Most of us here have been setting $PREFIX to /opt/trinity and avoid installing anything
other than tqtinterface to /usr. TQtinterface is the only package that is installed to
/usr. If you have the old Qt3 from KDE3 installed to /usr, or Qt4 installed, which
defaults to /usr/qt, and the environment variables reflect that location, then none of the
other packages find the correct Trinity qt3.
QT3.3.8d is the only version of QT installed in my test VM. It's at
/usr/qt/3, but if its location were the problem, I'd be expecting the build to
fail while testing for QT in the configure phase, which it never has.
Furthermore, the Makefile for the failed compile has:
MOC = /usr/qt/3/bin/moc
QT_INCLUDES = -I/usr/qt/3/include -include tqt.h
QT_LDFLAGS = -L/usr/qt/3/lib -ltqt
qt_includes = /usr/qt/3/include
qt_libraries = /usr/qt/3/lib
so it doesn't seem likely that it's failing to find anything.