LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora - Installation (https://www.linuxquestions.org/questions/fedora-installation-39/)
-   -   installing gcc 4.0.1(binaries) (https://www.linuxquestions.org/questions/fedora-installation-39/installing-gcc-4-0-1-binaries-366303/)

naveenu 09-23-2005 12:09 PM

installing gcc 4.0.1(binaries)
 
gcc is not installed in my system;so i got from a CD-> GCC 4.0.1(gcc-4.0.1.tar.bz2);
bunzipped it(in /home/naveen/as/gcc-4.0.1).
Now I am not able to install it; when i type ./configure --prefix=/usr/local,
it gives error 'building in source directory is not supported in this version'.
Please give me the descriptive steps to install it.

WhatsHisName 09-23-2005 11:59 PM

Why not use an rpm?

For FC4, gcc-4.0.1-4.fc4.i386.rpm is available at :

http://download.fedora.redhat.com/pu...pdates/4/i386/

or from one of the fedora mirrors:

http://fedora.redhat.com/download/mirrors.html

naveenu 09-28-2005 05:51 AM

the rpm you said i downloaded it ;now it says it cannot install because it cannot find glibc-devel 2.3.5-10.
Should i install it to;what additional thing i need to install.
Also is the rpm---> glibc-devel 2.3.5-10.i386.rpm different from glibc-devel 2.3.5-10.3.i386.rpm.
Plz explain

WhatsHisName 09-28-2005 09:37 AM

Why not let yum do the heavy lifting?

Try:

yum install gcc*

If yum runs into an unresolved dependency problem, then use yum to install the dependency and then use it to install gcc.


All times are GMT -5. The time now is 12:39 PM.