#22073 [Com]: --with-mcrypt won't compile
| From: | pingslave at biosys dot net | Date: | Wed, 22 Sep 2004 08:19:52 +0000 |
| Subject: | #22073 [Com]: --with-mcrypt won't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-66543@lists.php.net to get a copy of this message | ||
ID: 22073
Comment by: pingslave at biosys dot net
Reported By: jc at mega-bucks dot co dot jp
Status: Closed
Bug Type: Compile Failure
Operating System: Red Hat Linux 8.0
PHP Version: 4.3.0
New Comment:
This bug should be reopened. It still exists when compiling with the
following system:
FreeBSD 4.10-STABLE (cvsupped 22-Sep-2004)
libmcrypt 2.5.7_1 (from ports)
mcrypt 2.6.4_2 (from ports)
mhash 0.8.18 (from ports
php 4.3.8 source tarball
fixed in CVS or no, it still exists in the released tarballs for over a
year now, through 8 different releases (4.3.0 - 4.3.8).
Configure line is:
./configure --with-pgsql --with-mysql --with-mcrypt
--with-apxs2=/usr/local/apache2/bin/apxs
Configure proceeds normally without errors. During 'make'...
/bin/sh /usr/builds/php-4.3.8/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/mcrypt/ -I/usr/builds/php-4.3.8/ext/mcrypt/
-DPHP_ATOM_INC -I/usr/builds/php-4.3.8/include
-I/usr/builds/php-4.3.8/main -I/usr/builds/php-4.3.8
-I/usr/builds/php-4.3.8/Zend -I/usr/local/include
-I/usr/builds/php-4.3.8/ext/xml/expat -I/usr/builds/php-4.3.8/TSRM -g
-O2 -prefer-pic -c /usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c -o
ext/mcrypt/mcrypt.lo
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:229: warning: `MCRYPT_FAILED'
redefined
/usr/local/include/mcrypt.h:31: warning: this is the location of the
previous definition
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c: In function
`zm_startup_mcrypt':
/usr/builds/php-4.3.8/ext/mcrypt/mcrypt.c:280: warning: passing arg 3
of `zend_register_long_constant' makes integer from pointer without a
cast
.... and on it goes just like the original bug report.
Previous Comments:
------------------------------------------------------------------------
[2003-02-06 04:46:13] derick@php.net
PHP's configure still relied that libmcrypt used libltdl always, which
is no longer the case as of libmcrypt 2.5.6.
------------------------------------------------------------------------
[2003-02-05 20:43:38] magnus@php.net
User reports the bug is gone in CVS => Closed.
------------------------------------------------------------------------
[2003-02-05 20:38:39] jc at mega-bucks dot co dot jp
Bug disapears with newest CVS snapshot. Thank you.
Just curious but what was the bug?
------------------------------------------------------------------------
[2003-02-05 11:48:24] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Very likely to be fixed in CVS.
------------------------------------------------------------------------
[2003-02-05 11:14:00] jc at mega-bucks dot co dot jp
Sorry, I forgot to answer you question about mcrypt version.
# libmcrypt-config --version
2.5.6
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22073
--
Edit this bug report at http://bugs.php.net/?id=22073&edit=1