Re: [PHP4BETA] Latest CVS doesn't compile --with-mcrypt
| From: | Andreas Jung | Date: | Mon, 27 Mar 2000 07:27:12 +0000 |
| Subject: | Re: [PHP4BETA] Latest CVS doesn't compile --with-mcrypt | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12664@lists.php.net to get a copy of this message | ||
On Mon, Mar 27, 2000 at 11:45:30AM +0800, Yusuf Goolamabbas wrote:
> mcrypt version is 2.5.1 with libmcrypt 2.3.4 alongwith mhash 0.7.0
>
> From: yusufg@outblaze.com
> Operating system: Linux 2.2.9/Redhat 6.0
> PHP version: 4.0 Latest CVS (22/03/2000)
> PHP Bug Type: Compile Failure
> Bug description: Latest CVS doesn't compile --with-mcrypt
>
> Configure script is
>
> ../php4/configure \
> --with-apache=../apache_1.3.12 \
> --prefix=/usr/local/site/php \
> --with-ldap=/usr/local/site/ldap \
> --with-db2=/usr/local/site/BerkeleyDB \
> --with-mhash \
> --with-mcrypt \
> --enable-track-vars \
> --enable-magic-quotes \
> --disable-debug \
> --with-config-file-path=/usr/local/site
>
> /local/src/php4/ext/mcrypt/mcrypt.c && touch mcrypt.lo
> /usr/local/src/php4/ext/mcrypt/mcrypt.c: In function `php_minit_mcrypt':
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:132: `TRIPLEDES' undeclared (first use in this
> function)
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:132: (Each undeclared identifier is reported only once
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:132: for each function it appears in.)
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:157: `MCRYPT_RC6_256' undeclared (first use in
> this function)
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:159: `MCRYPT_RC6_128' undeclared (first use in
> this function)
> /usr/local/src/php4/ext/mcrypt/mcrypt.c:160: `MCRYPT_RC6_192' undeclared (first use in
> this function)
> make[3]: *** [mcrypt.lo] Error 1
> make[3]: Leaving directory `/usr/local/src/phpbuild/ext/mcrypt'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/phpbuild/ext/mcrypt'
Try to compile PHP4 against version 2.2.6 of libmcyrpt.
I had the same problem with the 2.3.X series.
Andreas