LinuxQuestions.org
Visit Jeremy's Blog.
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 04-23-2005, 06:12 PM   #1
TempleOwl1999
LQ Newbie
 
Registered: Feb 2005
Posts: 21

Rep: Reputation: 15
installing gcc on fedora core 2


Like all newbies I need help. I am using Fedora Core 2.

Trying to install xvidcore-1.1.0 but it's telling me:
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to use default CFLAGS... yes
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.

Ok fine so I read some archived threads from linux question.org and discovered that I need to install gcc ok so I did download gcc 4.0 and got this message after ./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
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

Ok so now I'm confused because I am trying to install gcc and it's telling me that it cant find gcc?!

How do I install gcc properly? Couldn't find a previous thread that discusses this problem for red hat 8.0,9.0 or fedora core 2.

Please provide answers in steps if I may be so demanding.
 
Old 04-23-2005, 06:23 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,467

Rep: Reputation: 153Reputation: 153
"Ok so now I'm confused because I am trying to install gcc and it's telling me that it cant find gcc?!"

You need a compiler to install a program from source. You can also install a program binary. In FC2 the binary programs come in rpm packages. So find the FC2 binary rpm package for gcc and install that. Then you will have gcc available to install other programs from source if you want to.

You will have gcc available on your FC2 install CD. Install that first. Then you can use that gcc to compile your gcc version 4 source.


-----------------------
Steve Stites
 
Old 04-23-2005, 11:18 PM   #3
TempleOwl1999
LQ Newbie
 
Registered: Feb 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Ok first thing is after FC2 CD #1 is read I can select either upgrade an existing installation or Install Fedora Core.
I chosed to upgrade.
Then the machine starts to read package info.
Then the machine starts transfering image to HD
Then the machine asks for CD #3. I give it what it wants
Then it reads something from the CD and it tells me that everything was succesful and reboot. I never had an option to select other packages for installation.

So what I did was do a gogle search and I found gcc-3.4.2.tar.gz.
I dowmloaded it.
I uncompressed it using gzip -d gcc-3.4.2.tar.gz
I ran the tar using tar xvf gcc-3.4.2.tar
I then changed th directory to gcc-3.4.2
I then did ./configure
Then all hell broke loose
I get this message:

[root@246 gcc-3.4.2]# ./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.

What do I do now and what is this message teling me?

Last edited by TempleOwl1999; 04-23-2005 at 11:19 PM.
 
Old 04-23-2005, 11:31 PM   #4
morneo
Member
 
Registered: Mar 2005
Location: New York
Distribution: FC3
Posts: 39

Rep: Reputation: 15
Talking

Why dont you try installing synaptic and than try installing gcc through synaptic. It will be a lot easier cos it will install any missing files and dependencies too.

You can download the synaptic package from here
http://dag.wieers.com/home-made/apt/packages.php

you might need apt package too which is also found at the above website. Once you install synaptic everything is damn easy.

By the way did you graduate from temple philadelphia?
 
Old 04-24-2005, 10:58 AM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,467

Rep: Reputation: 153Reputation: 153
" what is this message teling me?"

It is telling you that you are trying to install the source for a program and you do not have gcc installed to do compiles with. It is the same problem as your original post. You cannot installl a tar.gz package or a source rpm until you have installed a binary rpm containing gcc.

-------------------------
Steve Stites
 
Old 04-24-2005, 04:03 PM   #6
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
The easiest way I know of to install gcc, and pretty much anything for that matter, is to use Yum. Yum works fine in Fedora Core 3, and I'm sure there is an older version for Fedora Core 2. Go to www.fedorafaq.org, download the yum.conf file and place it in /etc. You can get a summary of the commands you can use by opening the terminal and typing "yum" To install gcc 3.4 for FC3, I simply typed in the terminal "yum install gcc" Yum will resolve all dependicies and download all the necessary libraries for the install.
 
Old 04-24-2005, 05:04 PM   #7
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
Apt or yum will work. The best apt package is from Fedora themselves and it can be downloaded from fedora.us. Its preconfigured for use with the version of Fedora you are using as well as for updates. When you have downloaded and installed apt, you can then install gcc, by doing
Code:
#apt-get mirror-select
#apt-get update
#apt-get install gcc
You may also want to install the gui frontend to apt, called synaptic, by doin as root
Code:
#apt-get install synaptic
 
Old 04-24-2005, 09:16 PM   #8
TempleOwl1999
LQ Newbie
 
Registered: Feb 2005
Posts: 21

Original Poster
Rep: Reputation: 15
Hey (guys/gals) Thanks for the info! I will assess your tips when I return back to my Linux System on Thursday 4/28/05. I have work related training from Monday - Wednesday out of state.

I dont know what happened to my system now. I shut down last night then rebooted this morning and my system choked!

I get this message:

drm:i830_wait_ring*Error*lockup*space*131056 wanted 131064

Any one know what the message above is telling me? Or should I start a new thread?

Morneo, I graduated from Temple University; Philadelphia, USA; BSEE May 1999.
 
Old 12-14-2006, 05:29 AM   #9
pardhan
LQ Newbie
 
Registered: Nov 2006
Posts: 1

Rep: Reputation: 0
hello sir i have such tpye of problum in my pc


Quote:
Originally Posted by TempleOwl1999
Hey (guys/gals) Thanks for the info! I will assess your tips when I return back to my Linux System on Thursday 4/28/05. I have work related training from Monday - Wednesday out of state.

I dont know what happened to my system now. I shut down last night then rebooted this morning and my system choked!

I get this message:

drm:i830_wait_ring*Error*lockup*space*131056 wanted 131064

Any one know what the message above is telling me? Or should I start a new thread?

Morneo, I graduated from Temple University; Philadelphia, USA; BSEE May 1999.
 
Old 12-14-2006, 06:04 AM   #10
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Your X-Window system (XFree probably) is too old, this has been corrected in newer versions.
 
  


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
GCC 2.95.3 won't compile, Fedora Core 4 x86_64 slantoflight Linux - Software 3 08-31-2005 07:21 PM
Fedora Core 4 bad gcc? sausagejohnson Fedora 7 07-05-2005 09:12 AM
GCC For Fedora Core 3 TwiztedTom Linux - Software 2 05-09-2005 05:38 AM
muddle with gcc libraries on fedora core 1 markhod Linux - Software 1 11-04-2004 04:15 PM
gcc-3.3.3 install trouble for fedora core 1 linusbox Linux - Software 1 03-25-2004 04:42 PM


All times are GMT -5. The time now is 10:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration