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-16-2003, 04:51 AM   #1
B1TW1SE
LQ Newbie
 
Registered: Mar 2002
Location: Midlands, UK
Distribution: RedHat 9, Slackware 9.1, Fedora core 2
Posts: 23

Rep: Reputation: 15
./configure problem with apollon on RH 9 -> cannot find QT headers and libraries


Mighty Linux gurus, please help a poor unforutunate who is really trying to dump windoze.

I have downloaded the source for gift and comilied and installed that with no problems. I have also downloaded and compiled giFTcurs for use with gift and that works a treat.

The problem is I really want to use apollon, from everything I have seen it is simply the best interface. When I run a ./configure on apollon I get the above error ( not EXACTLY but I am away from the offening machine at the moment ) I have checked that I have qt 3.1 ( rpm -q ). I have found various suggestions about using --qt-libraries=blah/blah/blah options but none of those seemed to work.

It seems to me that the ./configure is attempting to verify the existance of certain files ( what files exatly, the names might be handy ) and cannot locate them.

Can anyone cast some light on this?

Thanks in advance.
 
Old 10-16-2003, 05:56 AM   #2
IsNoGood
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
You'll need the source rpm's for qt installed.It's the same thing like qt-3.1-blah.rpm just with a src between the blah and rpm like this: qt-3.1-blah.src.rpm
 
Old 10-16-2003, 06:47 AM   #3
B1TW1SE
LQ Newbie
 
Registered: Mar 2002
Location: Midlands, UK
Distribution: RedHat 9, Slackware 9.1, Fedora core 2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks, I'll give that a try.

I;ve just compiled everything on my slackware box and it worked fine first time.

Grr.
 
Old 10-16-2003, 07:10 AM   #4
IsNoGood
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
All those rpm distros don't put any source packages in a regular install anymore.Most don't even install gcc by default.
 
Old 10-17-2003, 05:18 AM   #5
B1TW1SE
LQ Newbie
 
Registered: Mar 2002
Location: Midlands, UK
Distribution: RedHat 9, Slackware 9.1, Fedora core 2
Posts: 23

Original Poster
Rep: Reputation: 15
Well, that didn't work. I installed qt-devel-3.1.1-6.src.rpm and it still wont compile. Still comes back with cannot find qt headers and libraries error.

Any more advice?
 
Old 10-17-2003, 05:56 AM   #6
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
try:

Code:
./configure --includedir=/opt/qt/include/
btw: the qt headers are about 350 files that start with 'q' and end with '.h', so you could...

Code:
locate q*.h
If it starts listing a bunch of files like:
Code:
/opt/qt/include/q1xcompatibility.h
/opt/qt/include/q1xcompatibility.h
/opt/qt/include/qabstractlayout.h
/opt/qt/include/qabstractlayout.h
/opt/qt/include/qaccel.h
/opt/qt/include/qaccel.h
/opt/qt/include/qaccessible.h
/opt/qt/include/qaction.h
/opt/qt/include/qaction.h
...
..then you know your qt headers are in /opt/qt/include/
 
Old 10-17-2003, 06:05 AM   #7
B1TW1SE
LQ Newbie
 
Registered: Mar 2002
Location: Midlands, UK
Distribution: RedHat 9, Slackware 9.1, Fedora core 2
Posts: 23

Original Poster
Rep: Reputation: 15
Cheesrs, I'll give that a #!/bin/bash
 
Old 10-17-2003, 06:09 AM   #8
IsNoGood
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
I checked with my config.status file and that are the references to qt I found for my install:

s,@qt_libraries@,/usr/qt/3/lib,;t t
s,@qt_includes@,/usr/qt/3/include,;t t
s,@QT_INCLUDES@,-I/usr/qt/3/include,;t t
s,@QT_LDFLAGS@,-L/usr/qt/3/lib,;t t

and this in the config.log:

QT_INCLUDES='-I/usr/qt/3/include'
QT_LDFLAGS='-L/usr/qt/3/lib'

Hope that helps.
 
Old 10-17-2003, 06:46 AM   #9
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
IsNoGood: you're using gentoo right? That's where they install qt. Pretty sure RH puts it in /opt/qt though....
 
Old 10-17-2003, 06:53 AM   #10
IsNoGood
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
Yeah - I figured that would help him to see what he is looking for as in qt3/include and qt3/lib.Sorry if that led to confusion.
 
Old 10-17-2003, 07:00 AM   #11
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
he he, no worries, I was just wondering, because what you posted is where my qt headers are...I just dont think it is where B1TW1SE's will be
 
Old 10-17-2003, 07:03 AM   #12
IsNoGood
Member
 
Registered: Oct 2003
Posts: 67

Rep: Reputation: 15
Yeah one of the things that make Linux easier - putting lib's and headers all over the place depending on the distro.
 
Old 10-17-2003, 06:20 PM   #13
dotT
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 17

Rep: Reputation: 0
Try the rpm.
 
Old 10-17-2003, 07:31 PM   #14
dotT
LQ Newbie
 
Registered: Sep 2003
Location: UK
Distribution: Mandrake 9.2
Posts: 17

Rep: Reputation: 0
ooopz
I just tried the rpm and the install failed complaining about giFT not being installed, but it is! Thats probably cos I compiled giFT.
Anyway Apollon is working now after compiling it instead.
This may help...

To get ./configure to work with qt make sure you have this in your .bashrc -
export QTDIR=/usr/lib/qt3

Also I have installed these rpm's from my distro disks -
libqt3
libqt3-common
libqt3-devel
 
  


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
Need help setting right environment variables:configure scripts can't find libraries. z-vet Linux - Newbie 4 08-16-2004 05:10 PM
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found Guitarist88 Linux - Newbie 2 08-13-2004 12:15 PM
KDevelop cannot find QT headers and libraries?! mscollins1 Programming 1 04-10-2004 04:12 PM
Apollon ./configure problem LuvDaPenguin Linux - Software 3 03-10-2004 08:58 PM
gaim configure can't find ssl libraries shanenin Linux - Software 2 10-18-2003 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:11 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration