ID: 11376
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: mcrypt related
Operating system: 
PHP Version: 4.0.4pl1
Assigned To: 
Comments:

You should remove all instances of the mcrypt rpms, and make sure all header files are 
gone too (look for mcrypt.h)
Then grab the libmcrypt 2.4.11 sources from the libmcrypt site and ./configure; make 
and make install it.
Then get a fresh source of php (or do "make distclean") and ./configure 
--with-mcrypt=/path/to/install
this way it should compile fine

If this does not work out, please post as much info as possible.

Derick

Previous Comments:
---------------------------------------------------------------------------

[2001-06-09 03:59:43] [EMAIL PROTECTED]
I have attempted configuring PHP --with-mcrypt=/usr/bin/mcrypt_dir using libmcrypt 
version 2.2.7 and various mcrypt rpms. Each the configure process works fine but the  
make process gives me errors like this:

mcrypt.c:143: `MCRYPT_RC2_1024' undeclared (first use in this function)
mcrypt.c:144: `MCRYPT_TWOFISH_128' undeclared (first use in this function)
mcrypt.c:145: `MCRYPT_TWOFISH_192' undeclared (first use in this function)
mcrypt.c:146: `MCRYPT_TWOFISH_256' undeclared (first use in this function)
mcrypt.c:147: `MCRYPT_BLOWFISH_128' undeclared (first use in this function)
mcrypt.c:148: `MCRYPT_BLOWFISH_192' undeclared (first use in this function)
mcrypt.c:149: `MCRYPT_BLOWFISH_256' undeclared (first use in this function)

How can I fix this problem.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11376&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to