kplayer ./configure error
Hi all,
I was trying to install kplayer on my machine and I got this error: checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (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! So I downloaded and installed qt-x11-free-3.1.2 (at least I'm pretty sure installed properly, no error messages to speak of) and when I try to ./configure kplayer again, it still gives me the same error. While I am a Linux newbie, it's very possble that I am doing something wrong (haha). Perhaps I have I need to edit a config file or relocate a directory, or something of that nature. Tried to fix the problem before I asked, but to no avail. Any suggestions? Thanks all, Bill |
there are a few possibilities here, how did you configure and install qt ( what commands did you use, it's one of those packages that needs the right commands to function).
a couple of other possibilities are you built qt without thread support ( bad), or you haven't exported the necessary environmental variables for the system to pick up qt ( namely QTDIR needs to point back to the qt installation root). |
Hi, __J,
Well, before I did anything, I created the .profile file with the following: QTDIR=/usr/local/qt PATH=$QTDIR/bin:$PATH MANPATH=$QTDIR/doc/man:$MANPATH LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH as the INSTALL readme said. Then I put the file in my home directory and in root's home directory, as I wasn't sure which "home" directory it was referring to. Then I renamed the directory containing the qt files (qt-3.1.2) to "qt" and put it in usr/local. I then issued the following: .configure make make install I didn't think I had done everything correctly, but I didn't get any error messages until I actually tried to ./configure kplayer and got the same error message as before. Here were a couple things in the INSTALL readme that I didn't understand, that may have made a difference: On AIX set LIBPATH and on HP-UX set SHLIB_PATH instead of LD_LIBRARY_PATH. and At this point you have binaries created in $QTDIR (eg. $QTDIR/lib/ contains libqt.so). If, however, you would like to have your Qt installed in a non-local installation you can run configure with options splitting Qt into different areas for example: ./configure -libdir /usr/local/lib -bindir /usr/local/bin -headerdir /usr/local/include/qt I hope I have been thorough enough. If you want, I can post the whole readme, it not that long. As far as thread support, I'm starting to think that maybe I didn't. Sorry I'm such a newbie :). Anyway, let me know what you think, and I appriciate your help. Thanks, Bill |
you will need more than that for kde to be able to use qt. something like this ( in the qt source directory):
Code:
bash then, as root open up /etc/profile and add these lines somewhere in the file: Code:
export QTDIR=/opt/qt-3 heres a little more in depth how-to: http://lfs.osuosl.org/blfs/view/stable/x/lib.html#qt |
Hey, man, thanks alot. I appriciate it. Let me absorb everything and I'll let you know if it works. Still a newbie, so it might take me a while, lol.
Thanks again, Bill :) |
All times are GMT -5. The time now is 01:33 AM. |