, Thanks. I found this forum a long time ago, but registered just now. Due to my work I need to work on Ubuntu (as desktop), FreeBSD and CentOS (as server) a lot and it is really hard for Windows 7 user
Installation of gcc wasn't a problem on Ubuntu at all on my desktop. I don't know why I've faced with it on CentOS. Anyway it's my mistake - I attempted to install it from sources (not from yum repos).
My problem is solved. Although, I'd narrate what I've done to fix it (maybe somebody has the same issue):
Package glibc-devel-2.5-42.i386 already installed and latest version
Package glibc-headers-2.5-42.i386 already installed and latest version
Not quite clear, why you would do such a thing.
Software installed with yum ( = packages ) :
No setup or PATH setting is required.
( For 99 percent of the packages.)
I thought it might solve the problem
[root@sql httpd-2.2.15]# /usr/bin/gcc
-bash: /usr/bin/gcc: is a directory
I found appropriate Gcc compiler named gcc44 /usr/bin.
Made a symbolyc link:
ln -s -T /usr/bin/gcc44 /usr/bin/gcc
[root@sql httpd-2.2.15]# ls -l /usr/bin | grep gcc
lrwxrwxrwx 1 root root 3 Mar 30 08:08 cc -> gcc
lrwxrwxrwx 1 root root 14 Mar 30 08:23 gcc -> /usr/bin/gcc44
-rwxr-xr-x 2 root root 218448 Sep 4 2009 gcc44
-rwxr-xr-x 1 root root 196692 Sep 3 2009 gcc;4bafd274
-rwxr-xr-x 1 root root 196692 Sep 3 2009 gcc;4bafd6a6
-rwxr-xr-x 2 root root 196692 Sep 3 2009 gcc;4bb116e9
-rwxr-xr-x 2 root root 218448 Sep 4 2009 i386-redhat-linux6E-gcc44
-rwxr-xr-x 2 root root 196692 Sep 3 2009 i386-redhat-linux-gcc
All this mess is from my previous attempts to install gcc.
For example I have no idea what is
etc, but at least now everything works just fine and I've installed apache2.