[quote:723fb70a50][i:723fb70a50]Originally posted by bert[/i:723fb70a50]
Every time I try to recompile Apache on a particular server with buildapache.sea I get the following error:
checking for init_mcrypt in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
I cannot get it to install unless I remove the libmcrypt option. This is really driving me nuts now.
Any thoughts?[/quote:723fb70a50]
This BUILDAPACHE.SEA is a bit flakey and alot of libraries i needed were not untarred during the build.
Do this.
Find the buildapache/ directory, the one used to recompile the entire system, cd into it. Look around there should be a file called
libmcrypt-2.5.3.tar.gz, depending on which which build you have libmcrypt may be a different version then the one im showing you. Now, look for the untarred libmcrypt directory. Is there one? Probably not. Try untarring libmcrypt-2.5.3.tar.gz. Look for any other modules you need installed. For eg i found that mod_perl-1.27.tar.gz was not untarred after my build finished. Why is that? So i untarred it and ran buildapache.sea again and now i have mod_perl 1.27 installed instead of mod_perl 1.26
Ok so now that you untarred it try doing the buildapache rebuild again. This time it should be included as part of your system build.
During the build, select the 2 Advanced option and select all the modules you want to include in your build, including the ones for php.
My php config looks like this:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd=../gd-2.0.4' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap=../imap-2001.BETA.SNAP-0105220031' '--with-imap-ssl' '--with-kerberos' '--with-mcrypt' '--with-ming=../ming-0.2a' '--enable-magic-quotes' '--with-mysql=/usr' '--with-pgsql=/usr' '--with-pear' '--enable-xslt' '--with-xslt-sablot' '--enable-safe-mode' '--enable-sockets' '--enable-track-vars' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-zlib'