Configuring mcrypt and libmcrypt
I am having problems with configuring mcrypt and libmcrypt.
I am running RHEL 5, with Apache 2.2.6 and PHP 5.2.4.
I have installed libmcrypt 5.2.7 and mcrypt 2.6.4-2 through rpms. I try to re-configure php with mcrypt and gives me the error:
checking for mcrypt support... yes
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
i've unistalled mcrypt and libmcrypt, then tried to configure them from source, but i get errors from those, mainly dealing with the g++ and c++ compiler, but i have the entire gcc suite installed.