[PHP-DEV] Bug #11376 Updated: mcrypt From: derick <email protected>
Date: 06/12/01

ID: 11376
Updated by: derick
Reported By: webmaster <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] webmaster <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: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>