LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-14-2003, 07:21 PM   #1
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Rep: Reputation: 15
./configure cant find a compiler


Im sort of a newb, but I'm trying to compile a program, but when I do the ./configure command it tells me

checking for cc... no
checking for gcc... no
configure: error: no acceptable C compiler found in $PATH

at the end of a long list of checks.

Do I have to download a new compiler?
do I have to move this folder to a specific area before compiling?
 
Old 10-14-2003, 07:25 PM   #2
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
download gcc from here
http://gcc.gnu.org/
 
Old 10-14-2003, 07:45 PM   #3
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
I downloaded the binary from there, but It's a weird file type Redhat 9 apparently doesnt know how to deal with. it has the extension .rpm4.tar.Z

what do I do to get this open?
 
Old 10-14-2003, 07:52 PM   #4
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
try this ftp link
ftp://mirrors.rcn.net/pub/sourceware...ses/gcc-3.3.1/
 
Old 10-14-2003, 07:52 PM   #5
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Get the Redhat package instead. It's on the CD-ROMs. You will probably have to install a lot of other packages gcc depends on in order to get a functional build environment.

If you don't have the CD's you can get it here: http://ftp.redhat.com/pub/redhat/lin...2.2-5.i386.rpm

Håkan
 
Old 10-14-2003, 07:55 PM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
linuXBOX, are you trying to help or are you just being smart? Obviously he would need a compiler to compile the source for gcc, so going with a pre-packaged version (rpm) should be a lot easier.

Håk
 
Old 10-14-2003, 08:02 PM   #7
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
that's my bad i totally forgot about that, I seriously am trying to help or I wouldn't have replied to the thread in the first place.
 
Old 10-14-2003, 08:10 PM   #8
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
LOL, here I am... downloading the file, and then when I unpack it Im thinking.. wait. Don't I need to compile this? How do I do that when this is the compiler!?!?! I came back here see what was going on and then I saw those posts.

anyway, no hard feelings, it was pretty funny when I realized it.

So where is the file on the cds?
 
Old 10-14-2003, 08:22 PM   #9
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
ok, I found the file on the second cd, and it's (thankfully) an rpm, but when I try to run it, it says it's checking for package dependencies and shows a staus bar, but when the bar runs out, it just sort of gives up. Nothing happens
 
Old 10-14-2003, 08:44 PM   #10
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
I've found the gui rpm to be very touchy and irritating...try it from a command line

su
password
rpm -ivh -v "FILENAME"
(the double v gives more verbose information)

After it finishes, you can try to install it again and it should say "so-and-so is already installed".
 
Old 10-14-2003, 09:10 PM   #11
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
wow, people weren't kidding when they said it was difficult to install things on linux...

oh well, whatever it takes, right?
 
Old 10-14-2003, 09:13 PM   #12
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
Once you get adjusted to linux, it becomes less and less difficult. It's like everything in this world!
 
Old 10-14-2003, 10:00 PM   #13
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
oh boy, it's getting mighty convoluted now...

Let's go to the replay:

gcc-c++-3.2.2-5.i386.rpm wont run because it needs libstdc++-devel-3.3.1-6
libstdc++-devel-3.3.1-6.i386.rpm wont run because it needs libstdc++-3.3.1-6
libstdc++-3.3.1-6.i386.rpm wont run because it needs libgcc_s.so.1(GCC_3.3)
I'm not sure where to get that last file, but a hunch I have is that it's in this: libgcc-3.3.1-1.i386.rpm
however that won't run do to this error message: file /lib/libgcc_s.so.1 from install of libgcc-3.3.1-1 conflicts with file from package
libgcc-3.2.2-5


um... yeah.


Any suggestions? is there an rpm somewhere that maybe... I dont know... includes ALL of the files it requires to be installed?

Last edited by habitue; 10-14-2003 at 10:04 PM.
 
Old 10-14-2003, 10:15 PM   #14
linuXBOX
Member
 
Registered: Jul 2003
Location: Stuart,FL
Distribution: Fedora Core 3 and Slackware 10.0
Posts: 179

Rep: Reputation: 30
are those files in the disc? if so rpm all at once...
 
Old 10-14-2003, 10:22 PM   #15
habitue
Member
 
Registered: Oct 2003
Location: Sarasota, FL
Distribution: Gentoo
Posts: 40

Original Poster
Rep: Reputation: 15
nope, I had to find them on RPM search... maybe some of the RPMs on the disk contain the files that I need, but I have no way of knowing.. also, I dont know how to rpm everything at once off the disk, and even if I did, I wouldn't want everything on the disk taking up my drive with stuff Ill never use... what did you do to get a compiler on your system? Did you have to go through this? did it get installed with the OS? what am I doing wrong here...

btw.. continuing this neverending chain of RPMs leads me (perhaps not too surprisingly) to find out that the end file that is required, requires one of the earlier files that depends on it. It's some big wacky loop of neverending headaches and logical impossibility...

Last edited by habitue; 10-14-2003 at 10:24 PM.
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
GCC 3.4.1 configure script needs CC compiler? battousai9439 Linux - Software 11 12-24-2004 01:33 PM
I am in a trouble between ./configure apache2 and c compiler babyboss Slackware 6 10-21-2004 08:57 AM
C compiler when running configure mr_a_ali Linux - General 9 08-18-2004 07:29 AM

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

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