LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2003, 08:20 AM   #1
toadbark
LQ Newbie
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Redhat 9.0, Mandrake 9.2
Posts: 22

Rep: Reputation: 15
compiler question...


I've tried to install a couple of programs, but when I enter "./configure",
I get the following message...

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
creating target.h - canonical system defines
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for gawk... (cached) gawk
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH

Any help is appreciated.
 
Old 05-31-2003, 08:34 AM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
It looks like you have no compiler installed or the environmental variable $PATH does not contain the path to the gcc.
Have you tried do 'configure' as root?
 
Old 05-31-2003, 08:38 AM   #3
toadbark
LQ Newbie
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Redhat 9.0, Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
...no I haven't.

I'll give that a shot.

Thanks.
 
Old 05-31-2003, 08:53 AM   #4
toadbark
LQ Newbie
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Redhat 9.0, Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
...hmmm...I get the same message...

Are there different compilers ?
How would I find and install one, or should there be one on my distro disk ?

( btw...thanks, dorian33, it was worth a try )
 
Old 05-31-2003, 09:03 AM   #5
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
generally almost everything (all general system and user utilities) should be installed as root;
regarding the RH9 (sorry, I don't remember too much :) look for .rpm file on your distro CDs with gcc in the name and just install it.
 
Old 05-31-2003, 09:09 AM   #6
toadbark
LQ Newbie
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Redhat 9.0, Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
Okay, I'll take a poke around on the CDs and see what I find.

Thanks.
 
Old 05-31-2003, 05:52 PM   #7
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
toadbark,
I am having a similar problem w/ my RH8 System. I have found an rpm called 'gcc-3.2-7.src.rpm' and have attempted to install it several times with 'rpm -ivf gcc-3.2-7.src.rpm'
My terminal echos 'gcc-3.2-7' and returns to the command prompt. However then I try to find it or try 'rpm -qa |grep gcc' it's not there? I also typed gcc -v and only get 'command not found'. I'm stumped. I did find the src rpm on my distro discs, so hopefully you will as well. Let me know if you make progress.
TIA
 
Old 05-31-2003, 06:01 PM   #8
toadbark
LQ Newbie
 
Registered: May 2003
Location: Ontario, Canada
Distribution: Redhat 9.0, Mandrake 9.2
Posts: 22

Original Poster
Rep: Reputation: 15
I ran "Add/Remove Applications", and enabled the default packages in "Developement Tools".
This (apparantly) installed the .gcc thingies.
Worked for me.

Good luck
 
Old 05-31-2003, 07:36 PM   #9
fataldata
Member
 
Registered: Jun 2002
Location: Breckenridge, Colorado
Distribution: Ubuntu Hardy 8.04
Posts: 101

Rep: Reputation: 15
Hate when i figure out my problem right after i post

Way to go toadbark,
I was rpm 'ing the src code for the compiler, instead of the binary for my RH version. Still working out some dependencies but I'm much closer.
 
  


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
A question on Perl compiler satimis Programming 1 12-13-2004 04:14 PM
SuSE: Compiler question revenge80200 Linux - Newbie 3 08-13-2004 02:09 PM
compiler question xviddivxoggmp3 Programming 2 03-15-2004 01:50 PM
gcc 3.1 compiler question wrc1944 Linux - Software 26 08-28-2002 04:10 PM
Compiler question [EMOBA] Linux - Software 4 05-28-2002 05:42 AM


All times are GMT -5. The time now is 10: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration