LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   qt 3 problem (https://www.linuxquestions.org/questions/linux-newbie-8/qt-3-problem-133518/)

286 01-10-2004 06:38 PM

qt 3 problem
 
while i was installing chm_viewer on my pc and running ./configure

it said:

............
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for pthread_create in -lpthread... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for libjpeg6b... no
checking for libjpeg... -ljpeg
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.


i m using suse9pro. my qt is definitely 3! thus, i ran ./configure ---with-qt-dir=/usr/lib/qt3/

well... the same result came out again. what's wrong with it? can you help pls...thx very much!
:newbie:

DrOzz 01-10-2004 07:14 PM

well is it actually located at /usr/lib/qt3? or is it something like /usr/lib/qt-3.1 or whatever ... ? also you may have a couple of qt directories there, in case you did an upgrade or for whatever reasons, so are you sure you selected the right one when ya passed that argument?
worse comes to worse, manually edit the configure script and manually type in where your qt directory is, after you search and find in the script where it is, and fix it that way...

286 01-10-2004 07:28 PM

i m sure there is only one qt3 under /usr/lib/ directory. i used find command to try to search all the qt files. this is the only one which contian "qt" key words under /usr/lib/ . thanks for your kindly help.

286 01-12-2004 03:44 PM

anyone knows? help pls~~~~~~

Tinkster 01-12-2004 03:48 PM

Maybe you need to install the qt-dev-package,
too? Qt3's shared libs may be installed (otherwise
KDE wouldn't work) but you probably don't have
the headers ... those aren't required unless you
compile KDE/Qt software from source.

Try
locate qt | grep \/include\/
If it gives you lots of files with a
.h extension you have them ;)


Cheers,
Tink

286 01-12-2004 03:58 PM

oh yeah. u refered my another question: i don't have a "locate" command in my machine. what do i need to install for it to work? ..... sorry for my idiot question. but i have no way. thanks!

Tinkster 01-12-2004 04:42 PM

Well, I haven't touched a SuSE machine in ages.
I'd assume that on your CD's there's a package
called slocate - install that, and off you go ;)


Cheers,
Tink


All times are GMT -5. The time now is 08:16 AM.