|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-31 16:53 UTC] derick@php.net
[2000-08-31 16:56 UTC] derick@php.net
[2000-08-31 17:00 UTC] derick@php.net
[2000-08-31 19:05 UTC] carl at five-ten-sg dot com
[2000-08-31 20:00 UTC] carl at five-ten-sg dot com
[2000-08-31 20:59 UTC] sniper@php.net
[2000-08-31 22:24 UTC] carl at five-ten-sg dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Fri Jun 26 21:00:02 2026 UTC |
Using essentially the same scripts, php4.0.1pl2 builds nicely with libmcrypt 2.2.7. Let me know if there is anything else you need. My script is here, see below for the config.log extract. --------------- echo "build libmcrypt" cd libmcrypt-2.4.4 ./configure --prefix=/usr \ --disable-posix-threads make make check make install cd .. echo "config apache since we may have just unpacked it" cd apache_1.3.12 ./configure --prefix=/usr \ --sysconfdir=/etc/httpd \ --runtimedir=/var/run/httpd \ --logfiledir=/var/log/httpd \ --enable-module=all \ --enable-shared=max \ --disable-shared=frontpage \ --disable-shared=apache_ssl \ --activate-module=src/modules/php4/libphp4.a cd .. echo " " echo "build php" cd php-4.0.2 rm -f config.cache ./configure --with-apache=/usr/src/apache_1.3.12\ --enable-debug=no \ --enable-track-vars=yes \ --enable-bcmath=yes \ --enable-memory-limit=yes \ --with-imap \ --with-ldap=/usr/src/openldap-1.2.11\ --with-mysql=/usr \ --with-mcrypt=/usr make install cd .. -------------- config.log extract: configure:21153: checking for mcrypt support configure:21240: checking for init_mcrypt in -lmcrypt configure:21259: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib -L/usr/lib conftest.c -lmcrypt -lldap -llber -lresolv -lm -ldl -lcrypt -lnsl -lresolv 1>&5 ld: cannot open -lldap: No such file or directory configure: failed program was: #line 21248 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char init_mcrypt(); int main() { init_mcrypt() ; return 0; } configure:21289: checking for mcrypt_module_open in -lmcrypt configure:21308: gcc -o conftest -g -O2 -Wl,-rpath,/usr/lib -L/usr/lib conftest.c -lmcrypt -lldap -llber -lresolv -lm -ldl -lcrypt -lnsl -lresolv -lltdl 1>&5 ld: cannot open -lldap: No such file or directory configure: failed program was: #line 21297 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char mcrypt_module_open(); int main() { mcrypt_module_open() ; return 0; }