FIXING ERRORS
From Zedomax Wiki
For the following error:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Make sure to install gcc-c++ by doing the following in fedora 5:
yum install gcc-c++
I think you can also install using rpm.
For Phpize and other Php tools:
yum install php-devel