源码安装Apache 2.4.18

网友投稿 594 2022-09-21

源码安装Apache 2.4.18

源码安装Apache 2.4.18

[root@shop pwd/lampsource/tar/./configure --prefix=/usr/local/apache2 \> --enable-mods-shared=all  \> --enable-so  \> --enable-proxy-ajp  \> --enable-rewrite  \> --with-apr=/usr/local/apr  \> --with-apr-util=/usr/local/apr-util \> --with-pcre=/usr/local/pcre \> checking for chosen layout... Apachechecking for working mkdir -p... yeschecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuconfigure: configure: Configuring Apache Portable Runtime library...configure: checking for APR... yes  setting CC to "gcc"  setting CPP to "gcc -E"  setting CFLAGS to " -g -O2 -pthread"  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"  setting LDFLAGS to " "configure: configure: Configuring Apache Portable Runtime Utility library...configure: checking for APR-util... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for gcc option to accept ISO C99... -std=gnu99checking for pcre-config... falseconfigure: Using external PCRE library from /usr/local/pcre/bin/pcre-config  setting PCRE_INCLUDES to "-I/usr/local/pcre/include"  setting PCRE_LIBS to "-L/usr/local/pcre/lib -lpcre"configure: configure: Configuring Apache   setting INCLUDES to "-I."  adding "-I$(top_srcdir)/os/$(OS_DIR)" to INCLUDES  adding "-I$(top_srcdir)/include" to INCLUDES  adding "-I/usr/local/apr/include/apr-1" to INCLUDES  adding "-I/usr/local/apr-util/include/apr-1" to INCLUDES  adding "-I/usr/local/pcre/include" to INCLUDESconfigure: configure: Applying OS-specific hints for   forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"  forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"checking for rm... /bin/rmchecking for pkg-config... /usr/bin/pkg-configchecking for rsync... /usr/bin/rsyncchecking for gawk... gawkchecking whether ln -s works... yeschecking for ranlib... ranlibchecking for lynx... nochecking for links... linkschecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking minix/config.h usability... nochecking minix/config.h presence... nochecking for minix/config.h... nochecking whether it is safe to define __EXTENSIONS__... yeschecking for library containing strerror... none requiredchecking for APR version 1.3.0 or later... yeschecking for APR-util version 1.3.0 or later... yeschecking for ANSI C header files... (cached) yeschecking for string.h... (cached) yeschecking limits.h usability... yeschecking limits.h presence... yeschecking for limits.h... yeschecking for unistd.h... (cached) yeschecking sys/socket.h usability... yeschecking sys/socket.h presence... yeschecking for sys/socket.h... yeschecking pwd.h usability... yeschecking pwd.h presence... yeschecking for pwd.h... yeschecking grp.h usability... yeschecking grp.h presence... yeschecking for grp.h... yeschecking for strings.h... (cached) yeschecking sys/prctl.h usability... yeschecking sys/prctl.h presence... yeschecking for sys/prctl.h... yeschecking sys/processor.h usability... nochecking sys/processor.h presence... nochecking for sys/processor.h... nochecking sys/sem.h usability... yeschecking sys/sem.h presence... yeschecking for sys/sem.h... yeschecking sys/sdt.h usability... nochecking sys/sdt.h presence... nochecking for sys/sdt.h... nochecking sys/loadavg.h usability... nochecking sys/loadavg.h presence... nochecking for sys/loadavg.h... nochecking for sys/wait.h that is POSIX.1 compatible... yeschecking for an ANSI C-conforming const... yeschecking for library containing sqrt... -lmchecking for library containing crypt... -lcryptchecking for getpwnam... yeschecking for getgrnam... yeschecking for initgroups... yeschecking for bindprocessor... nochecking for prctl... yeschecking for timegm... yeschecking for getpgid... yeschecking for fopen64... yeschecking for getloadavg... yeschecking for void pointer length... nochecking for gettid()... yeschecking for tm_gmtoff in struct tm... yeschecking whether to enable mod_authn_file... sharedchecking whether to enable mod_authn_dbm... shared (all)checking whether to enable mod_authn_anon... shared (all)checking whether to enable mod_authn_dbd... shared (all)checking whether to enable mod_authn_socache... shared (all)checking whether to enable mod_authn_core... sharedchecking whether to enable mod_authz_host... sharedchecking whether to enable mod_authz_groupfile... sharedchecking whether to enable mod_authz_user... sharedchecking whether to enable mod_authz_dbm... shared (all)checking whether to enable mod_authz_owner... shared (all)checking whether to enable mod_authz_dbd... shared (all)checking whether to enable mod_authz_core... sharedchecking whether to enable mod_authnz_ldap... checking dependencieschecking for ldap support in apr/apr-util... noconfigure: WARNING: apr/apr-util is compiled without ldap supportchecking whether to enable mod_authnz_ldap... no (disabled)checking whether to enable mod_authnz_fcgi... nochecking whether to enable mod_access_compat... sharedchecking whether to enable mod_auth_basic... sharedchecking whether to enable mod_auth_form... shared (all)checking whether to enable mod_auth_digest... checking dependencieschecking whether to enable mod_auth_digest... shared (all)checking whether to enable mod_allowmethods... shared (all)  adding "-I$(top_srcdir)/modules/aaa" to INCLUDESchecking whether to enable mod_isapi... nochecking whether to enable mod_file_cache... shared (all)checking whether to enable mod_cache... shared (all)checking whether to enable mod_cache_disk... checking dependencieschecking whether to enable mod_cache_disk... shared (all)checking whether to enable mod_cache_socache... shared (all)checking whether to enable mod_socache_shmcb... shared (all)checking whether to enable mod_socache_dbm... shared (all)checking whether to enable mod_socache_memcache... shared (all)checking whether to enable mod_socache_dc... no  adding "-I$(top_srcdir)/modules/cache" to INCLUDES  setting HTTPD_LDFLAGS to "-export-dynamic"checking whether to enable mod_so... static  setting AP_LIBS to "$(MOD_SO_LDADD)"checking whether to enable mod_watchdog... checking dependencieschecking whether to enable mod_watchdog... shared (all)checking whether to enable mod_macro... shared (all)  adding "-I$(top_srcdir)/modules/core" to INCLUDESchecking whether to enable mod_dbd... shared (all)  adding "-I$(top_srcdir)/modules/database" to INCLUDESchecking whether to enable mod_bucketeer... nochecking whether to enable mod_dumpio... shared (all)checking whether to enable mod_echo... shared (all)checking whether to enable mod_example_hooks... nochecking whether to enable mod_case_filter... nochecking whether to enable mod_case_filter_in... nochecking whether to enable mod_example_ipc... nochecking whether to enable mod_buffer... shared (all)checking whether to enable mod_data... shared (all)checking whether to enable mod_ratelimit... shared (all)checking whether to enable mod_reqtimeout... sharedchecking whether to enable mod_ext_filter... shared (all)checking whether to enable mod_request... shared (all)checking whether to enable mod_include... shared (all)checking whether to enable mod_filter... sharedchecking whether to enable mod_reflector... shared (all)checking whether to enable mod_substitute... shared (all)checking whether to enable mod_sed... checking dependencies  setting MOD_SED_LDADD to "-export-symbols-regex sed_module"checking whether to enable mod_sed... shared (all)checking whether to enable mod_charset_lite... shared (all)checking whether to enable mod_deflate... checking dependencieschecking for zlib location... /usr/local  adding "-I/usr/local/include" to INCLUDES  setting MOD_INCLUDES to "-I/usr/local/include"  adding "-L/usr/local/lib" to LDFLAGS  setting ap_zlib_ldflags to "-L/usr/local/lib"  setting LIBS to "-lz"checking for zlib library... found  setting MOD_DEFLATE_LDADD to "-L/usr/local/lib -lz"  nulling LIBSchecking whether to enable mod_deflate... shared (all)checking whether to enable mod_xml2enc... checking dependencieschecking for libxml2... checking for libxml2... nochecking whether to enable mod_xml2enc... no (disabled)checking whether to enable mod_proxy_html... checking dependencieschecking for libxml2... (cached) nochecking whether to enable mod_proxy_html... no (disabled)  adding "-I$(top_srcdir)/modules/filters" to INCLUDESchecking whether to enable mod_static  adding "$(MOD_HTTP_LDADD)" to AP_LIBSchecking whether to enable mod_mime... sharedchecking whether to enable mod_checking dependencieschecking for ngchecking for user-provided ngbase directory... nonechecking for pkg-config along ... checking for ngversion >= 1.2.1... FAILEDconfigure: WARNING: ngversion is too oldnochecking whether to enable mod_no (disabled)checking whether to enable mod_ldap... checking dependencieschecking for ldap support in apr/apr-util... (cached) noconfigure: WARNING: apr/apr-util is compiled without ldap supportchecking whether to enable mod_ldap... no (disabled)  adding "-I$(top_srcdir)/modules/ldap" to INCLUDESchecking whether to enable mod_log_config... sharedchecking whether to enable mod_log_debug... shared (all)checking whether to enable mod_log_forensic... shared (all)  adding "-I$(top_builddir)/server" to INCLUDESchecking whether to enable mod_logio... shared (all)  adding "-I$(top_srcdir)/modules/loggers" to INCLUDESchecking whether to enable mod_lua... checking dependencieschecking for pow in -lm... yeschecking for sqrt in -lm... yeschecking for lua.h in ./include/lua-5.2... nochecking for lua.h in ./include/lua5.2... nochecking for lua.h in ./include/lua52... nochecking for lua.h in ./include... nochecking for lua.h in ./include/lua-5.1... nochecking for lua.h in ./include/lua5.1... nochecking for lua.h in ./include/lua51... nochecking for lua.h in /usr/local/include/lua-5.2... nochecking for lua.h in /usr/local/include/lua5.2... nochecking for lua.h in /usr/local/include/lua52... nochecking for lua.h in /usr/local/include... nochecking for lua.h in /usr/local/include/lua-5.1... nochecking for lua.h in /usr/local/include/lua5.1... nochecking for lua.h in /usr/local/include/lua51... nochecking for lua.h in /usr/include/lua-5.2... nochecking for lua.h in /usr/include/lua5.2... nochecking for lua.h in /usr/include/lua52... nochecking for lua.h in /usr/include... nochecking for lua.h in /usr/include/lua-5.1... nochecking for lua.h in /usr/include/lua5.1... nochecking for lua.h in /usr/include/lua51... noconfigure: WARNING: *** Lua 5.2 or 5.1 library not found.configure: WARNING: Lua 5.2 or 5.1 library is requiredchecking whether to enable mod_lua... no (disabled)  adding "-I$(top_srcdir)/modules/lua" to INCLUDESchecking whether to enable mod_env... sharedchecking whether to enable mod_mime_magic... shared (all)checking whether to enable mod_cern_meta... nochecking whether to enable mod_expires... shared (all)checking whether to enable mod_headers... sharedchecking whether to enable mod_ident... nochecking whether to enable mod_usertrack... checking dependencieschecking sys/times.h usability... yeschecking sys/times.h presence... yeschecking for sys/times.h... yeschecking for times... yeschecking whether to enable mod_usertrack... shared (all)checking whether to enable mod_unique_id... shared (all)checking whether to enable mod_setenvif... sharedchecking whether to enable mod_version... sharedchecking whether to enable mod_remoteip... shared (all)checking whether to enable mod_proxy... shared (all)checking whether to enable mod_proxy_connect... checking dependencieschecking whether to enable mod_proxy_connect... shared (all)checking whether to enable mod_proxy_ftp... checking dependencieschecking whether to enable mod_proxy_ftp... shared (all)checking whether to enable mod_proxy_checking dependencieschecking whether to enable mod_proxy_shared (all)checking whether to enable mod_proxy_fcgi... checking dependencieschecking whether to enable mod_proxy_fcgi... shared (all)checking whether to enable mod_proxy_scgi... checking dependencieschecking whether to enable mod_proxy_scgi... shared (all)checking whether to enable mod_proxy_fdpass... checking dependencieschecking whether CMSG_DATA is declared... yeschecking whether to enable mod_proxy_fdpass... shared (all)checking whether to enable mod_proxy_wstunnel... checking dependencieschecking whether to enable mod_proxy_wstunnel... shared (all)checking whether to enable mod_proxy_ajp... checking dependencieschecking whether to enable mod_proxy_ajp... sharedchecking whether to enable mod_proxy_balancer... checking dependencieschecking whether to enable mod_proxy_balancer... shared (all)checking whether to enable mod_proxy_express... checking dependencieschecking whether to enable mod_proxy_express... shared (all)  adding "-I$(top_srcdir)/modules/proxy" to INCLUDESchecking whether to enable mod_session... shared (all)checking whether to enable mod_session_cookie... checking dependencieschecking whether to enable mod_session_cookie... shared (all)configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-cryptochecking whether to enable mod_session_crypto... nochecking whether to enable mod_session_dbd... checking dependencieschecking whether to enable mod_session_dbd... shared (all)  adding "-I$(top_srcdir)/modules/session" to INCLUDESchecking whether to enable mod_slotmem_shm... shared (all)checking whether to enable mod_slotmem_plain... shared (all)checking whether to enable mod_ssl... checking dependencieschecking for OpenSSL... checking for user-provided OpenSSL base directory... none  setting MOD_CFLAGS to " "  setting ab_CFLAGS to " "  setting MOD_LDFLAGS to " "checking for OpenSSL version >= 0.9.8a... OK  adding "-lssl" to MOD_LDFLAGS  adding "-lcrypto" to MOD_LDFLAGS  adding "-lrt" to MOD_LDFLAGS  adding "-lcrypt" to MOD_LDFLAGS  adding "-lpthread" to MOD_LDFLAGS  setting LIBS to "-lssl -lcrypto    -lrt -lcrypt  -lpthread"  forcing ab_LDFLAGS to "  -lssl -lcrypto -lrt -lcrypt -lpthread"checking openssl/engine.h usability... yeschecking openssl/engine.h presence... yeschecking for openssl/engine.h... yeschecking for SSLeay_version... yeschecking for SSL_CTX_new... yeschecking for ENGINE_init... yeschecking for ENGINE_load_builtin_engines... yeschecking for RAND_egd... yesyes  setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module"checking whether to enable mod_ssl... shared (all)  adding "-I$(top_srcdir)/modules/ssl" to INCLUDESchecking whether to enable mod_optional_hook_export... nochecking whether to enable mod_optional_hook_import... nochecking whether to enable mod_optional_fn_import... nochecking whether to enable mod_optional_fn_export... nochecking whether to enable mod_dialup... shared (all)  adding "-I$(top_srcdir)/modules/test" to INCLUDESchecking for target platform... unixchecking for rlim_t... yeschecking sys/time.h usability... yeschecking sys/time.h presence... yeschecking for sys/time.h... yeschecking sys/resource.h usability... yeschecking sys/resource.h presence... yeschecking for sys/resource.h... yeschecking for sys/sem.h... (cached) yeschecking sys/ipc.h usability... yeschecking sys/ipc.h presence... yeschecking for sys/ipc.h... yeschecking for setsid... yeschecking for killpg... yeschecking bstring.h usability... nochecking bstring.h presence... nochecking for bstring.h... nochecking for unistd.h... (cached) yeschecking for syslog... yeschecking for sys/times.h... (cached) yeschecking for times... (cached) yes  adding "-I$(top_srcdir)/server" to INCLUDESchecking whether APR supports thread-safe pollsets... checking for kqueue... nochecking for port_create... nochecking for epoll_create... yesyeschecking if event MPM supports this platform... no - APR skiplist is not availablechecking if mpmt_os2 MPM supports this platform... nochecking if prefork MPM supports this platform... yeschecking if WinNT MPM supports this platform... nochecking if worker MPM supports this platform... yeschecking whether to enable mod_lbmethod_byrequests... shared (all)checking whether to enable mod_lbmethod_bytraffic... shared (all)checking whether to enable mod_lbmethod_bybusyness... shared (all)checking whether to enable mod_lbmethod_heartbeat... shared (all)checking which MPM to use by default... worker - event is not supportedchecking for pthread_kill... yeschecking whether to enable mod_unixd... sharedchecking whether to enable mod_privileges... no  adding "-I$(top_srcdir)/modules/arch/unix" to INCLUDESchecking whether to enable mod_heartbeat... checking dependencieschecking whether to enable mod_heartbeat... shared (all)checking whether to enable mod_heartmonitor... shared (all)checking whether to enable mod_dav... shared (all)  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDESchecking whether to enable mod_status... sharedchecking whether to enable mod_autoindex... sharedchecking whether to enable mod_asis... shared (all)checking whether to enable mod_info... shared (all)checking whether to enable mod_suexec... nochecking whether to enable mod_cgid... checking dependencieschecking whether to enable mod_cgid... shared (all)checking whether to enable mod_cgi... no  adding "-I$(top_srcdir)/modules/generators" to INCLUDESchecking whether to enable mod_dav_fs... checking dependencieschecking whether to enable mod_dav_fs... shared (all)checking whether to enable mod_dav_lock... checking dependencieschecking whether to enable mod_dav_lock... shared (all)checking for extra modules... nonechecking whether to enable mod_vhost_alias... shared (all)checking whether to enable mod_negotiation... shared (all)checking whether to enable mod_dir... sharedchecking whether to enable mod_p_w_picpathmap... nochecking whether to enable mod_actions... shared (all)checking whether to enable mod_speling... shared (all)checking whether to enable mod_userdir... shared (all)checking whether to enable mod_alias... sharedchecking whether to enable mod_rewrite... shared  adding "-I$(top_srcdir)/modules/mappers" to INCLUDESconfigure: configure: Restore user-defined environment settings...configure:   restoring CPPFLAGS to ""  setting EXTRA_CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE"  restoring CFLAGS to ""  setting EXTRA_CFLAGS to " -g -O2 -pthread"  restoring CXXFLAGS to ""  setting EXTRA_CXXFLAGS to ""  restoring LDFLAGS to ""  setting EXTRA_LDFLAGS to " "  restoring LIBS to ""  setting EXTRA_LIBS to ""  restoring INCLUDES to ""  setting EXTRA_INCLUDES to "-I. -I$(top_srcdir)/os/$(OS_DIR) -I$(top_srcdir)/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/pcre/include -I$(top_srcdir)/modules/aaa -I$(top_srcdir)/modules/cache -I$(top_srcdir)/modules/core -I$(top_srcdir)/modules/database -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/ldap -I$(top_builddir)/server -I$(top_srcdir)/modules/loggers -I$(top_srcdir)/modules/lua -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/modules/session -I$(top_srcdir)/modules/ssl -I$(top_srcdir)/modules/test -I$(top_srcdir)/server -I$(top_srcdir)/modules/arch/unix -I$(top_srcdir)/modules/dav/main -I$(top_srcdir)/modules/generators -I$(top_srcdir)/modules/mappers"configure: configure: Construct makefiles and header files...configure: configure: creating config_vars.mkconfigure: creating ./config.statuscreating modules/aaa/Makefilecreating modules/arch/win32/Makefilecreating modules/cache/Makefilecreating modules/core/Makefilecreating modules/database/Makefilecreating modules/debugging/Makefilecreating modules/echo/Makefilecreating modules/examples/Makefilecreating modules/experimental/Makefilecreating modules/filters/Makefilecreating modules/modules/modules/ldap/Makefilecreating modules/loggers/Makefilecreating modules/lua/Makefilecreating modules/metadata/Makefilecreating modules/proxy/Makefilecreating modules/session/Makefilecreating modules/slotmem/Makefilecreating modules/ssl/Makefilecreating modules/test/Makefilecreating os/unix/Makefilecreating modules/proxy/balancers/Makefilecreating server/mpm/Makefilecreating server/mpm/worker/Makefilecreating modules/arch/unix/Makefilecreating modules/cluster/Makefilecreating modules/dav/main/Makefilecreating modules/generators/Makefilecreating modules/dav/fs/Makefilecreating modules/dav/lock/Makefilecreating modules/mappers/Makefilecreating Makefilecreating modules/Makefilecreating srclib/Makefilecreating os/Makefilecreating server/Makefilecreating support/Makefilecreating test/Makefileconfig.status: creating docs/conf/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/creating docs/conf/extra/proxy-html.confconfig.status: creating include/ap_config_layout.hconfig.status: creating support/apxsconfig.status: creating support/apachectlconfig.status: creating support/dbmmanageconfig.status: creating support/envvars-stdconfig.status: creating support/log_server_statusconfig.status: creating support/logresolve.plconfig.status: creating support/phf_abuse_log.cgiconfig.status: creating support/split-logfileconfig.status: creating build/rules.mkconfig.status: creating build/pkg/pkginfoconfig.status: creating build/config_vars.shconfig.status: creating include/ap_config_auto.hconfig.status: executing default commands[root@shop httpd-2.4.18]#

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:ldap+samba
下一篇:Linux/unix-Windows 查看wwn号
相关文章

 发表评论

暂时没有评论,来抢沙发吧~