centos 4.2 서버버전으로 깔았더니
gcc가 안깔려서 아파치 컴파일할때 에러남
gcc는 glibc-devel 에 depentant한데 버전이 안맞아서 한참 헤맴
지우고 glibc 강제로 버전 맞추어 설치한 담에 gcc설치하면 됨
rpm -e glibc
rpm -ivh –force http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/glibc-common-2.3.4-2.25.i386.rpm
rpm -ivh –force http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/glibc-2.3.4-2.25.i686.rpm
rpm -ivh –force http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/glibc-headers-2.3.4-2.25.i386.rpm
rpm -ivh –force http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/glibc-devel-2.3.4-2.25.i386.rpm
rpm -Uvh http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/libgcc-3.4.6-3.i386.rpm
rpm -ivh http://mirror.secuidc.com/centos/4.4/os/i386/CentOS/RPMS/gcc-3.4.6-3.i386.rpm
Comments
Powered by Facebook Comments