#22095 [Opn->Csd]: Won't configure correctly with libmcrypt enabled

From: Date: Thu, 06 Feb 2003 20:40:17 +0000
Subject: #22095 [Opn->Csd]: Won't configure correctly with libmcrypt enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32321@lists.php.net to get a copy of this message
ID: 22095 Updated by: derick@php.net Reported By: Nicolas.Ross@cybercat.ca -Status: Open +Status: Closed Bug Type: *Configuration Issues Operating System: Mac OS X darwin PHP Version: 4.3.0 New Comment: Copy ext/mcrypt/config.m4 to the php-4.2.3 directory (in ext/mcrypt), go to the php-4.2.3 directory and execute: rm configure rm config.cache ./buildconf (and make sure you have autoconf 2.13) then you can run configure with the options of your liking. Derick Previous Comments: ------------------------------------------------------------------------ [2003-02-06 14:38:02] Nicolas.Ross@cybercat.ca It works in deed. But I had to remove all gd/png/jpeg/zlib stuff because of configure errors regarding png or zlib. Is there a way to back-port the fix to distro php-4.3.0 ? ------------------------------------------------------------------------ [2003-02-06 13:49:33] 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 ------------------------------------------------------------------------ [2003-02-06 13:35:23] Nicolas.Ross@cybercat.ca On our Mac OS X (Darwin) server, I used to compile php with some twists and tricks, but 4.2.3 configured and compiled correctly width mcrypt enabled. Now I can't configure 4.3.0 with libmcrypt enabled. Configure line : ./configure --with-apxs=/usr/local/apache/bin/apxs \ --with-mysql \ --with-fbsql \ --with-xml \ --enable-ftp \ --with-zlib \ --with-zlib-dir=../zlib \ --with-png \ --with-png-dir=../libpng-1.2.0 \ --with-jpeg \ --with-jpeg-dir=../jpeg-6b \ --with-gd \ --with-mcrypt \ --enable-track-vars \ --enable-trans-id I get : checking for mcrypt support... yes checking for mcrypt_module_open in -lmcrypt... no checking for init_mcrypt in -lmcrypt... no configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed. Here's the tail of config.log char init_mcrypt(); int main() { init_mcrypt() ; return 0; } This configure line works perfectly without the mcrypt part, and results in a working php installation. libmcrypt 2.5.5 is install in /usr/local and other php version (4.2.3) configure and compile againts it successfully. I tried every combinaison of --with-mcrypt=../libmcrypt-2.5.5 --with-mcrypt=/usr/local and so on. So any hints ? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22095&edit=1

« previous php.bugs (#32321) next »