You don't seem to have a compiler installed on your system, which is necessary to, um, compile the Samba source. Try one of the following to see if it's installed:
find / -name gcc
If not, you'll have to pull it from an RPM on the install CDs. You'll need to install certain library packages as well, but I'm not at home now so I can't check my Redhat system to tell you exactly which ones.