php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11376 mcrypt
Submitted: 2001-06-09 03:59 UTC Modified: 2001-06-12 14:36 UTC
From: webmaster at crescentart dot com Assigned:
Status: Closed Package: mcrypt related
PHP Version: 4.0.4pl1 OS: RH 6.2
Private report: No CVE-ID: None
 [2001-06-09 03:59 UTC] webmaster at crescentart dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-06-12 14:36 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 12:01:28 2024 UTC