Re: [SLE] im always having compile problems with SuSE
David McGlone wrote:
On Friday 08 June 2001 07:27 am, you wrote:
James Ogley wrote:
On my machine /usr/lib/qt points to QT1 and /usr/lib/qt2 point the the QT-2 Maybe yours too.
If that is the case, the configure script for whatever software it is you're trying to build might take a flag like --with-qt=/path/to/qt which would reference the path to the QT libraries
./configure --help normally lists most if not all the available flags
Being a little more specific then:
try --with-qt-dir=/usr/lib/qt2
Regards Mark
Thanks all who replied, sure enough my qt directory was qt2 but now I am having just one more problem. I am getting:
"configure: error: The important program kde-config was not found! Please check whether you installed KDE correctly".
do you think I could be getting this error because I used "--prefix=/opt/kde2"
here's the whole line I used:
./configure --with-qt-dir=/usr/lib/qt2 --prefix /opt/kde2
I always believed kde2 was in /opt
The file kde-config is from the kdelibs package. Is in installed? "rpm -q kdelibs" should show kdelibs-2.1.2-0 or kdelibs-2.1.1-?. If it is then I would suggest in addition to using --prefix=/opt/kde2 there is should be an option for specifying either the kdelibs/kdedirs or something like --extra-libs/--extra-includes and point them to /opt/kde2/lib and /opt/kde/include..... Mark Mark
participants (1)
-
Mark Hounschell