yes, definitly looks like gcc is not installed in that post.
Also if you are doing rebuilds, you will need to install the dev rpms to get it to build, and everything that it depends upon.
Get the dev rpm that is on you CDROM, and then do something like this...
rpm -ivh glibc-devel-2.3.2-11.9.i386.rpm
rpm -ivh libstdc++-devel-3.2.2-5.i386.rpm
Tell me a bit more on what you are looking for....
I did these steps...
root @ sun 14 > locate libc6
root @ sun 16 > rpm -qf /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
root @ sun 17 > locate libstd | grep rpm
where rh9 is my local directory where I manually copied the RPMs.