LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Facing problem in installing gcc (https://www.linuxquestions.org/questions/linux-software-2/facing-problem-in-installing-gcc-456036/)

zener 06-18-2006 06:02 PM

Facing problem in installing gcc
 
I've just got the .tar.bz2 pack of gcc-4.1. After extracting the pack and trying to configure this what I get:


Quote:

billy@ubuntu:~/gcc-4.1.0$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking build system type... i686-pc-linux-gnuoldld
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
What am I supposed to do? In the documentations said also something about building the software after configuring, how do I do that?

Mr. New 06-18-2006 06:51 PM

i think you need to have gcc installed to build it,
do you already have a older version installed?

zener 06-19-2006 07:43 AM

No, never had it before. How do I manage then to install this version?

Nylex 06-19-2006 07:46 AM

Get a pre-built binary for your distro. There should be one available on the CDs/DVD, or through the package manager.


All times are GMT -5. The time now is 07:44 PM.