Am Mo, den 06.06.2005 schrieb Maciej Żenczykowski um 15:35:
Could someone tell me how I'd go about compiling php with mcrypt support from src.rpm?
ie. configure -with-mcrypt[=DIR]
Is it just a matter of calling rpmbuild --rebuild src.rpm --with=mcrypt ?
MaZe.
First you need libmcrypt | libmcrypt-devel to be installed (available i.e. through Dag's repository). Then edit the php.spec file. Take the "mhash" configuration parts as examples which means that you can copy them and then exchange mhash with mcrypt. The rpmbuild prcess will then result in a php-mcrypt rpm (done that myself).
Alexander