I'm feeling pretty stupid again. Is it my imagination or, when I click
on Konqueror under Internet as a web browser or click on the Web Browser
desktop icon, the Location toolbar is missing and nowhere to be found.
If I open Konqueror as a file browser and switch the view to web
browser, the Location bar is there as expected. Thanks - John
OK,
2 steps forward 3 steps back. I've rebuilt tqtinterface to install in /opt/qt
consistent with Qt3-3.3.8c and all executables are there:
14:52 archangel:/dat_e/david/bld/trinity/kdelibs> ls -1 /opt/qt/bin/
assistant
convert_qt_tqt1
convert_qt_tqt2
convert_qt_tqt3
dcopidl-tqt
dcopidl2cpp-tqt
dcopidlng-tqt
designer
linguist
lrelease
lupdate
mcopidl-tqt
moc
moc-tqt
qm2ts
qmake
qt3config
qtconfig
tmoc
tqt-replace
tqt-replace-stream
uic
uic-tqt
The tqt.h header is in /opt/qt/include/tqt:
15:20 archangel:/dat_e/david/bld/trinity/kdelibs> l /opt/qt/include/tqt/tqt.h
-rw-r--r-- 1 root root 57672 Feb 1 12:06 /opt/qt/include/tqt/tqt.h
arts built fine with:
trinity_prefix="/opt/trinity"
./configure --prefix=${trinity_prefix} \
--includedir=${trinity_prefix}/include/kde \
--mandir=${trinity_prefix}/share/man \
--infodir=${trinity_prefix}/share/info \
--with-extra-libs=${trinity_prefix}/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=${trinity_prefix}/lib/kdebase-kde3 \
--with-qt-dir=/opt/qt \
--with-qt-includes=/opt/qt/include \
--with-qt-libraries=/opt/qt/lib \
--disable-rpath
cd ${srcdir}
cmake ../ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DWITH_QT3=ON \
-DCMAKE_SKIP_RPATH=ON
make
but now kdelibs fails saying it can't find tqt.h? The error is:
Good - your configure finished. Start make now
-- Found x86 architecture
-- Found Cups: /usr/lib/libcups.so
-- Configuring done
-- Generating done
-- Build files have been written to: /dat_e/david/bld/trinity/kdelibs/src
[ 1%] Built target kICE-static
[ 1%] Building CXX object dcop/CMakeFiles/DCOP-shared.dir/dcopstub.cpp.o
cc1plus: fatal error: tqt.h: No such file or directory
compilation terminated.
make[2]: *** [dcop/CMakeFiles/DCOP-shared.dir/dcopstub.cpp.o] Error 1
make[1]: *** [dcop/CMakeFiles/DCOP-shared.dir/all] Error 2
make: *** [all] Error 2
Aborting...
It found it fine when tqtinterface used -DCMAKE_INSTALL_PREFIX=/usr. Googling,
I tried 'export CMAKE_PREFIX_PATH=/opt/qt', but that made no difference. I have
adjusted the ./configure options a number of times even specifying
'--with-extra-includes=/opt/qt/include/tqt' to explicitly point to where tqt.h
is installed, but still no joy. I was using the following on the last attempt:
trinity_prefix="/opt/trinity"
./configure --prefix=${trinity_prefix} \
--includedir=${trinity_prefix}/include/kde \
--mandir=${trinity_prefix}/share/man \
--infodir=${trinity_prefix}/share/info \
--with-extra-libs=${trinity_prefix}/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=${trinity_prefix}/lib/kdebase-kde3 \
--with-qt-dir=/opt/qt \
--with-qt-includes=/opt/qt/include \
--with-qt-libraries=/opt/qt/lib \
--with-extra-includes=/opt/qt/include/tqt \
--disable-rpath
cd ${srcdir}
cmake ../ \
-DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
-DWITH_QT3=ON \
-DCMAKE_SKIP_RPATH=ON
make
Any ideas on how to get kdelibs to find tqt.h? Configure finished fine, but
here is the config.log in case it hold clues:
http://www.3111skyline.com/dl/dt/trinity/errors/kdelibs-config.log.bz2
Any help will be greatly appreciated.
--
David C. Rankin, J.D.,P.E.
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.
All,
What is the current thinking of compiling kdebase '--with-pam'? The README
lists the option:
`--with-pam[=ARG]'
enable support for PAM: ARG=[yes|no|service name]
According to the README, the --with designation implies that it is OFF by
default. Is this functionality desired in trinity? I ask, because I don't know
whether it is enabled on my current kde3 install, but if it is useful, I want
it :)
What say the gurus?
--
David C. Rankin, J.D.,P.E.
All,
I have built and installed tqtinterface on Arch and I'm attempting to build
arts and I receive the following error:
<snip>
checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
checking for moc... /opt/qt/bin/moc
checking for uic-tqt... not found
configure: WARNING: No Qt ui compiler (uic) found!
Please check whether you installed Qt correctly.
You need to have a running uic binary.
configure tried to run and the test didn't
succeed. If configure shouldn't have tried this one, set
the environment variable UIC to the right one before running
configure.
Looking at my tqtinterface build directory, I find:
22:27 archangel:~/arch/pkg/trinity-notes/tqtest> find . -name "uic*"
./src/qtinterface/.svn/text-base/uic-tqt.svn-base
./src/qtinterface/.svn/prop-base/uic-tqt.svn-base
./src/qtinterface/uic-tqt
so uic-tqt got built, but apparently was not included by 'make install' into the
Arch package I created.
The tqtinterface package installed as follows:
22:15 archangel:~/arch/pkg/trinity-notes/arts> pacman -Ql tqtinterface
tqtinterface /usr/
tqtinterface /usr/bin/
tqtinterface /usr/bin/convert_qt_tqt1
tqtinterface /usr/bin/convert_qt_tqt2
tqtinterface /usr/bin/convert_qt_tqt3
tqtinterface /usr/bin/dcopidl-tqt
tqtinterface /usr/bin/dcopidl2cpp-tqt
tqtinterface /usr/bin/dcopidlng-tqt
tqtinterface /usr/bin/mcopidl-tqt
tqtinterface /usr/bin/moc-tqt
tqtinterface /usr/bin/tmoc
tqtinterface /usr/bin/tqt-replace
tqtinterface /usr/bin/tqt-replace-stream
tqtinterface /usr/include/
tqtinterface /usr/include/tqt/
tqtinterface /usr/include/tqt/Qt/
tqtinterface /usr/include/tqt/Qt/q3cstring.h
<snip>
but no uic-tqt interface. So it looks like this is a file I will need to
manually tell the Arch makepkg app to include in the package. Easy enough to do,
but:
"Where is 'uic-tqt' supposed to get installed to?" Which directory does it go in?
--
David C. Rankin, J.D.,P.E.
All,
After what appeared to be a successful build and install of kdelibs, I moved on
to configure kdebindings (I remembered --enable-closure). During the configure with:
trinity_prefix="/opt/trinity"
./configure --prefix=${trinity_prefix} \
--includedir=${trinity_prefix}/include/kde \
--mandir=${trinity_prefix}/share/man \
--infodir=${trinity_prefix}/share/info \
--with-extra-libs=${trinity_prefix}/lib \
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=${trinity_prefix}/lib/kdebase-kde3 \
--disable-rpath \
--enable-closure
I received the following error:
<snip>
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.
If you did install kdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings.
Aborting...
Huh? I did install kdelibs, and I didn't do anything (that I know of) to have it
use some other Qt, so I'm a bit stumped. I did install kdelibs as
trinity-kdelibs (if that matters - I'll check the provides() line), but the
package is installed:
00:33 archangel:/dat_e/david/bld/trinity/kdelibs/pkg> pacman -Q trinity-kdelibs
trinity-kdelibs 1218332-1.0
The full file list for the package is here:
http://www.3111skyline.com/dl/dt/trinity/filelists/kdelibs-filelist.txt
Any idea of what file isn't being located when UIC is checking for KDE plugins?
At least that way I can look and see if I have what it needs. Thanks.
--
David C. Rankin, J.D.,P.E.
I thought I had this sorted, but alas no...
The arts ./configure is failing to find TQt and issuing the following warning:
<snip>
checking for Qt... libraries /opt/qt/lib, headers /opt/qt/include using -mt
checking for moc... /opt/qt/bin/moc
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!
The configure completes successfully, but I'm concerned about the warning.
Looking at 'configure' itself, it seems to adjust for this with:
if ${kde_cv_tqt+:} false; then :
$as_echo_n "(cached) " >&6
else
<do other stuff>
So is this Warning OK? Obviously, Trinity isn't installed yet, so I suspect
that is producing the warning, but I want to check to make sure there isn't
something I need to fix before proceeding.
cmake completes fine on arts :)
--
David C. Rankin, J.D.,P.E.
Tim, All,
Just dropping a note to let you know I started a Trinity wiki page for Arch
Linux on the Arch wiki:
https://wiki.archlinux.org/index.php/Trinity
It is still in it's infancy, but there has been notable interest shown from the
user list. Once I'm through filling in the gaps, we can add a link here under
the distro specific information if you like. Cheers!
--
David C. Rankin, J.D.,P.E.