i am using RHEL 5. I use an Apache 2.2.6 and PHP 5.2.4.
I am having problems configuring the mcrypt library.
libmcrypt log:
checking for C++ compiler default output file name... b.out
checking whether the C++ compiler works... configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use --host'.
Seeconfig.log' for more details.
mcrypt log:
checking dependency style of gpp... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
i've tried installing the libmcrypt rpm from rpmforge and then installing mcrypt. i've tried installing the php-mcrypt rpm.
Any ideas? Thanks in advance.