deoxymono wrote:Does anyone have any ideas how I can install mcrypt or fix the issues above so I can install gcc? I would be very grateful as I feel like banging my head against a brick wall at the moment!

Hiphp-mcrypt rpm is available on third-party EPEL, Utter Ramblings, CentALT, Les RPM de Remi and other third-party repos.

I thoroughly agree with the previous advice to avoid Source Installs and use known repos; however, just for the record, your difficulties with gcc are likely due to the fact that your VPS is based on OpenVZ as can be seen from the kernel version, and despite what you may have been told is not really CentOS. Please see the following for more:Other VoicesWhen CentOS Is Not CentOSBroken Virtual Server

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading those links you should realize why you should not hijack threads as you have done. Please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context.

Don't use obsolete/unsupported releases - 5.8 is the current CentOS-5 release. See the CentOS 5.8 Release Notes for details. By not updating you are implicitly accepting that you will live with numerous bugs and security issues (and associated known exploits) that have subsequently been fixed.