APR(Apache Portable Run-time Libraries)主要爲上層的應用程序提供一個能夠跨越多操做系統平臺使用的底層支持接口庫,其對於Tomcat最大的做用就是socket調度。例如,在慢速網絡上(模擬Internet)將Tomcat線程數開到300以上,而後模擬大量的併發請求時沒有APR,基本上300個線程很快就會用滿,之後的請求就只好等待,在安裝APR以後,併發的線程數量明顯降低,從原來的300可能會立刻降低到只有幾十,這樣新的請求會毫無阻塞的進來。linux
在早期的Apache版本中,應用程序自己必須可以處理各類具體操做系統平臺的細節,並針對不一樣的平臺調用不一樣的處理函數。隨着Apache的進一步開發,Apache組織決定將這些通用的函數獨立出來並發展成爲一個新的項目,這樣APR的開發就從Apache中獨立出來,Apache僅僅是使用APR而已。sql
雖然在局域網進行本地測試時,高併發的狀況也能夠被很容易的處理,可是在真實的Internet環境下,頁面處理時間只佔0.1\%都不到,絕大部分時間都用來頁面傳輸。若是不用APR,一個線程同一時間只能處理一個用戶,勢必會形成阻塞,因此生產環境下使用APR是很是必要的。express
通常狀況下,APR開發包很容易理解爲僅僅是一個開發包,不過事實上並非。目前,完整的APR實際上包含了三個開發包:apr、apr-util以及apr-iconv,每個開發包分別獨立開發,並擁有本身的版本。apache
\begin{lstlisting}[language=bash]bash
$ cd ~/srccookie
$ wget http://mirrors.aliyun.com/apache/apr/apr-1.5.2.tar.gz網絡
--2015-08-11 23:02:52-- http://mirrors.aliyun.com/apache/apr/apr-1.5.2.tar.gzsession
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 115.28.122.210, 112.124.140.210併發
Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|115.28.122.210|:80... connected.app
HTTP request sent, awaiting response... 200 OK
Length: 1031613 (1007K) [application/octet-stream]
Saving to: ‘apr-1.5.2.tar.gz’
apr-1.5.2.tar.gz 100%[======================>] 1007K 898KB/s in 1.1s
2015-08-11 23:02:53 (898 KB/s) - ‘apr-1.5.2.tar.gz’ saved [1031613/1031613]
$ cd ~/apr-1.5.2
$ ./configure
$ make
$ sudo make install
[sudo] password for test:
make[1]: Entering directory '/home/test/src/apr-1.5.2'
make[1]: Nothing to be done for 'local-all'.
make[1]: Leaving directory '/home/test/src/apr-1.5.2'
/home/test/src/apr-1.5.2/build/mkdir.sh /usr/local/apr/lib /usr/local/apr/bin /usr/local/apr/build-1 \
/usr/local/apr/lib/pkgconfig /usr/local/apr/include/apr-1
mkdir /usr/local/apr
mkdir /usr/local/apr/lib
mkdir /usr/local/apr/bin
mkdir /usr/local/apr/build-1
mkdir /usr/local/apr/lib/pkgconfig
mkdir /usr/local/apr/include
mkdir /usr/local/apr/include/apr-1
/usr/bin/install -c -m 644 /home/test/src/apr-1.5.2/include/apr.h /usr/local/apr/include/apr-1
for f in /home/test/src/apr-1.5.2/include/apr_*.h; do \
/usr/bin/install -c -m 644 ${f} /usr/local/apr/include/apr-1; \
done
/bin/sh /home/test/src/apr-1.5.2/libtool --mode=install /usr/bin/install -c -m 755 libapr-1.la /usr/local/apr/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.so.0.5.2 /usr/local/apr/lib/libapr-1.so.0.5.2
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.5.2 libapr-1.so.0 || { rm -f libapr-1.so.0 && ln -s libapr-1.so.0.5.2 libapr-1.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.5.2 libapr-1.so || { rm -f libapr-1.so && ln -s libapr-1.so.0.5.2 libapr-1.so; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.lai /usr/local/apr/lib/libapr-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.a /usr/local/apr/lib/libapr-1.a
libtool: install: chmod 644 /usr/local/apr/lib/libapr-1.a
libtool: install: ranlib /usr/local/apr/lib/libapr-1.a
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/apr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/apr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 apr.exp /usr/local/apr/lib/apr.exp
/usr/bin/install -c -m 644 apr.pc /usr/local/apr/lib/pkgconfig/apr-1.pc
for f in libtool shlibtool; do \
if test -f ${f}; then /usr/bin/install -c -m 755 ${f} /usr/local/apr/build-1; fi; \
done
/usr/bin/install -c -m 755 /home/test/src/apr-1.5.2/build/mkdir.sh /usr/local/apr/build-1
for f in make_exports.awk make_var_export.awk; do \
/usr/bin/install -c -m 644 /home/test/src/apr-1.5.2/build/${f} /usr/local/apr/build-1; \
done
/usr/bin/install -c -m 644 build/apr_rules.out /usr/local/apr/build-1/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /usr/local/apr/bin/apr-1-config
$ cd ~/src/httpd-2.4.16
$ ./configure
$ checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
configure:
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 -D_REENTRANT -D_GNU_SOURCE"
setting LDFLAGS to " "
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... no
configure: error: APR-util not found. Please read the documentation.
$ cd ~/src
$ wget http://mirrors.aliyun.com/apache/apr/apr-util-1.5.4.tar.gz
--2015-08-11 23:12:26-- http://mirrors.aliyun.com/apache/apr/apr-util-1.5.4.tar.gz
Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 112.124.140.210, 115.28.122.210
Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|112.124.140.210|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 874044 (854K) [application/octet-stream]
Saving to: ‘apr-util-1.5.4.tar.gz’
apr-util-1.5.4.tar.gz 100%[===================>] 853.56K 1.12MB/s in 0.7s
2015-08-11 23:12:27 (1.12 MB/s) - ‘apr-util-1.5.4.tar.gz’ saved [874044/874044]
$ tar zxvf apr-util-1.5.4.tar.gz
$ cd ~/src/apr-util-1.5.4
$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.4
checking for chosen layout... apr-util
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
checking for APR... no
configure: error: APR could not be located. Please use the --with-apr option.
$ ./configure --with-apr=/usr/local/apr
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.4
checking for chosen layout... apr-util
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
checking for APR... yes
setting CPP to "gcc -E"
adding "-pthread" to CFLAGS
setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for default DBM... sdbm (default)
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_open in -lsqlite3... yes
setting LDADD_dbd_sqlite3 to " -lsqlite3"
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.h... no
checking sybdb.h usability... no
checking sybdb.h presence... no
checking for sybdb.h... no
checking freetds/sybdb.h usability... no
checking freetds/sybdb.h presence... no
checking for freetds/sybdb.h... no
checking for odbc_config... no
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking odbc/sql.h usability... no
checking odbc/sql.h presence... no
checking for odbc/sql.h... no
checking Expat 1.95.x... yes
setting APRUTIL_EXPORT_LIBS to "-lexpat"
setting APRUTIL_LIBS to "-lexpat"
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking whether APR has DSO support... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
adding "/usr/local/apr/lib/libapr-1.la" to APRUTIL_LIBS
adding "-lrt" to APRUTIL_LIBS
adding "-lcrypt" to APRUTIL_LIBS
adding "-lpthread" to APRUTIL_LIBS
adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
$ make
$ sudo make install
[sudo] password for test:
/usr/local/apr/build-1/mkdir.sh /usr/local/apr/lib/apr-util-1
mkdir /usr/local/apr/lib/apr-util-1
make[1]: Entering directory '/home/test/src/apr-util-1.5.4'
make[1]: Nothing to be done for 'local-all'.
make[1]: Leaving directory '/home/test/src/apr-util-1.5.4'
/usr/local/apr/build-1/mkdir.sh /usr/local/apr/include/apr-1 /usr/local/apr/lib/pkgconfig \
/usr/local/apr/lib /usr/local/apr/bin
for f in /home/test/src/apr-util-1.5.4/include/*.h /home/test/src/apr-util-1.5.4/include/*.h; do \
/usr/bin/install -c -m 644 ${f} /usr/local/apr/include/apr-1; \
done
/usr/bin/install -c -m 644 apr-util.pc /usr/local/apr/lib/pkgconfig/apr-util-1.pc
list=''; for i in $list; do \
( cd $i ; make DESTDIR= install ); \
done
/bin/sh /usr/local/apr/build-1/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apr/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.so.0.5.4 /usr/local/apr/lib/libaprutil-1.so.0.5.4
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libaprutil-1.so.0.5.4 libaprutil-1.so.0 || { rm -f libaprutil-1.so.0 && ln -s libaprutil-1.so.0.5.4 libaprutil-1.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libaprutil-1.so.0.5.4 libaprutil-1.so || { rm -f libaprutil-1.so && ln -s libaprutil-1.so.0.5.4 libaprutil-1.so; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.lai /usr/local/apr/lib/libaprutil-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.a /usr/local/apr/lib/libaprutil-1.a
libtool: install: chmod 644 /usr/local/apr/lib/libaprutil-1.a
libtool: install: ranlib /usr/local/apr/lib/libaprutil-1.a
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/apr/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/apr/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 aprutil.exp /usr/local/apr/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/apr/bin/apu-1-config
$ cd ~/src/httpd-2.4.16
$ ./configure
$ make
$ sudo make install
Making install in srclib
make[1]: Entering directory '/home/test/src/httpd-2.4.16/srclib'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/srclib'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/srclib'
make[1]: Leaving directory '/home/test/src/httpd-2.4.16/srclib'
Making install in os
make[1]: Entering directory '/home/test/src/httpd-2.4.16/os'
Making install in unix
make[2]: Entering directory '/home/test/src/httpd-2.4.16/os/unix'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/os/unix'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/os/unix'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/os/unix'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/os'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/os'
make[1]: Leaving directory '/home/test/src/httpd-2.4.16/os'
Making install in server
make[1]: Entering directory '/home/test/src/httpd-2.4.16/server'
Making install in mpm
make[2]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm'
Making install in event
make[3]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm/event'
make[4]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm/event'
mkdir /usr/local/apache2
mkdir /usr/local/apache2/modules
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm/event'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm/event'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/server'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/server'
make[1]: Leaving directory '/home/test/src/httpd-2.4.16/server'
Making install in modules
make[1]: Entering directory '/home/test/src/httpd-2.4.16/modules'
Making install in aaa
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/aaa'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/aaa'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_file.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_dbm.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_anon.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_dbd.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_socache.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authn_core.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_host.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_groupfile.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_user.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_dbm.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_owner.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_dbd.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_authz_core.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_access_compat.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_auth_basic.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_auth_form.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_auth_digest.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_allowmethods.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/aaa'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/aaa'
Making install in cache
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/cache'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/cache'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_file_cache.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_cache.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_cache_disk.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_cache_socache.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_socache_shmcb.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_socache_dbm.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_socache_memcache.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/cache'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/cache'
Making install in core
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/core'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/core'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_macro.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/core'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/core'
Making install in database
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/database'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/database'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_dbd.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/database'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/database'
Making install in debugging
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/debugging'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/debugging'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_dumpio.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/debugging'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/debugging'
Making install in filters
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/filters'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/filters'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_buffer.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_ratelimit.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_reqtimeout.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_ext_filter.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_request.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_include.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_filter.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_substitute.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_sed.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_deflate.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/filters'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/filters'
Making install in http
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/http'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/http'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_mime.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/http'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/http'
Making install in loggers
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/loggers'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/loggers'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_log_config.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_log_debug.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_logio.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/loggers'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/loggers'
Making install in metadata
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/metadata'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/metadata'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_env.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_expires.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_headers.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_unique_id.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_setenvif.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_version.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_remoteip.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/metadata'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/metadata'
Making install in proxy
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_connect.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_ftp.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_http.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_fcgi.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_scgi.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_wstunnel.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_ajp.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_balancer.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_proxy_express.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy'
Making install in session
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/session'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/session'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_session.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_session_cookie.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_session_dbd.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/session'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/session'
Making install in slotmem
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/slotmem'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/slotmem'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_slotmem_shm.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/slotmem'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/slotmem'
Making install in ssl
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/ssl'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/ssl'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_ssl.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/ssl'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/ssl'
Making install in proxy/balancers
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_lbmethod_byrequests.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_lbmethod_bytraffic.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_lbmethod_bybusyness.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_lbmethod_heartbeat.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
Making install in arch/unix
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_unixd.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
Making install in dav/main
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/main'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/main'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_dav.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/main'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/main'
Making install in generators
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/generators'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/generators'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_status.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_autoindex.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_info.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_cgid.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/generators'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/generators'
Making install in dav/fs
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_dav_fs.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
Making install in mappers
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/mappers'
/usr/local/apr/build-1/libtool --silent --mode=install install mod_vhost_alias.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_negotiation.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_dir.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_actions.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_speling.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_userdir.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_alias.la /usr/local/apache2/modules/
/usr/local/apr/build-1/libtool --silent --mode=install install mod_rewrite.la /usr/local/apache2/modules/
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules'
make[1]: Leaving directory '/home/test/src/httpd-2.4.16/modules'
Making install in support
make[1]: Entering directory '/home/test/src/httpd-2.4.16/support'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/support'
mkdir /usr/local/apache2/bin
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/support'
make[1]: Leaving directory '/home/test/src/httpd-2.4.16/support'
make[1]: Entering directory '/home/test/src/httpd-2.4.16'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/os'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/os/unix'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/os/unix'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/os'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/server'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm'
make[4]: Entering directory '/home/test/src/httpd-2.4.16/server/mpm/event'
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm/event'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/server/mpm'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/server'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/modules'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/aaa'
Building shared: mod_authn_file.la mod_authn_dbm.la mod_authn_anon.la mod_authn_dbd.la mod_authn_socache.la mod_authn_core.la mod_authz_host.la mod_authz_groupfile.la mod_authz_user.la mod_authz_dbm.la mod_authz_owner.la mod_authz_dbd.la mod_authz_core.la mod_access_compat.la mod_auth_basic.la mod_auth_form.la mod_auth_digest.la mod_allowmethods.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/aaa'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/aaa'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/aaa'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/cache'
Building shared: mod_file_cache.la mod_cache.la mod_cache_disk.la mod_cache_socache.la mod_socache_shmcb.la mod_socache_dbm.la mod_socache_memcache.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/cache'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/cache'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/cache'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/core'
Building shared: mod_macro.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/core'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/core'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/core'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/database'
Building shared: mod_dbd.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/database'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/database'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/database'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/debugging'
Building shared: mod_dumpio.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/debugging'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/debugging'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/debugging'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/filters'
Building shared: mod_buffer.la mod_ratelimit.la mod_reqtimeout.la mod_ext_filter.la mod_request.la mod_include.la mod_filter.la mod_substitute.la mod_sed.la mod_deflate.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/filters'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/filters'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/filters'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/http'
Building shared: mod_mime.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/http'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/http'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/http'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/loggers'
Building shared: mod_log_config.la mod_log_debug.la mod_logio.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/loggers'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/loggers'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/loggers'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/metadata'
Building shared: mod_env.la mod_expires.la mod_headers.la mod_unique_id.la mod_setenvif.la mod_version.la mod_remoteip.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/metadata'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/metadata'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/metadata'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy'
Building shared: mod_proxy.la mod_proxy_connect.la mod_proxy_ftp.la mod_proxy_http.la mod_proxy_fcgi.la mod_proxy_scgi.la mod_proxy_wstunnel.la mod_proxy_ajp.la mod_proxy_balancer.la mod_proxy_express.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/session'
Building shared: mod_session.la mod_session_cookie.la mod_session_dbd.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/session'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/session'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/session'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/slotmem'
Building shared: mod_slotmem_shm.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/slotmem'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/slotmem'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/slotmem'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/ssl'
Building shared: mod_ssl.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/ssl'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/ssl'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/ssl'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
Building shared: mod_lbmethod_byrequests.la mod_lbmethod_bytraffic.la mod_lbmethod_bybusyness.la mod_lbmethod_heartbeat.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/proxy/balancers'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
Building shared: mod_unixd.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/arch/unix'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/main'
Building shared: mod_dav.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/main'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/main'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/main'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/generators'
Building shared: mod_status.la mod_autoindex.la mod_info.la mod_cgid.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/generators'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/generators'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/generators'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
Building shared: mod_dav_fs.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/dav/fs'
make[3]: Entering directory '/home/test/src/httpd-2.4.16/modules/mappers'
Building shared: mod_vhost_alias.la mod_negotiation.la mod_dir.la mod_actions.la mod_speling.la mod_userdir.la mod_alias.la mod_rewrite.la
make[4]: Entering directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[4]: Nothing to be done for 'local-shared-build'.
make[4]: Leaving directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[3]: Leaving directory '/home/test/src/httpd-2.4.16/modules/mappers'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/modules'
make[2]: Entering directory '/home/test/src/httpd-2.4.16/support'
make[2]: Leaving directory '/home/test/src/httpd-2.4.16/support'
Installing configuration files
mkdir /usr/local/apache2/conf
mkdir /usr/local/apache2/conf/extra
mkdir /usr/local/apache2/conf/original
mkdir /usr/local/apache2/conf/original/extra
Installing HTML documents
mkdir /usr/local/apache2/htdocs
Installing error documents
mkdir /usr/local/apache2/error
Installing icons
mkdir /usr/local/apache2/icons
mkdir /usr/local/apache2/logs
Installing CGIs
mkdir /usr/local/apache2/cgi-bin
Installing header files
mkdir /usr/local/apache2/include
Installing build system files
mkdir /usr/local/apache2/build
Installing man pages and online manual
mkdir /usr/local/apache2/man
mkdir /usr/local/apache2/man/man1
mkdir /usr/local/apache2/man/man8
mkdir /usr/local/apache2/manual
make[1]: Leaving directory '/home/test/src/httpd-2.4.16'
$ cd /usr/local/apache2
$ tree -L 1
.
├── bin
├── build
├── cgi-bin
├── conf
├── error
├── htdocs
├── icons
├── include
├── logs
├── man
├── manual
└── modules
12 directories, 0 files
\end{lstlisting}