Error running ./configure

I’m running Mandrake 9.2 and want to have the 1.2.7 SDL libs compiled. When I untarred the whole archive and run ./configure
it failed.
Here’s what it says:

checking dependency style of g++… none
checking how to run the C++ preprocessor… /lib/cpp
configure: error: C++ preprocessor “/lib/cpp” fails sanity check
See `config.log’ for more details.

Thanks for any help,