Because I previously configured the domain name on Apache to jump, because my system installed Apache does not have mod_rewrite module, when intended for Apache separately compiled Mod_rewrite module and prompted the Apxs:Error:Command failed With rc=65536, and then learned that it might be related to the Libtool file, at the same time found that there is no Libtool file under the directory/usr/local/apache2/build, and I am still not able to copy a file from another machine with the same name. I guess the libtool and some other files have some dependencies (not too deep ...). ), for a long time did not solve this problem decided to recompile Apache
I did not delete anything in the Apache related directory before recompiling
The following are the most concise commands to use
./configure--prefix=/usr/local/apache2
Make
Make install
I then found that there was an error in making the make install, which prompted made: * * * [install-recursive] Error 1 and can not find/usr/local/src/httpd-2.2.16/support, I'm the LS. Find the support file in this directory because I created some files with the. o suffix in the previous make, which can be cleared using make clean (makes clean: You can clear the object file that was generated when you last made), and then re-make && make install.
Take a look at the statically compiled modules that are now available in Apache:
[Email protected] httpd-2.2.16]#/usr/local/apache2/bin/httpd-l
Compiled in Modules:
Core.c
Mod_authn_file.c
Mod_authn_default.c
Mod_authz_host.c
Mod_authz_groupfile.c
Mod_authz_user.c
Mod_authz_default.c
Mod_auth_basic.c
Mod_include.c
Mod_filter.c
Mod_log_config.c
Mod_env.c
Mod_setenvif.c
Mod_version.c
Prefork.c
Http_core.c
Mod_mime.c
Mod_status.c
Mod_autoindex.c
Mod_asis.c
Mod_cgi.c
Mod_negotiation.c
Mod_dir.c
Mod_actions.c
Mod_userdir.c
Mod_alias.c
Mod_so.c
Beginners tinker with this problem for a long time ah ... God knows how excited it was. ~~o (>_<) o ~ ~
Make install step error when recompiling Apache