Make install step error when recompiling Apache

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.