LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 11-22-2004, 05:06 PM   #1
FireHawk321
LQ Newbie
 
Registered: Nov 2004
Location: Ontairo
Posts: 8

Rep: Reputation: 0
./configure... ARG!


I use Mandrake 10.1 CE and have almost never had to install from source (that includes the days from MDK 9 and MDK 10); I have always used RPM's. Recently, I found an image viewer, KSquirrel, and it only come in source form. I tried configure and I got an error about C++ (gcc). I fixed that with some packages. So I try again. This time the configuration runs a lot longer and I receive an error about my X files. I later found the problem and fixed it with another package. Now, I receive an error about my Qt files. The error is: "checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers and libraries) not found. Please check your installation!". I am assuming that I need to update my Qt files or use ones below 3.1 (I got that number from the error message). I have tried many Qt packages, libs, devels, ect and have not gotten any further.
Any ideas are greatly appreciated
Thanks
 
Old 11-22-2004, 05:11 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what qt do you have installed?

rpm -qa | grep -i qt

if anything, it wants a newer version, not an older one, but 3.1 is plenty old now, so you either haven't got it installed at all (are you a gnome user instead of kde?) or it's only really looking for the -devel header pacakges not the raw libraries.
 
Old 11-22-2004, 05:52 PM   #3
FireHawk321
LQ Newbie
 
Registered: Nov 2004
Location: Ontairo
Posts: 8

Original Poster
Rep: Reputation: 0
When I entered in your command, this is what I received:

libqt3-3.3.3-23mdk
qt3-common-3.3.3-23mdk
qt-3.3.3-8

When I type "urpmi qt" I receive "Everything already installed." I have also tried directing ./configure to the qt root dir and lib dir ($ ./configure --with-qt-libraries=/usr/lib/qt3 as well as: $ ./configure --with-qt-libraries-dir=?/usr/lib/qt-3.3).

I am using KDE 3.3.2.

Thanks for the speedy reply, acid.
 
Old 11-22-2004, 06:17 PM   #4
Redeye2
Member
 
Registered: Feb 2004
Posts: 489

Rep: Reputation: Disabled
You should get the devel packages besides the regular ones. Those provides interfaces for compiling programs that need them.
 
Old 11-22-2004, 07:29 PM   #5
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47
You will probably need to install the Mandy rpm libqt3-devel-3.3.3-26mdk .rpm from your installation media. It includes all the header files and library symlinks for compiling applications with QT. It's an inherent problem with Mandy in that if you don't specifically ask it to install packages for development, they aren't installed by default. Similar problem here .
 
Old 11-22-2004, 08:36 PM   #6
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Gawd again the hard way when it's so simple with Mandrake...

Set your URPMI sources: http://www.zebulon.org.uk/urpmi_en.html

Then

urpmi nameofpackage-src.rpm

URPMI will notice which developement libs are missing (even though it will ultimately be unable to install a source package...) and download and install the ALL for you!

Finally

rpm --rebuild nameofpackage-src.rpm

Look for the built rpm in /usr/src/RPM/RPMS/i586/
 
Old 11-22-2004, 11:14 PM   #7
totti10
Member
 
Registered: Oct 2004
Posts: 52

Rep: Reputation: 15
Did you solved ur problem fire? I have some problem like you.
My problem
 
  


Reply



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
arg. checking help in a script kirmet Programming 12 09-12-2005 01:02 AM
Sendmail. Arg. iroxa Linux - Software 0 05-18-2004 07:17 PM
ls -al|grep <arg>|wc Pacemaker Linux - Software 1 04-24-2004 09:36 AM
arg[] linuxanswer Programming 6 12-05-2003 08:27 PM
arg Sleel Linux - Software 0 02-03-2002 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 04:38 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
Open Source Consulting | Domain Registration