PHP mcrypt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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: not available
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.bin

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux