On Tuesday 19 March 2002 1:27 pm, Keith Antoine wrote: > I have a small problem on redoing the compiles that some of them cannot > find: checking for Qt... configure: error: Qt (>= Qt 3.0.2) (library qt-mt) > not found. Please check your installation! > > Locate finds: > /usr/lib/qt3/lib/libqt-mt.prl > /usr/lib/qt3/lib/libqt-mt.so.3.0.2 > /usr/lib/qt3/lib/libqt-mt.so > /usr/lib/qt3/lib/libqt-mt.so.3 > /usr/lib/qt3/lib/libqt-mt.so.3.0 > > Have a path in ls.so.conf to /use/lib/qt3/lib but its still failing.
I guess that QTDIR hasn't been set correctly (is still pointing to /usr/lib/qt2) when you are doing the kde compiles. I don't know how you are doing the compiles but I find it easiest to use a bash script so that I don't have to type the commands in by hand and forget something when I am doing it. It also means that you can run the script from within kde 2 without any problems... ------------------------snip---------------------- #!/bin/bash # buildkde3 srcdir=/mnt/bkup/CVSKDE3 #Where the source code is, #Change it to suit your setup QTDIR=/usr/lib/qt3 KDEDIR=/opt/kde3 PATH=$QTDIR/bin:$KDEDIR/bin:$PATH LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH export QTDIR KDEDIR PATH LD_LIBRARY_PATH # uncomment one of the following to compile just that module pkgs="kdesupport" #pkgs="arts" #pkgs="kdelibs" #pkgs="kdebase" #pkgs="kdeutils" #pkgs="kdegraphics" #pkgs="kdenetwork" #pkgs="kdeadmin" #pkgs="kdemultimedia" #pkgs="kdeartwork" #pkgs="kdeaddons" # or to compile more than one module do something like #pkgs="kdesupport arts kdelibs kdebase" cfgopts="--disable-debug --with-qt-dir=$QTDIR \ --with-qt-headers=$QTDIR/include\ --with-qt-libraries=$QTDIR/lib --prefix=$KDEDIR \ --with-ssl-dir=/usr/include/openssl" mk="-k" #so it keeps on compiling other stuff after a problem for i in $pkgs; do cd $srcdir/$i echo -e "Doing $i ....." echo -e "Doing make -f Makefile.cvs for $i" make -f Makefile.cvs echo "Doing configure $cfgopts $i" ./configure $cfgopts echo -e "make $mk $i" make $mk echo -e "Doing make $mk install $i" make $mk install echo -e "$i done" done ------------------------snip---------------------- HTH Pam -- Linux Step by Step (UK mirror): http://www.pam.roberts.btinternet.co.uk/sxs/ _______________________________________________ Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.