  rpm -ivh --force cpp-4.1.2-12.i386.rpm
  rpm -ivh --force libgcc-4.1.2-12.i386.rpm
  rpm -ivh --force libgomp-4.1.2-12.i386.rpm
rpm -ivh --force gcc-4.1.2-12.i386.rpm

  rpm -ivh --force glibc-common-2.5-24.i386.rpm
rpm -ivh --force glibc-2.5-24.i386.rpm

   rpm -ivh --force cpp-4.1.2-46.el5.i386.rpm
   rpm -ivh --force libgcc-4.1.2-46.el5.i386.rpm
   rpm -ivh --force libgomp-4.4.0-6.el5.i386.rpm
 rpm -ivh --force gcc-4.1.2-46.el5.i386.rpm
 rpm -ivh --force libstdc++-4.1.2-46.el5.i386.rpm
 rpm -ivh --force libstdc++-devel-4.1.2-46.el5.i386.rpm
rpm -ivh --force gcc-c++-4.1.2-46.el5.i386.rpm

rpm -ivh --force sysstat-7.0.2-3.el5.i386.rpm



BTW:please install them orderly as above.