LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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-30-2003, 02:38 AM   #1
twilightened
LQ Newbie
 
Registered: Oct 2003
Location: Mumbai
Distribution: KDE
Posts: 9

Rep: Reputation: 0
./configure


I am using

KDE version 3.0.3.8 Red Har

Release 2.4.18-24.8.0

Machine i686.


when I run ./configure in a terminal , the terminal says

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@nishith alsa-driver-0.4.1e]#

I have

gcc-3.2.2-5.i386.rpm
gcc-c++-3.2.2-5.i386.rpm
gcc-g77-3.2.2-5.i386.rpm
gcc-gnat-3.2.2-5.i386.rpm
gcc-java-3.2.2-5.i386.rpm
gcc-objc-3.2.2-5.i386.rpm

Can I use any of these files to load compiter on my system. If yes, how.. Go to the terminal and ....???


twilightened
 
Old 10-30-2003, 02:54 AM   #2
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
it looks like the program you're looking for is looking for gcc2.96 or something. try going to red hat and downloading and installing the gcc 2.96 packages. or you can try to set the CC option in configure to something like:

./configure CC=gcc3

but i maybe way off on that. installing multiple versions of gcc should be fine though as the binaries and files are named differently. i've got 2 versions of gcc installed - 2.96 and 3.1
 
Old 10-30-2003, 05:33 AM   #3
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
It's not finding the compiler at all, so you'll need to install it. You can either find the files in Konqueror and double-click on them or you can type:
rpm -i packagename.rpm
at the terminal. If you get any dependency errors, you may need to install other packages too. "rpm -i" uses the RedHat package manager (RPM) and the "-i" sets it to install. If you want more help about the other options available, use "man rpm".
You should just need gcc-3.2.2-5.i386.rpm to start off with, but you should really install gcc-c++-3.2.2-5.i386.rpm afterwards so that you can compile programs that need c++.
Hope this helps
Guy
 
Old 10-30-2003, 01:08 PM   #4
twilightened
LQ Newbie
 
Registered: Oct 2003
Location: Mumbai
Distribution: KDE
Posts: 9

Original Poster
Rep: Reputation: 0
OK...I don't want to rush into this, so I did better ask at every step.

1) I run rpm -i gcc-3.2.2-5.i386.rpm and the error I get is,

error: Failed dependencies:
binutils >= 2.12.90.0.7-1 is needed by gcc-3.2.2-5
cpp = 3.2.2-5 is needed by gcc-3.2.2-5
glibc-devel >= 2.2.90-12 is needed by gcc-3.2.2-5
libgcc >= 3.2.2-5 is needed by gcc-3.2.2-5
[root@nishith gcc]#

2) What files should I now run to complete this.


3) What is the order in which I should run these files.


Twilightened.
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 07:39 AM
ardour wont configure: configure: error: C preprocessor "/lib/cpp" fails sanity check disciple061 Linux - Software 4 01-22-2005 01:35 PM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 02:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 11:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM

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

All times are GMT -5. The time now is 02:03 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