Click to See Complete Forum and Search --> : Qt3 error
DancesWithCows
10-23-2002, 04:51 PM
Okay so I KNOW i have Qt3 installed, and I have the kde-dev packages installed as well as the kernel source. My problem is when I got to compile some prog from source using the tar.gz, when I got to run ./configure when it gets to the part of checking qt it gives me that error that says qt (version #) not found or some such nonsense along those lines. I had qt working at one point but I had to reinstall Mandrake 9.0 (the distro I am using now) due to a lack of foresight in my partitioning setup. Any clues what I can do to get Qt3 working?
sasKuatch
10-23-2002, 08:11 PM
do you have qt-dev-whatever installed?
DancesWithCows
10-23-2002, 08:17 PM
suuuuuuuuuuuure do! I recall seeing a thread that solvd my problem about this before just two days ago ( reinstalled last night), however I cannot seem to find it again. lol oh well.
sasKuatch
10-23-2002, 08:28 PM
do other programs (that come with mandrake and use qt) run?
DancesWithCows
10-24-2002, 07:50 PM
Well see I dont know which progs in KDE that use Qt. However when I specifically point to Qt via the ./configure --with-qt-dir=/usr/lib/qt3 it goes trhough but only as root, then I run into KDE header and libraries missing error....and I am certain that I have those installed as well! When I use the rpm installer in the KDE desktop I do a search for ANYTHING with KDE in it and all I have left to install is the language packs LOL. This is VERY annoying as I prefer to install from source and I cannot due so because of this.
sasKuatch
10-24-2002, 08:38 PM
Well, pretty much all programs with a k in front of them, such as ktop, kppp, k*** use qt and kde libs.
Can you post the error messages, please? Along with the whole thing so I can see what it's finding and what it's not.
Sorry, it's taking me a while, I don't have linux box for reference, and I'm not all that adept:)
Wallex
10-24-2002, 09:13 PM
You installed Qt correctly? I remember it requires more than what the usual software installation does... and I hope you did not forget to include thread support as it is a requirement for most programs. The installation instructions for Qt (which you should have there somewhere) explain more in detail... I remember I had to add some lines to my .xsession or one of my session management startup files. Even if those error messages you get when compiling make no sense to you, they might make sense to us... so don't be afraid to post the last few lines (the ones that explain the error).. they might be able to tell us what's going on better than what you understand.
DancesWithCows
10-25-2002, 08:41 PM
Okay I apologize for the incompletness of the error but I am doing it from my memory. I have no 'net connection from my house and I do all my 'net stuff here at my sisters. (man am I ghetto!! lol) and I cannot leave right now due to my ever wonderfully entertaining 4 year old nephew lol. Here goes:
checking for Qt... configure: error: Qt (>= Qt 3.0.2) (headers and
libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
however when I run ./configure witht he --with-qt-dir=/usr/lib/qt3 flag it goes through untill it looks for KDE headers and libs then it gives me a error saying that KDE cannot compile small apps, and look to my installation
DancesWithCows
10-26-2002, 11:28 PM
Bump??
DancesWithCows
10-27-2002, 07:39 PM
I could really use some help with this. ;)
mdwatts
10-27-2002, 07:55 PM
Got the KDE development packages installed?
rpm -qa | grep kde
You may need one, some or all of these
kdelibs-devel
kdelibs#
kdelibs#-devel
kdelibs#-devel-static
Replace # with the KDE version you are running.
DancesWithCows
10-27-2002, 08:05 PM
Thank you mdwatts. I will give that a go, and let you know how it turns out.
DancesWithCows
10-28-2002, 06:21 PM
Okay I have pretty much EVERYTHING with a kde in it installed except the language packs lol. I really have no clue as to what to do next as I still cannot compile anything with qt from source.
sasKuatch
10-28-2002, 09:40 PM
You're sure you have libqt-devel installed? As well as all the other libqt packages?
DancesWithCows
10-29-2002, 06:29 PM
Oh I am quite certain of that seeing that I can select Qt Linguist and what not in KDE...not only that but I just installed last night pretty much EVERY single lib* lol....I only get qt compile errors when it seems the prog is looking for older versions of qt like 2.2 and down. *shrugs*
sasKuatch
10-29-2002, 09:10 PM
have you tried running ./configure with the --with-qt-dir=/usr/lib/qt3 AND --with-kde(orwhatever)-dir=/usr/path/to/kde/headers ?
I ask this because you said it didn't complain about missing qt when you passed it that option, and am wondering if doing that for kde wouldn't also help?