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 08-25-2004, 01:57 PM   #1
jabber4dummies
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
C Compiler problems in Fedora 2 Core


I am attempting to setup a jabber server to run on my fedora 2 core machine. The server I want to install gives me the error: C compiler cannot create executables. So I tried installing a couple different revisions of GCC. I get the error: You must set the enviorment variable CC to a working compiler. So I have to have a working compiler to install a compiler? This is my first real attempt at linux so anything would help even if it means switching to another version of linux. Thanks for your help!
 
Old 08-25-2004, 02:02 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Yup -- you need to have a C compiler installed to build gcc (since gcc is, itself, written in C). You're best bet is to install gcc via the RPMs that came on your installation CDs.
 
Old 08-25-2004, 02:56 PM   #3
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Well, no, on an rpm based distro like rh you can intsall gcc by rpm, or more simply by the upgrade install mechanizm on your install cd's. Look for the option "developement". Haven't used rh since 8.0, so I can't be more specific. Be advised that upgrading gcc alone to a newer version is a _bad_ idea, as there are many dependancy problems.

As to your original "gcc can't create executables" error, it is possible that it was an unusual permisions problem. Something often overlooked is that the partition containing the working directory (where you're compiling) must be mounted with the exec option.

Regards,
Kevin

Last edited by kevinalm; 08-25-2004 at 02:58 PM.
 
  


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
Fedora Core 3 Problems Flagrare Linux - Software 2 12-08-2005 03:51 AM
Problems with Fedora Core 1 mahfouz Fedora 3 11-16-2004 04:47 PM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 03:12 PM
Fedora Core 2 Problems gamehack Fedora 3 06-15-2004 02:48 AM
Fedora core 2 problems isso Fedora 5 02-15-2004 07:00 PM


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