Welcome to the monastery, you've posted in the wrong section of the site, and haven't followed the formatting rules displayed on screen. This makes it more difficult to read what you've posted. For future reference please read SoPW and PerlMonks for the Absolute Beginner.
On to your problem. It looks as though the system is missing packages required. From a first glance I think you should install build-essential and libc-dev and try again. Note that these packages may be named slightly differently under RedHat.
Update: fixed spelling mistake.