Hmm...
I'm beginning to suspect that I have tqtinterface installed in the wrong
place. I build tqtinterface with:
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_QT3=ON \
-DCMAKE_SKIP_RPATH=ON || return 1
And I have built arts and kdelibs with:
cmake ../ \
-DCMAKE_INSTALL_PREFIX=/opt/trinity \
-DWITH_QT3=ON \
-DCMAKE_SKIP_RPATH=ON
make
kdelibs built OK, but both kdebase and kdebindings (not needed I know) fail
during ./configure with:
checking for uic-tqt... /usr/bin/uic-tqt
checking whether uic supports -L ... yes
checking whether uic supports -nounload ... yes
checking if TQt is available... no
configure: WARNING: You are attempting to compile Trinity without the Trinity
Qt Interface installed. Please install libtqtinterface-dev and try again!
checking if Qt needs -ljpeg... no
checking for rpath... no
checking for KDE... libraries /opt/trinity/lib, headers /opt/trinity/include
checking if UIC has KDE plugins available... no
configure: error:
you need to install kdelibs first.
I do have kde4 on this box with qt 4.7.1-3 which installs to /usr, so I then
tried the following configure options with kdebase:
--with-qt-dir=/usr/bin \
--with-qt-includes=/usr/include/tqt \
--with-qt-libraries=/usr/lib \
Which caused the following ./configure error:
checking for libjpeg... -ljpeg
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt)
not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
Hmm... again... Looking where qt-mt got installed, I find:
2:52 providence:~/arch/pkg/trinity/dependencies/tqtinterface> find /opt/qt/
-name "*qt-mt*"
/opt/qt/lib/libqt-mt.so.3
/opt/qt/lib/pkgconfig/qt-mt.pc
/opt/qt/lib/libqt-mt.so
/opt/qt/lib/libqt-mt.so.3.3.8
/opt/qt/lib/libqt-mt.so.3.3
/opt/qt/lib/libqt-mt.prl
which are the new qt3-3.3.8c libraries.
I then rebuilt tqtinterface to go in /opt/qt. But then remaking arts failed
not finding Qt again. Grrr....
I then rebuilt tqtinterface with PREFIX=/usr. But now when I'm back to square
one and kdebase, ./configure fails...
So, what's the solution?
Should I remake tqtinterface with -DCMAKE_INSTALL_PREFIX=/opt/qt and then try
adjusting the --with-qt... options for all remaining packages? Is there an
environment variable trick I can try?
What say the experts?
--
David C. Rankin, J.D.,P.E.