LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-11-2006, 06:00 PM   #16
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Original Poster
Rep: Reputation: 15

Quote:
Originally Posted by HappyTux
You need to use the same configure command as in my output above (./configure --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib/qt3) or it is not going to find what it needs.
That did it! Where did you find the info about the ./configure options? Are there more of these Debian specific exceptions and do you happen to know where I can find more info? I searched the internet for this qt problems but I didn't found the answer anywhere...( I know these are lots of questions but I really want to learn )
 
Old 10-11-2006, 06:32 PM   #17
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 64
Quote:
Originally Posted by erpe
That did it! Where did you find the info about the ./configure options? Are there more of these Debian specific exceptions and do you happen to know where I can find more info? I searched the internet for this qt problems but I didn't found the answer anywhere...( I know these are lots of questions but I really want to learn )
Those are not Debian specific they are general options you find them most times with ./configure --help or if necessary looking into the configure file itself to see what options are available. The answer to finding this problem is in the config.log file near the bottom when it fails.

Code:
configure:6461: checking for Qt
configure: 6525: /usr/lib/qt3/include/qstyle.h
configure: 6525: /usr/lib/qt3/qstyle.h
configure: 6525: /usr/lib/qt/include/qstyle.h
configure: 6525: /usr/lib/qt/qstyle.h
configure: 6525: /usr/local/qt/include/qstyle.h
configure: 6525: /usr/include/qt/qstyle.h
configure: 6525: /usr/include/qstyle.h
configure: 6525: /usr/X11R6/include/X11/qt/qstyle.h
configure: 6525: /usr/X11R6/include/qt/qstyle.h
configure: 6525: /usr/X11R6/include/qt2/qstyle.h
configure: 6525: ./qstyle.h
Here taking a couple of these and using apt-file search term/to/search you can see they are not in the right places to be found. afs=apt-file search

Code:
>$ afs /usr/lib/qt3/qstyle.h

>$ afs /usr/lib/qt3/qstyle.h

>$ afs /usr/lib/qt3/include/qstyle.h

>$ afs include/qstyle.h
Now using part of the file path of the error you come up with this showing you the path and package it is in.
Code:
>$ afs qt3/qstyle.h
libqt3-headers: usr/include/qt3/qstyle.h
Now since in the ./configure --help I seen the --with-qt-includes= option I used ./configure --with-qt-includes=/usr/include/qt3 and it still errored so looking at this line.
Code:
configure:6637: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -INO -I.  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/lib   conftest.C  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lresolv -lpthread 1>&5
You see it is looking for -L/usr/lib for the libraries in /usr/lib looking in that directory you see a qt3 directory and since there is an option --with-qt-libraries= to use with ./configure to tell it where the libraries are if not finding them you put the /usr/lib/qt3 with it to get your complete command to use for it to find what it needs.
 
Old 10-11-2006, 06:56 PM   #18
erpe
Member
 
Registered: Sep 2005
Distribution: OpenSuse 10.2
Posts: 114

Original Poster
Rep: Reputation: 15
Ok, now I understand the reasoning behind your advice. I am gonna print this out for future reference Thanks again!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP configure error: Cannot find libz ridertech Linux - Software 2 08-08-2008 11:14 PM
qt-mt not found error during configure Boomba Linux - Software 4 02-15-2005 05:06 PM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
configure: error: C++ preprocessor fails sanity check Guitarist88 Linux - Newbie 1 08-13-2004 04:23 AM
Configure error: QT not found marsonist Linux - Software 3 04-26-2004 01:48 AM


All times are GMT -5. The time now is 05:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration