LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   GCC Installation Probelm! (https://www.linuxquestions.org/questions/linux-newbie-8/gcc-installation-probelm-434262/)

nectron101 04-11-2006 07:02 PM

GCC Installation Probelm!
 
Hello,

I downloaded the last version of gcc and did a
Code:

tar fxvz gcc-4.0.1.tar.gz
Everything worked well, I shifted to the new directory of gcc then did a
Code:

./configure
.. It runs but stops immediately because there's no C compiler on my system.

What should I do in this case? I tried .rpm versions but YAST2 crashes..

Any recommendations?

Thanks.

btmiller 04-11-2006 07:41 PM

You need gcc to compile gcc (sounds strange, but it isn't). Can youtell us exactly what you're doing with YaST -- it should be installable. Failing that, grab the rpm directly and use rpm -ivh <path to gcc rpm> to install it.

nectron101 04-11-2006 07:58 PM

I've just switched to linux and here is what happened:

Nectron@linux:~/Documents/Programs> rpm -ivh gcc-3.3.5-5.x86_64.rpm
error: Failed dependencies:
cpp = 3.3.5-5 is needed by gcc-3.3.5-5
libc.so.6()(64bit) is needed by gcc-3.3.5-5
libc.so.6(GLIBC_2.2.5)(64bit) is needed by gcc-3.3.5-5
libc.so.6(GLIBC_2.3)(64bit) is needed by gcc-3.3.5-5

I believe it's the dependencies.. I used to get dependencies warnings from Yast, but it just crashes when I run the gcc rpm.

I'll download the dependencies, and will keep this updated.

Thanks.


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