Re: Mcrypt and php make

From: Date: Thu, 10 Apr 2003 19:54:50 +0000
Subject: Re: Mcrypt and php make
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-10574@lists.php.net to get a copy of this message
Mike, I had similar problems when doing my install. I couldn't install libmcrypt, but did a "sudo ranlib /usr/local/lib/libmcrypt.a" and did a "make distclean" in php, then reran configure. My PHP built and installed fine after that. But...I have the problem that php does not recognize any ciphers for mcrypt that were installed. so my info page says "supported ciphers = none". I asked before, but no one seems to know any reason why this would be. Everything else works. Try ranlib and make distclean. If your build does recognize ciphers, I would be curious as to how you got your libmcrypt compiled (what options, etc). Let me know. Ray A. At 9:43 AM -0400 4/10/03, Mike Morton wrote:
I have searched through the archives and I cannot find an answer that will work for me to get mcrypt support installed with php. The configure ran perfectly, but when doing the make: ...... /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:303: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:304: `MCRYPT_SERPENT_128' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:305: `MCRYPT_SERPENT_192' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:306: `MCRYPT_SERPENT_256' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:307: `MCRYPT_TWOFISH_128' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:308: `MCRYPT_TWOFISH_192' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:309: `MCRYPT_TWOFISH_256' undeclared (first use in this function) /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:310: warning: passing arg 3 of `zend_register_long_constant' makes integer from pointer without a cast /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c: In function `zif_mcrypt_get_cipher_name': /Users/admin/Desktop/compiling_programs/php4-200304101330/ext/mcrypt/mcrypt. c:1503: warning: assignment makes pointer from integer without a cast make: *** [ext/mcrypt/mcrypt.lo] Error 1 The OS is OSX 10.2.4, and I have mcrypt2.6.4 installed and libmcrypt.2.5.6 - I have also tried it with libmcrypt 2.5.7. Using the latest php snapshot as well as have tried 4.3.1 Any help at this point would be mucho appreciated - I am building rather than using a binary due to some extentions that I can not find in ANY binaries anywhere on the net. I have managed to get it compiled b4 on OS 10.2.4 - but not on the machine I am trying now. TIA -- Cheers Mike Morton **************************************************** * * Tel: 905-465-1263 * Email: mike@webtraxx.com * **************************************************** "Indeed, it would not be an exaggeration to describe the history of the computer industry for the past decade as a massive effort to keep up with Apple." - Byte Magazine Given infinite time, 100 monkeys could type out the complete works of Shakespeare. Win 98 source code? Eight monkeys, five minutes. -- NullGrey -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.install (#10574) next »