LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-04-2002, 06:13 PM   #1
unk
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..
.:unk:.


 
Old 08-04-2002, 06:46 PM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
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, 11:53 PM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
you need gcc, you can get it off ftp://ftp.gnu.org/gnu/gcc or you if you have an rpm based system you can get it at http://rpmfind.net
 
  


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

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

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