ID:               22095
 Comment by:       spookey at spookey dot org
 Reported By:      Nicolas dot Ross at cybercat dot ca
 Status:           Closed
 Bug Type:         *Configuration Issues
 Operating System: Mac OS X darwin
 PHP Version:      4.3.0
 New Comment:

Okay.. I figured it out.. looks like the java dist wasn't working and
was causing the config to fail on mcrypt.  config.log revealed my
mistakes.

Thanks.


Previous Comments:
------------------------------------------------------------------------

[2003-02-20 18:35:18] spookey at spookey dot org

I'm actually seeing a similar problem on FreeBSD... there's a lot of
documentation on it, but none of it is really working.  With
--with-java, the configure breaks.  I've tried modifying the configure
(as well as creating a new one from a copied .m4 ...).  None of the
above 'solutions' worked.  When I remove --with-java, the mcrypt issue
disappears.

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.

Thanks for any help you may be able to provide.

------------------------------------------------------------------------

[2003-02-07 11:24:17] Nicolas dot Ross at cybercat dot ca

Just a quick note, I took the config.m4 from ext/mcrypt/ of 4.2.3 and
copied it into 4.3.0 tree, ran buildconf and now I get :

/usr/bin/ld: Undefined symbols:
_mcrypt_module_entry
/usr/bin/ld: warning unused multiple definitions of symbol _regerror
/usr/local/apache/bin/httpd definition of _regerror
/usr/lib/libm.dylib(regerror.o) unused definition of _regerror
make: *** [libs/libphp4.bundle] Error 1

And that even with all gd/tiff/png removed...

------------------------------------------------------------------------

[2003-02-06 14:40:16] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[2003-02-06 14:38:02] Nicolas dot Ross at cybercat dot 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] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

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/22095

-- 
Edit this bug report at http://bugs.php.net/?id=22095&edit=1

Reply via email to