From:             [EMAIL PROTECTED]
Operating system: Mac OS X darwin
PHP version:      4.3.0
PHP Bug Type:     *Configuration Issues
Bug description:  Won't configure correctly with libmcrypt enabled

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 bug report at http://bugs.php.net/?id=22095&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22095&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22095&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22095&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22095&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22095&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22095&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22095&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22095&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22095&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22095&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22095&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22095&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22095&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22095&r=gnused

Reply via email to