Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
"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.
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.
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.
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.
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83
Rep:
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.
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
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!
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.