[CentOS] PHP mcrypt

Mon Jun 6 14:02:40 UTC 2005
Alexander Dalloz <ad+lists at uni-x.org>

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


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.27_FC2smp 
Serendipity 15:57:34 up 13 days, 14:35, load average: 0.07, 0.11, 0.09 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.centos.org/pipermail/centos/attachments/20050606/f4bbb040/attachment-0004.sig>