Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-04-2002, 05:13 PM   #1
LQ Newbie
Registered: Aug 2002
Posts: 1

Rep: Reputation: 0
Unhappy [Compiling - building - Installing] Please Help

Hey guys,

Im new to linux been reading alot about administrating linux servers, the book im reading barely talks about compiling source codes.. They mostly talk about rpms packages.

Ive installed some rpms, and they work fine, but when it comes to source codes with (./Configure) I keep getting the same error.

The error is this..

[root@localhost gcc-3.1.1]# ./configure
Configuring for a i686-pc-linux-gnuoldld host.
Created "Makefile" in /home/unk/GCC/gcc-3.1.1 using "mt-frag"
./configure: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

Im trying to install GCC to see if i fix this problem, but seems to not even been able to install this compiler.

I would really appreciate if someone could hook me up with some complete tutorials about " Compiling , building and installing for newbies "
Everytime i read about this all i get is those big explanations of all the options and targets..

Please help me out so i can install some applications i need.

Thx a lot..

Old 08-04-2002, 05:46 PM   #2
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,531

Rep: Reputation: 132Reputation: 132
u can run
whereis gcc or
gcc -v
to see whether or not there is a c-compiler on board. if not look for binaries of gcc for your machine.
cheers, jens
Old 08-04-2002, 10:53 PM   #3
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
you need gcc, you can get it off or you if you have an rpm based system you can get it at


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
Compiling and Building where? matthewa Linux - General 7 06-24-2005 12:06 PM
building and compiling VCDImager-0.7.2 Kilahchris Linux - Software 0 05-17-2005 11:54 PM
Help with compiling/building RPM leisure Linux - Software 2 05-08-2005 11:18 PM
Building cross-compiling toolchain radhapriya Linux - Software 1 06-25-2004 12:01 AM
compiling / building the dvd+rw-tools- wahwah Linux - Newbie 3 10-19-2003 05:40 PM

All times are GMT -5. The time now is 03:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration