LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 12-25-2004, 10:04 AM   #1
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Rep: Reputation: 15
C compiler?


Well i think i need a c compiler, I have installed FC3 and i noticed my sound aint working, I googled a bit and found something about alsa drivers, but when doing ./configure i get

[firedance@dhcppc1 alsa-driver-1.0.7]$ ./configure
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
See `config.log' for more details.

So i googled a bit moore and the results made me think i needed gcc, Downloaded that and when doing ./configure in gcc i got

[root@dhcppc1 gcc-3.4.3]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

So, now im wondering where to get a compiler for FC3 and set the 'environment variable CC'
Thanks.
 
Old 12-25-2004, 10:35 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
As you have discovered, you can't compile a compiler unless you already have a compiler. Since you're using fc, try downloading the gcc binary rpm's. You'll probably have some dependencies to resolve.
 
Old 12-25-2004, 10:48 AM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
You might have more luck with yum than downloading seperate RPMs.

Try 'yum install gcc'

Dave
 
Old 12-25-2004, 03:28 PM   #4
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Original Poster
Rep: Reputation: 15
thanks, now i just gotta get the sound working. Wonder if i should post a new topic
 
Old 12-25-2004, 03:55 PM   #5
GT_Onizuka
Member
 
Registered: Aug 2003
Location: Atlanta
Distribution: Debian, OS X
Posts: 711

Rep: Reputation: 30
Quote:
Originally posted by firedance
thanks, now i just gotta get the sound working. Wonder if i should post a new topic
You might want to check out the HCL and see if anyone has a specific solution about how to get sound working with your card.
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 01:35 PM
C++ IDE+Compiler?Java IDE+compiler? Boby Linux - Software 3 05-31-2005 02:12 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 05:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 06:32 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 08:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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