【2018.05.24学习笔记】【linux基础知识11.6-11.9】

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

11.6 MariaDB安装

1、进入/usr/local/src/ 目录,wget 下载MariaDB的二进制包

[root@lgs-02 ~]# cd /usr/local/src/
[root@lgs-02 src]# ls
mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz
[root@lgs-02 src]# wget https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/bintar-linux-glibc_214-x86_64/mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
--2018-05-24 16:50:59--  https://downloads.mariadb.com/MariaDB/mariadb-10.2.6/bintar-linux-glibc_214-x86_64/mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
正在解析主机 downloads.mariadb.com (downloads.mariadb.com)... 51.255.94.155, 2001:41d0:1004:249b::
正在连接 downloads.mariadb.com (downloads.mariadb.com)|51.255.94.155|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:541295045 (516M) [application/octet-stream]
正在保存至: “mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz”
100%[====================================================================================================================>] 541,295,045  200KB/s 用时 42m 21s

2018-05-24 17:33:22 (208 KB/s) - 已保存 “mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz” [541295045/541295045])

[root@lgs-02 src]# ls
mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz  mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz

2、解压二进制tar包:

[root@lgs-02 src]# tar xzvf mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/apparmor/
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/apparmor/README
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/apparmor/usr.sbin.mysqld
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/apparmor/usr.sbin.mysqld.local
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/selinux/
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/selinux/mariadb-server.fc
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/selinux/mariadb-server.te
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/selinux/README
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/policy/selinux/mariadb.te
mariadb-10.2.6-linux-glibc_214-x86_64/support-files/mysql.server

[root@lgs-02 src]# ls
mariadb-10.2.6-linux-glibc_214-x86_64  mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz  mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz

3、把解压后的二进制包移动到安装目录,并改名为mariadb目录

[root@lgs-02 src]# mv mariadb-10.2.6-linux-glibc_214-x86_64 /usr/local/mariadb/
[root@lgs-02 src]# cd /usr/local/mariadb/
[root@lgs-02 mariadb]# ls
bin      COPYING.thirdparty  data         docs               include         lib  mysql-test  README-wsrep  share      support-files
COPYING  CREDITS             DESTINATION  EXCEPTIONS-CLIENT  INSTALL-BINARY  man  README.md   scripts       sql-bench

4、初始化mariadb二进制包:先进入/usr/local/mariadb/,再初始化。

[root@lgs-02 mariadb]# ./scripts/mysql_install_db --user=mysql --datadir=/data/mariadb/
Installing MariaDB/MySQL system tables in '/data/mariadb/' ...
OK

To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:

'./bin/mysqladmin' -u root password 'new-password'
'./bin/mysqladmin' -u root -h lgs-02 password 'new-password'

Alternatively you can run:
'./bin/mysql_secure_installation'

which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.

See the MariaDB Knowledgebase at http://mariadb.com/kb or the
MySQL manual for more instructions.

You can start the MariaDB daemon with:
cd '.' ; ./bin/mysqld_safe --datadir='/data/mariadb/'

You can test the MariaDB daemon with mysql-test-run.pl
cd './mysql-test' ; perl mysql-test-run.pl

Please report any problems at http://mariadb.org/jira

The latest information about MariaDB is available at http://mariadb.org/.
You can find additional information about the MySQL part at:
http://dev.mysql.com
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/

初始化完毕:进行检验是否安装成功。echo $?:检验上一条命令是否运行成功,0为成功。

[root@lgs-02 mariadb]# echo $?
0

5、拷贝配置文件:有几个不同类型的配置文件模版,可以根据机器的内存大小进行拷贝。配置文件内容基本不用改动。

[root@lgs-02 mariadb]# ls
bin      COPYING.thirdparty  data         docs               include         lib  mysql-test  README-wsrep  share      support-files
COPYING  CREDITS             DESTINATION  EXCEPTIONS-CLIENT  INSTALL-BINARY  man  README.md   scripts       sql-bench
[root@lgs-02 mariadb]# ls support-files/
binary-configure  my-huge.cnf             my-large.cnf   my-small.cnf         mysql-log-rotate  policy     wsrep_notify
magic             my-innodb-heavy-4G.cnf  my-medium.cnf  mysqld_multi.server  mysql.server      wsrep.cnf
[root@lgs-02 mariadb]# cp support-files/my-small.cnf /usr/local/mariadb/my.cnf
[root@lgs-02 mariadb]# ls -l /usr/local/mariadb/my.cnf 
-rw-r--r--. 1 root root 2840 5月  24 18:01 /usr/local/mariadb/my.cnf

[root@lgs-02 mariadb]# vim /usr/local/mariadb/my.cnf 

# Example MySQL config file for small systems.
#
# This is for a system with little memory (<= 64M) where MySQL is only used
# from time to time and it's important that the mysqld daemon
# doesn't use much resources.
#
# MySQL programs look for option files in a set of
# locations which depend on the deployment platform.
# You can copy this option file to one of those
# locations. For information about these locations, see:
# http://dev.mysql.com/doc/mysql/en/option-files.html
#
# In this file, you can use all long options that a program supports.
# If you want to know which options a program supports, run the program
# with the "--help" option.

# The following options will be passed to all MySQL clients
[client]
#password       = your_password
port            = 3306
socket          = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 240K

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
# 
#skip-networking
server-id       = 1

# Uncomment the following if you want to log updates
#log-bin=mysql-bin

# binary logging format - mixed recommended
#binlog_format=mixed

# Causes updates to non-transactional engines using statement format to be
# written directly to binary log. Before using this option make sure that
# there are no dependencies between transactional and non-transactional
# tables such as in the statement INSERT INTO t_myisam SELECT * FROM
# t_innodb; otherwise, slaves may diverge from the master.
#binlog_direct_non_transactional_updates=TRUE

# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /usr/local/mysql/data
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /usr/local/mysql/data
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50

[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[myisamchk]
key_buffer_size = 8M
sort_buffer_size = 8M

[mysqlhotcopy]
interactive-timeout

6、修改启动脚本mariadb:拷贝启动脚本、修改脚本中的mariadb程序目录和数据目录、指定配置文件路径conf=、在start 启动参数 里再指定 --defaults-file=$conf、

[root@lgs-02 mariadb]# cp support-files/mysql.server /etc/init.d/mariadb
[root@lgs-02 mariadb]# ls -l /etc/init.d/mariadb 
-rwxr-xr-x. 1 root root 12227 5月  24 18:03 /etc/init.d/mariadb

[root@lgs-02 ~]# vim /etc/init.d/mariadb 

#!/bin/sh
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
# This file is public domain and comes with NO WARRANTY of any kind

# MySQL daemon start/stop script.

# Usually this is put in /etc/init.d (at least on machines SYSV R4 based
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql.
# When this is done the mysql server will be started when the machine is
# started and shut down when the systems goes down.

# Comments to support chkconfig on RedHat Linux
# chkconfig: 2345 64 36
# description: A very fast and reliable SQL database engine.

# Comments to support LSB init script conventions
### BEGIN INIT INFO
# Provides: mysql
# Required-Start: $local_fs $network $remote_fs
# Should-Start: ypbind nscd ldap ntpd xntpd
# Required-Stop: $local_fs $network $remote_fs
# Default-Start:  2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start and stop MySQL
# Description: MySQL is a very fast and reliable SQL database engine.
### END INIT INFO

# If you install MySQL on some other places than /usr/local/mysql, then you
# have to do one of the following things for this script to work:
#
# - Run this script from within the MySQL installation directory
# - Create a /etc/my.cnf file with the following information:
#   [mysqld]
#   basedir=
# - Add the above to any other configuration file (for example ~/.my.ini)
#   and copy my_print_defaults to /usr/bin
# - Add the path to the mysql-installation-directory to the basedir variable
#   below.
#
# If you want to affect other MySQL variables, you should make your changes
# in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files.

# If you change base dir, you must also change datadir. These may get
# overwritten by settings in the MySQL configuration files.

basedir=/usr/local/mariadb/
datadir=/data/mariadb/
conf=/usr/local/mariadb/my.cnf

case "$mode" in
  'start')
    # Start daemon

    # Safeguard (relative paths, core dumps..)
    cd $basedir

    echo $echo_n "Starting MySQL"
    if test -x $bindir/mysqld_safe
    then
      # Give extra arguments to mysqld with the my.cnf file. This script
      # may be overwritten at next upgrade.
      $bindir/mysqld_safe --defaults-file="$conf" --datadir="$datadir" --pid-file="$mysqld_pid_file_path" "$@" &
      wait_for_ready; return_value=$?

      # Make lock for RedHat / SuSE
      if test -w "$lockdir"
      then
        touch "$lock_file_path"
      fi

      exit $return_value
    else
      log_failure_msg "Couldn't find MySQL server ($bindir/mysqld_safe)"
    fi
    ;;

7、启动Mariadb:先看看有无启动mysql,有的话要先关闭,否则两个会冲突,因为都是监听3306端口。

[root@lgs-02 ~]# ps aux |grep mysql
root        927  0.0  0.0 115388  1628 ?        S    16:49   0:00 /bin/sh /usr/local/mysql//bin/mysqld_safe --datadir=/data/mysql/ --pid-file=/data/mysql//lgs-02.pid
mysql      1146  0.2 24.4 1300780 456164 ?      Sl   16:49   0:11 /usr/local/mysql/bin/mysqld --basedir=/usr/local/mysql --datadir=/data/mysql --plugin-dir=/usr/local/mysql/lib/plugin --user=mysql --log-error=/data/mysql/lgs-02.err --pid-file=/data/mysql//lgs-02.pid
root       3727  0.0  0.0 112680   992 pts/0    S+   18:21   0:00 grep --color=auto mysql
[root@lgs-02 ~]# service mysqld stop
Shutting down MySQL.. SUCCESS! 
[root@lgs-02 ~]# ps aux |grep mysql
root       3752  0.0  0.0 112676   992 pts/0    S+   18:21   0:00 grep --color=auto mysql

[root@lgs-02 ~]# /etc/init.d/mariadb start
Reloading systemd:                                         [  确定  ]
Starting mariadb (via systemctl):                          [  确定  ]
[root@lgs-02 ~]# ps aux |grep mariadb
root       3790  0.5  0.0 115388  1744 ?        S    18:22   0:00 /bin/sh /usr/local/mariadb//bin/mysqld_safe --defaults-file=/usr/local/mariadb/my.cnf --datadir=/data/mariadb/ --pid-file=/data/mariadb//lgs-02.pid
mysql      3906 15.6  3.0 1583776 57820 ?       Sl   18:22   0:01 /usr/local/mariadb/bin/mysqld --defaults-file=/usr/local/mariadb/my.cnf --basedir=/usr/local/mariadb --datadir=/data/mariadb/ --plugin-dir=/usr/local/mariadb/lib/plugin --user=mysql --log-error=/data/mariadb//lgs-02.err --pid-file=/data/mariadb//lgs-02.pid --socket=/tmp/mysql.sock --port=3306
root       3948  0.0  0.0 112680   988 pts/0    S+   18:22   0:00 grep --color=auto mariadb
[root@lgs-02 ~]# netstat -ltnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      896/sshd            
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1228/master         
tcp6       0      0 :::22                   :::*                    LISTEN      896/sshd            
tcp6       0      0 ::1:25                  :::*                    LISTEN      1228/master         
tcp6       0      0 :::3306                 :::*                    LISTEN      3906/mysqld

最好在Mariadb的配置文件里定义一下datadir:因为万一机器上安装了其他的mysql,如果Mariadb没有在自己的配置文件里找到datadir,会去找 /etc/my.cnf 配置文件中的datadir,这个其实是其他mysql服务的datadir。这样就容易导致Mariadb服务的数据存放到错误的目录。

[root@lgs-02 ~]# vim /usr/local/mariadb/my.cnf 

[client]
#password       = your_password
port            = 3306
socket          = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
datadir = /data/mariadb/
port            = 3306
socket          = /tmp/mysql.sock
skip-external-locking
key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 240K

# Don't listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the "enable-named-pipe" option) will render mysqld useless!
# 
#skip-networking
server-id       = 1


11.7/11.8/11.9 Apache安装

Apache其实是一个基金会的名字,httpd才是他真正服务的名字。我们这里使用2.4的版本,用源码包自己编译的方式进行安装。

1、下载源码包:安装httpd,必须先安装apr包和apr-util包,这两个包是通用函数库,让httpd不关心OS底层,方便多平台的移植使用。

[root@lgs-02 ~]# cd /usr/local/src/
[root@lgs-02 src]# ls
mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz  mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz
[root@lgs-02 src]# wget http://mirrors.cnnic.cn/apache/httpd/httpd-2.4.33.tar.gz
--2018-05-24 19:27:15--  http://mirrors.cnnic.cn/apache/httpd/httpd-2.4.33.tar.gz
正在解析主机 mirrors.cnnic.cn (mirrors.cnnic.cn)... 101.6.8.193, 2402:f000:1:408:8100::1
正在连接 mirrors.cnnic.cn (mirrors.cnnic.cn)|101.6.8.193|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:9076901 (8.7M) [application/octet-stream]
正在保存至: “httpd-2.4.33.tar.gz”

100%[====================================================================================================================>] 9,076,901    815KB/s 用时 11s    

2018-05-24 19:27:26 (808 KB/s) - 已保存 “httpd-2.4.33.tar.gz” [9076901/9076901])

[root@lgs-02 src]# wget http://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz
--2018-05-24 19:29:36--  http://mirrors.cnnic.cn/apache/apr/apr-1.6.3.tar.gz
正在解析主机 mirrors.cnnic.cn (mirrors.cnnic.cn)... 101.6.8.193, 2402:f000:1:408:8100::1
正在连接 mirrors.cnnic.cn (mirrors.cnnic.cn)|101.6.8.193|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:1072661 (1.0M) [application/octet-stream]
正在保存至: “apr-1.6.3.tar.gz”

100%[====================================================================================================================>] 1,072,661    722KB/s 用时 1.5s   

2018-05-24 19:29:38 (722 KB/s) - 已保存 “apr-1.6.3.tar.gz” [1072661/1072661])

[root@lgs-02 src]# wget http://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.bz2
--2018-05-24 19:29:51--  http://mirrors.cnnic.cn/apache/apr/apr-util-1.6.1.tar.bz2
正在解析主机 mirrors.cnnic.cn (mirrors.cnnic.cn)... 101.6.8.193, 2402:f000:1:408:8100::1
正在连接 mirrors.cnnic.cn (mirrors.cnnic.cn)|101.6.8.193|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:428595 (419K) [application/octet-stream]
正在保存至: “apr-util-1.6.1.tar.bz2”

100%[====================================================================================================================>] 428,595      679KB/s 用时 0.6s   

2018-05-24 19:29:52 (679 KB/s) - 已保存 “apr-util-1.6.1.tar.bz2” [428595/428595])

[root@lgs-02 src]# ls
apr-1.6.3.tar.gz  apr-util-1.6.1.tar.bz2  httpd-2.4.33.tar.gz  mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz  mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz

2、解压三个tar包:

[root@lgs-02 src]# tar xzvf httpd-2.4.33.tar.gz
httpd-2.4.33/docs/manual/caching.html
httpd-2.4.33/docs/manual/custom-error.html.ja.utf8
httpd-2.4.33/docs/manual/new_features_2_2.html.tr.utf8
httpd-2.4.33/docs/manual/stopping.html.es
httpd-2.4.33/docs/manual/new_features_2_0.html
httpd-2.4.33/docs/manual/urlmapping.html
httpd-2.4.33/buildconf
httpd-2.4.33/Makefile.in
httpd-2.4.33/srclib/
httpd-2.4.33/srclib/Makefile.in

[root@lgs-02 src]# tar xzvf apr-1.6.3.tar.gz
apr-1.6.3/build/lineends.pl
apr-1.6.3/build/aprapp.dep
apr-1.6.3/build/libtool.m4
apr-1.6.3/build/preaprapp.dsp
apr-1.6.3/build/get-version.sh
apr-1.6.3/build/cvtdsp.pl
apr-1.6.3/build/buildcheck.sh
apr-1.6.3/build/libaprapp.dep
apr-1.6.3/build/ltmain.sh
apr-1.6.3/build/PrintPath
apr-1.6.3/build/libaprapp.dsp
apr-1.6.3/apr.dsw
apr-1.6.3/libapr.dep

[root@lgs-02 src]# tar xjvf apr-util-1.6.1.tar.bz2
apr-util-1.6.1/dbm/apr_dbm.c
apr-util-1.6.1/dbm/apr_dbm_sdbm.c
apr-util-1.6.1/dbm/apr_dbm_db.dsp
apr-util-1.6.1/dbm/apr_dbm_db.dep
apr-util-1.6.1/dbm/apr_dbm_berkeleydb.c
apr-util-1.6.1/dbm/apr_dbm_gdbm.dsp
apr-util-1.6.1/dbm/NWGNUdbmdb
apr-util-1.6.1/dbm/apr_dbm_gdbm.mak

[root@lgs-02 src]# ls
apr-1.6.3         apr-util-1.6.1          httpd-2.4.33         mariadb-10.2.6-linux-glibc_214-x86_64.tar.gz
apr-1.6.3.tar.gz  apr-util-1.6.1.tar.bz2  httpd-2.4.33.tar.gz  mysql-5.6.36-linux-glibc2.5-x86_64.tar.gz

3、编译、安装apr、apr-util:要先进入他们的源码包的目录下编译安装。

[root@lgs-02 src]# cd apr-1.6.3
[root@lgs-02 apr-1.6.3]# ls
apr-config.in  apr.pc.in  build.conf        configure     encoding    libapr.dsp  Makefile.in   network_io     random        support     tools
apr.dep        apr.spec   build-outputs.mk  configure.in  file_io     libapr.mak  Makefile.win  NOTICE         README        tables      user
apr.dsp        atomic     CHANGES           docs          helpers     libapr.rc   memory        NWGNUmakefile  README.cmake  test
apr.dsw        build      CMakeLists.txt    dso           include     LICENSE     misc          passwd         shmem         threadproc
apr.mak        buildconf  config.layout     emacs-mode    libapr.dep  locks       mmap          poll           strings       time
[root@lgs-02 apr-1.6.3]# ./configure --prefix=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring APR library
Platform: x86_64-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.6.3
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/usr/local/src/apr-1.6.3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

安装apr报错:提示没有gcc、cc、cl.exe、C compiler,则需要安装gcc。

[root@lgs-02 apr-1.6.3]# yum list |grep -i gcc
libgcc.x86_64                               4.8.5-16.el7               @anaconda
compat-gcc-44.x86_64                        4.4.7-8.el7                base     
compat-gcc-44-c++.x86_64                    4.4.7-8.el7                base     
compat-gcc-44-gfortran.x86_64               4.4.7-8.el7                base     
gcc.x86_64                                  4.8.5-28.el7_5.1           updates  
gcc-c++.x86_64                              4.8.5-28.el7_5.1           updates  
gcc-gfortran.x86_64                         4.8.5-28.el7_5.1           updates  
gcc-gnat.x86_64                             4.8.5-28.el7_5.1           updates  
gcc-go.x86_64                               4.8.5-28.el7_5.1           updates  
gcc-objc.x86_64                             4.8.5-28.el7_5.1           updates  
gcc-objc++.x86_64                           4.8.5-28.el7_5.1           updates  
gcc-plugin-devel.x86_64                     4.8.5-28.el7_5.1           updates  
libgcc.i686                                 4.8.5-28.el7_5.1           updates  
libgcc.x86_64                               4.8.5-28.el7_5.1           updates  
relaxngcc.noarch                            1.12-6.el7                 base     
relaxngcc-javadoc.noarch                    1.12-6.el7                 base     
[root@lgs-02 apr-1.6.3]# yum install -y gcc
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 gcc.x86_64.0.4.8.5-28.el7_5.1 将被 安装
--> 正在处理依赖关系 libgomp = 4.8.5-28.el7_5.1,它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在处理依赖关系 cpp = 4.8.5-28.el7_5.1,它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在处理依赖关系 libgcc >= 4.8.5-28.el7_5.1,它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在处理依赖关系 glibc-devel >= 2.2.90-12,它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在处理依赖关系 libmpfr.so.4()(64bit),它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在处理依赖关系 libmpc.so.3()(64bit),它被软件包 gcc-4.8.5-28.el7_5.1.x86_64 需要
--> 正在检查事务
---> 软件包 cpp.x86_64.0.4.8.5-28.el7_5.1 将被 安装
---> 软件包 glibc-devel.x86_64.0.2.17-222.el7 将被 安装
--> 正在处理依赖关系 glibc-headers = 2.17-222.el7,它被软件包 glibc-devel-2.17-222.el7.x86_64 需要
--> 正在处理依赖关系 glibc = 2.17-222.el7,它被软件包 glibc-devel-2.17-222.el7.x86_64 需要
--> 正在处理依赖关系 glibc-headers,它被软件包 glibc-devel-2.17-222.el7.x86_64 需要
---> 软件包 libgcc.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 libgcc.x86_64.0.4.8.5-28.el7_5.1 将被 更新
---> 软件包 libgomp.x86_64.0.4.8.5-16.el7 将被 升级
---> 软件包 libgomp.x86_64.0.4.8.5-28.el7_5.1 将被 更新
---> 软件包 libmpc.x86_64.0.1.0.1-3.el7 将被 安装
---> 软件包 mpfr.x86_64.0.3.1.1-4.el7 将被 安装
--> 正在检查事务
---> 软件包 glibc.x86_64.0.2.17-196.el7 将被 升级
--> 正在处理依赖关系 glibc = 2.17-196.el7,它被软件包 glibc-common-2.17-196.el7.x86_64 需要
---> 软件包 glibc.x86_64.0.2.17-222.el7 将被 更新
---> 软件包 glibc-headers.x86_64.0.2.17-222.el7 将被 安装
--> 正在处理依赖关系 kernel-headers >= 2.2.1,它被软件包 glibc-headers-2.17-222.el7.x86_64 需要
--> 正在处理依赖关系 kernel-headers,它被软件包 glibc-headers-2.17-222.el7.x86_64 需要
--> 正在检查事务
---> 软件包 glibc-common.x86_64.0.2.17-196.el7 将被 升级
---> 软件包 glibc-common.x86_64.0.2.17-222.el7 将被 更新
---> 软件包 kernel-headers.x86_64.0.3.10.0-862.3.2.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

=====================================================================================================================================================================
 Package                                   架构                              版本                                           源                                  大小
=====================================================================================================================================================================
正在安装:
 gcc                                       x86_64                            4.8.5-28.el7_5.1                               updates                             16 M
为依赖而安装:
 cpp                                       x86_64                            4.8.5-28.el7_5.1                               updates                            5.9 M
 glibc-devel                               x86_64                            2.17-222.el7                                   base                               1.1 M
 glibc-headers                             x86_64                            2.17-222.el7                                   base                               678 k
 kernel-headers                            x86_64                            3.10.0-862.3.2.el7                             updates                            7.1 M
 libmpc                                    x86_64                            1.0.1-3.el7                                    base                                51 k
 mpfr                                      x86_64                            3.1.1-4.el7                                    base                               203 k
为依赖而更新:
 glibc                                     x86_64                            2.17-222.el7                                   base                               3.6 M
 glibc-common                              x86_64                            2.17-222.el7                                   base                                11 M
 libgcc                                    x86_64                            4.8.5-28.el7_5.1                               updates                            101 k
 libgomp                                   x86_64                            4.8.5-28.el7_5.1                               updates                            156 k

事务概要
=====================================================================================================================================================================
安装  1 软件包 (+6 依赖软件包)
升级           ( 4 依赖软件包)

总下载量:47 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): glibc-devel-2.17-222.el7.x86_64.rpm                                                                                                   | 1.1 MB  00:00:01     
(2/11): glibc-headers-2.17-222.el7.x86_64.rpm                                                                                                 | 678 kB  00:00:00     
(3/11): glibc-2.17-222.el7.x86_64.rpm                                                                                                         | 3.6 MB  00:00:02     
(4/11): libgcc-4.8.5-28.el7_5.1.x86_64.rpm                                                                                                    | 101 kB  00:00:00     
(5/11): cpp-4.8.5-28.el7_5.1.x86_64.rpm                                                                                                       | 5.9 MB  00:00:04     
(6/11): libmpc-1.0.1-3.el7.x86_64.rpm                                                                                                         |  51 kB  00:00:00     
(7/11): libgomp-4.8.5-28.el7_5.1.x86_64.rpm                                                                                                   | 156 kB  00:00:00     
(8/11): mpfr-3.1.1-4.el7.x86_64.rpm                                                                                                           | 203 kB  00:00:00     
(9/11): glibc-common-2.17-222.el7.x86_64.rpm                                                                                                  |  11 MB  00:00:06     
(10/11): kernel-headers-3.10.0-862.3.2.el7.x86_64.rpm                                                                                         | 7.1 MB  00:00:05     
(11/11): gcc-4.8.5-28.el7_5.1.x86_64.rpm                                                                                                      |  16 MB  00:00:12     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                 3.7 MB/s |  47 MB  00:00:12     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在更新    : libgcc-4.8.5-28.el7_5.1.x86_64                                                                                                                  1/15 
  正在更新    : glibc-common-2.17-222.el7.x86_64                                                                                                                2/15 
  正在更新    : glibc-2.17-222.el7.x86_64                                                                                                                       3/15 
  正在安装    : mpfr-3.1.1-4.el7.x86_64                                                                                                                         4/15 
  正在安装    : libmpc-1.0.1-3.el7.x86_64                                                                                                                       5/15 
  正在安装    : cpp-4.8.5-28.el7_5.1.x86_64                                                                                                                     6/15 
  正在更新    : libgomp-4.8.5-28.el7_5.1.x86_64                                                                                                                 7/15 
  正在安装    : kernel-headers-3.10.0-862.3.2.el7.x86_64                                                                                                        8/15 
  正在安装    : glibc-headers-2.17-222.el7.x86_64                                                                                                               9/15 
  正在安装    : glibc-devel-2.17-222.el7.x86_64                                                                                                                10/15 
  正在安装    : gcc-4.8.5-28.el7_5.1.x86_64                                                                                                                    11/15 
  清理        : libgomp-4.8.5-16.el7.x86_64                                                                                                                    12/15 
  清理        : glibc-common-2.17-196.el7.x86_64                                                                                                               13/15 
  清理        : glibc-2.17-196.el7.x86_64                                                                                                                      14/15 
  清理        : libgcc-4.8.5-16.el7.x86_64                                                                                                                     15/15 
  验证中      : libgomp-4.8.5-28.el7_5.1.x86_64                                                                                                                 1/15 
  验证中      : libgcc-4.8.5-28.el7_5.1.x86_64                                                                                                                  2/15 
  验证中      : gcc-4.8.5-28.el7_5.1.x86_64                                                                                                                     3/15 
  验证中      : glibc-devel-2.17-222.el7.x86_64                                                                                                                 4/15 
  验证中      : mpfr-3.1.1-4.el7.x86_64                                                                                                                         5/15 
  验证中      : cpp-4.8.5-28.el7_5.1.x86_64                                                                                                                     6/15 
  验证中      : glibc-headers-2.17-222.el7.x86_64                                                                                                               7/15 
  验证中      : glibc-common-2.17-222.el7.x86_64                                                                                                                8/15 
  验证中      : glibc-2.17-222.el7.x86_64                                                                                                                       9/15 
  验证中      : kernel-headers-3.10.0-862.3.2.el7.x86_64                                                                                                       10/15 
  验证中      : libmpc-1.0.1-3.el7.x86_64                                                                                                                      11/15 
  验证中      : libgcc-4.8.5-16.el7.x86_64                                                                                                                     12/15 
  验证中      : glibc-common-2.17-196.el7.x86_64                                                                                                               13/15 
  验证中      : libgomp-4.8.5-16.el7.x86_64                                                                                                                    14/15 
  验证中      : glibc-2.17-196.el7.x86_64                                                                                                                      15/15 

已安装:
  gcc.x86_64 0:4.8.5-28.el7_5.1                                                                                                                                      

作为依赖被安装:
  cpp.x86_64 0:4.8.5-28.el7_5.1      glibc-devel.x86_64 0:2.17-222.el7      glibc-headers.x86_64 0:2.17-222.el7      kernel-headers.x86_64 0:3.10.0-862.3.2.el7     
  libmpc.x86_64 0:1.0.1-3.el7        mpfr.x86_64 0:3.1.1-4.el7             

作为依赖被升级:
  glibc.x86_64 0:2.17-222.el7         glibc-common.x86_64 0:2.17-222.el7         libgcc.x86_64 0:4.8.5-28.el7_5.1         libgomp.x86_64 0:4.8.5-28.el7_5.1        

完毕!

再继续安装apr:

[root@lgs-02 apr-1.6.3]# ./configure --prefix=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
Configuring APR library
Platform: x86_64-pc-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.6.3
checking for chosen layout... apr
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 langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
  setting have_unicode_fs to "0"
  setting apr_has_xthread_files to "0"
  setting apr_procattr_user_set_requires_password to "0"
  setting apr_thread_func to ""
  setting apr_has_user to "1"

Restore user-defined environment settings...
  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to "-DLINUX -D_REENTRANT -D_GNU_SOURCE"
  restoring CFLAGS to ""
  setting EXTRA_CFLAGS to "-g -O2 -pthread"
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to ""
  restoring LIBS to ""
  setting EXTRA_LIBS to "-lrt -lcrypt  -lpthread -ldl"
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/apr.h
config.status: creating build/apr_rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
rm: cannot remove 'libtoolT': No such file or directory
config.status: executing default commands
[root@lgs-02 apr-1.6.3]# echo $?
0

[root@lgs-02 apr-1.6.3]# make && make install
mkdir /usr/local/apr/include/apr-1
/usr/bin/install -c -m 644 /usr/local/src/apr-1.6.3/include/apr.h /usr/local/apr/include/apr-1
for f in /usr/local/src/apr-1.6.3/include/apr_*.h; do \
    /usr/bin/install -c -m 644 ${f} /usr/local/apr/include/apr-1; \
done
/bin/sh /usr/local/src/apr-1.6.3/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.6.3 /usr/local/apr/lib/libapr-1.so.0.6.3
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.6.3 libapr-1.so.0 || { rm -f libapr-1.so.0 && ln -s libapr-1.so.0.6.3 libapr-1.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.6.3 libapr-1.so || { rm -f libapr-1.so && ln -s libapr-1.so.0.6.3 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="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/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 /usr/local/src/apr-1.6.3/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 /usr/local/src/apr-1.6.3/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 644 /usr/local/src/apr-1.6.3/build/apr_common.m4 /usr/local/apr/build-1
/usr/bin/install -c -m 644 /usr/local/src/apr-1.6.3/build/find_apr.m4 /usr/local/apr/build-1
/usr/bin/install -c -m 755 apr-config.out /usr/local/apr/bin/apr-1-config
[root@lgs-02 apr-1.6.3]# echo $?
0

再安装apr-util:

[root@lgs-02 apr-1.6.3]# cd ..
[root@lgs-02 src]# cd apr-util-1.6.1
[root@lgs-02 apr-util-1.6.1]# ls
aprutil.dep     apr-util.spec  build.conf        configure     docs               ldap            LICENSE       NOTICE          redis            xlate
aprutil.dsp     apu-config.in  build-outputs.mk  configure.in  encoding           libaprutil.dep  Makefile.in   NWGNUmakefile   renames_pending  xml
aprutil.dsw     buckets        CHANGES           crypto        export_vars.sh.in  libaprutil.dsp  Makefile.win  README          strmatch
aprutil.mak     build          CMakeLists.txt    dbd           hooks              libaprutil.mak  memcache      README.cmake    test
apr-util.pc.in  buildconf      config.layout     dbm           include            libaprutil.rc   misc          README.FREETDS  uri
[root@lgs-02 apr-util-1.6.1]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.6.1
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-pc-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... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.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... no
checking old Debian-packaged expat... no
checking old FreeBSD-packaged expat... no
checking Expat 1.0/1.1... no
  setting LDFLAGS to "-L/usr/local/lib"
  adding "-I/usr/local/include" to CPPFLAGS
checking Expat 1.95.x in /usr/local... no
  nulling LDFLAGS
  removed "-I/usr/local/include" from CPPFLAGS
  setting APRUTIL_EXPORT_LIBS to ""
  setting APRUTIL_LIBS to ""
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
checking whether the compiler handles weak symbols... yes
checking for memset_s support... no
checking for explicit_bzero support... no
  setting APRUTIL_LIBS to " /usr/local/apr/lib/libapr-1.la -lrt -lcrypt  -lpthread -ldl"
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
[root@lgs-02 apr-util-1.6.1]# echo $?
0

[root@lgs-02 apr-util-1.6.1]# make && make install
1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1    -o xlate/xlate.lo -c xlate/xlate.c && touch xlate/xlate.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apr-util-1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1    -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
xml/apr_xml.c:35:19: 致命错误:expat.h:没有那个文件或目录
 #include 
                   ^
编译中断。
make[1]: *** [xml/apr_xml.lo] 错误 1
make[1]: 离开目录“/usr/local/src/apr-util-1.6.1”
make: *** [all-recursive] 错误 1

make &&make install 编译报错:没有expat.t。安装他

[root@lgs-02 apr-util-1.6.1]# yum list |grep expat
expat.x86_64                                2.1.0-10.el7_3             @anaconda
expat.i686                                  2.1.0-10.el7_3             base     
expat-devel.i686                            2.1.0-10.el7_3             base     
expat-devel.x86_64                          2.1.0-10.el7_3             base     
expat-static.i686                           2.1.0-10.el7_3             base     
expat-static.x86_64                         2.1.0-10.el7_3             base     
[root@lgs-02 apr-util-1.6.1]# yum install -y expat-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 expat-devel.x86_64.0.2.1.0-10.el7_3 将被 安装
--> 解决依赖关系完成

依赖关系解决

=====================================================================================================================================================================
 Package                                  架构                                版本                                           源                                 大小
=====================================================================================================================================================================
正在安装:
 expat-devel                              x86_64                              2.1.0-10.el7_3                                 base                               57 k

事务概要
=====================================================================================================================================================================
安装  1 软件包

总下载量:57 k
安装大小:178 k
Downloading packages:
expat-devel-2.1.0-10.el7_3.x86_64.rpm                                                                                                         |  57 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : expat-devel-2.1.0-10.el7_3.x86_64                                                                                                                1/1 
  验证中      : expat-devel-2.1.0-10.el7_3.x86_64                                                                                                                1/1 

已安装:
  expat-devel.x86_64 0:2.1.0-10.el7_3                                                                                                                                

完毕!

再进行编译make install:

[root@lgs-02 apr-util-1.6.1]# make && make install
make[1]: 进入目录“/usr/local/src/apr-util-1.6.1”
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apr-util-1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1    -o xml/apr_xml.lo -c xml/apr_xml.c && touch xml/apr_xml.lo
/bin/sh /usr/local/apr/build-1/libtool --silent --mode=link gcc -g -O2 -pthread   -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apr-util-1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1     -version-info 6:1:6    -o libaprutil-1.la -rpath /usr/local/apr-util/lib buckets/apr_brigade.lo buckets/apr_buckets.lo buckets/apr_buckets_alloc.lo buckets/apr_buckets_eos.lo buckets/apr_buckets_file.lo buckets/apr_buckets_flush.lo buckets/apr_buckets_heap.lo buckets/apr_buckets_mmap.lo buckets/apr_buckets_pipe.lo buckets/apr_buckets_pool.lo buckets/apr_buckets_refcount.lo buckets/apr_buckets_simple.lo buckets/apr_buckets_socket.lo crypto/apr_crypto.lo crypto/apr_md4.lo crypto/apr_md5.lo crypto/apr_passwd.lo crypto/apr_sha1.lo crypto/apr_siphash.lo crypto/crypt_blowfish.lo crypto/getuuid.lo crypto/uuid.lo dbd/apr_dbd.lo dbm/apr_dbm.lo dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo hooks/apr_hooks.lo ldap/apr_ldap_stub.lo ldap/apr_ldap_url.lo memcache/apr_memcache.lo misc/apr_date.lo misc/apr_queue.lo misc/apr_reslist.lo misc/apr_rmm.lo misc/apr_thread_pool.lo misc/apu_dso.lo misc/apu_version.lo redis/apr_redis.lo strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo xml/apr_xml.lo    -lrt -lcrypt  -lpthread -ldl  /usr/local/apr/lib/libapr-1.la -lrt -lcrypt  -lpthread -ldl
gawk -f /usr/local/apr/build-1/make_exports.awk /usr/local/src/apr-util-1.6.1/include/apr_anylock.h /usr/local/src/apr-util-1.6.1/include/apr_base64.h /usr/local/src/apr-util-1.6.1/include/apr_buckets.h /usr/local/src/apr-util-1.6.1/include/apr_crypto.h /usr/local/src/apr-util-1.6.1/include/apr_date.h /usr/local/src/apr-util-1.6.1/include/apr_dbd.h /usr/local/src/apr-util-1.6.1/include/apr_dbm.h /usr/local/src/apr-util-1.6.1/include/apr_hooks.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_init.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_option.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_rebind.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_url.h /usr/local/src/apr-util-1.6.1/include/apr_md4.h /usr/local/src/apr-util-1.6.1/include/apr_md5.h /usr/local/src/apr-util-1.6.1/include/apr_memcache.h /usr/local/src/apr-util-1.6.1/include/apr_optional.h /usr/local/src/apr-util-1.6.1/include/apr_optional_hooks.h /usr/local/src/apr-util-1.6.1/include/apr_queue.h /usr/local/src/apr-util-1.6.1/include/apr_redis.h /usr/local/src/apr-util-1.6.1/include/apr_reslist.h /usr/local/src/apr-util-1.6.1/include/apr_rmm.h /usr/local/src/apr-util-1.6.1/include/apr_sdbm.h /usr/local/src/apr-util-1.6.1/include/apr_sha1.h /usr/local/src/apr-util-1.6.1/include/apr_siphash.h /usr/local/src/apr-util-1.6.1/include/apr_strmatch.h /usr/local/src/apr-util-1.6.1/include/apr_thread_pool.h /usr/local/src/apr-util-1.6.1/include/apr_uri.h /usr/local/src/apr-util-1.6.1/include/apr_uuid.h /usr/local/src/apr-util-1.6.1/include/apr_xlate.h /usr/local/src/apr-util-1.6.1/include/apr_xml.h /usr/local/src/apr-util-1.6.1/include/apu_errno.h /usr/local/src/apr-util-1.6.1/include/apu_version.h /usr/local/src/apr-util-1.6.1/include/private/apr_crypto_internal.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbd_internal.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbd_odbc_v2.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbm_private.h /usr/local/src/apr-util-1.6.1/include/private/apu_internal.h > exports.c
gawk -f /usr/local/apr/build-1/make_var_export.awk /usr/local/src/apr-util-1.6.1/include/apr_anylock.h /usr/local/src/apr-util-1.6.1/include/apr_base64.h /usr/local/src/apr-util-1.6.1/include/apr_buckets.h /usr/local/src/apr-util-1.6.1/include/apr_crypto.h /usr/local/src/apr-util-1.6.1/include/apr_date.h /usr/local/src/apr-util-1.6.1/include/apr_dbd.h /usr/local/src/apr-util-1.6.1/include/apr_dbm.h /usr/local/src/apr-util-1.6.1/include/apr_hooks.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_init.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_option.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_rebind.h /usr/local/src/apr-util-1.6.1/include/apr_ldap_url.h /usr/local/src/apr-util-1.6.1/include/apr_md4.h /usr/local/src/apr-util-1.6.1/include/apr_md5.h /usr/local/src/apr-util-1.6.1/include/apr_memcache.h /usr/local/src/apr-util-1.6.1/include/apr_optional.h /usr/local/src/apr-util-1.6.1/include/apr_optional_hooks.h /usr/local/src/apr-util-1.6.1/include/apr_queue.h /usr/local/src/apr-util-1.6.1/include/apr_redis.h /usr/local/src/apr-util-1.6.1/include/apr_reslist.h /usr/local/src/apr-util-1.6.1/include/apr_rmm.h /usr/local/src/apr-util-1.6.1/include/apr_sdbm.h /usr/local/src/apr-util-1.6.1/include/apr_sha1.h /usr/local/src/apr-util-1.6.1/include/apr_siphash.h /usr/local/src/apr-util-1.6.1/include/apr_strmatch.h /usr/local/src/apr-util-1.6.1/include/apr_thread_pool.h /usr/local/src/apr-util-1.6.1/include/apr_uri.h /usr/local/src/apr-util-1.6.1/include/apr_uuid.h /usr/local/src/apr-util-1.6.1/include/apr_xlate.h /usr/local/src/apr-util-1.6.1/include/apr_xml.h /usr/local/src/apr-util-1.6.1/include/apu_errno.h /usr/local/src/apr-util-1.6.1/include/apu_version.h /usr/local/src/apr-util-1.6.1/include/private/apr_crypto_internal.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbd_internal.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbd_odbc_v2.h /usr/local/src/apr-util-1.6.1/include/private/apr_dbm_private.h /usr/local/src/apr-util-1.6.1/include/private/apu_internal.h > export_vars.c
gcc -E -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apr-util-1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1    exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> aprutil.exp
gcc -E -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -I/usr/local/src/apr-util-1.6.1/include -I/usr/local/src/apr-util-1.6.1/include/private  -I/usr/local/apr/include/apr-1    export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
sed 's,^\(location=\).*$,\1installed,' < apu-1-config > apu-config.out
make[1]: 离开目录“/usr/local/src/apr-util-1.6.1”
make[1]: 进入目录“/usr/local/src/apr-util-1.6.1”
make[1]: 对“local-all”无需做任何事。
make[1]: 离开目录“/usr/local/src/apr-util-1.6.1”
/usr/local/apr/build-1/mkdir.sh /usr/local/apr-util/include/apr-1 /usr/local/apr-util/lib/pkgconfig \
	     /usr/local/apr-util/lib /usr/local/apr-util/bin
mkdir /usr/local/apr-util
mkdir /usr/local/apr-util/include
mkdir /usr/local/apr-util/include/apr-1
mkdir /usr/local/apr-util/lib
mkdir /usr/local/apr-util/lib/pkgconfig
mkdir /usr/local/apr-util/bin
for f in /usr/local/src/apr-util-1.6.1/include/*.h /usr/local/src/apr-util-1.6.1/include/*.h; do \
	/usr/bin/install -c -m 644 ${f} /usr/local/apr-util/include/apr-1; \
done
/usr/bin/install -c -m 644 apr-util.pc /usr/local/apr-util/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-util/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.so.0.6.1 /usr/local/apr-util/lib/libaprutil-1.so.0.6.1
libtool: install: (cd /usr/local/apr-util/lib && { ln -s -f libaprutil-1.so.0.6.1 libaprutil-1.so.0 || { rm -f libaprutil-1.so.0 && ln -s libaprutil-1.so.0.6.1 libaprutil-1.so.0; }; })
libtool: install: (cd /usr/local/apr-util/lib && { ln -s -f libaprutil-1.so.0.6.1 libaprutil-1.so || { rm -f libaprutil-1.so && ln -s libaprutil-1.so.0.6.1 libaprutil-1.so; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.lai /usr/local/apr-util/lib/libaprutil-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.a /usr/local/apr-util/lib/libaprutil-1.a
libtool: install: chmod 644 /usr/local/apr-util/lib/libaprutil-1.a
libtool: install: ranlib /usr/local/apr-util/lib/libaprutil-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/sbin" ldconfig -n /usr/local/apr-util/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/apr-util/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-util/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/apr-util/bin/apu-1-config
[root@lgs-02 apr-util-1.6.1]# echo $?
0

4、配置、编译、安装httpd:

[root@lgs-02 httpd-2.4.33]# ./configure --prefix=/usr/local/apache2.4/ --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --enable-so --enable-mods-shared=most
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-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-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... yes
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
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... false
configure: error: pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/

报错:缺少PCRE,查找属于什么包,安装他:

[root@lgs-02 httpd-2.4.33]# yum list |grep -i pcre
pcre.x86_64                                 8.32-17.el7                @anaconda
pcre.i686                                   8.32-17.el7                base     
pcre-devel.i686                             8.32-17.el7                base     
pcre-devel.x86_64                           8.32-17.el7                base     
pcre-static.i686                            8.32-17.el7                base     
pcre-static.x86_64                          8.32-17.el7                base     
pcre-tools.x86_64                           8.32-17.el7                base     
pcre2.i686                                  10.23-2.el7                base     
pcre2.x86_64                                10.23-2.el7                base     
pcre2-devel.i686                            10.23-2.el7                base     
pcre2-devel.x86_64                          10.23-2.el7                base     
pcre2-static.i686                           10.23-2.el7                base     
pcre2-static.x86_64                         10.23-2.el7                base     
pcre2-tools.x86_64                          10.23-2.el7                base     
pcre2-utf16.i686                            10.23-2.el7                base     
pcre2-utf16.x86_64                          10.23-2.el7                base     
pcre2-utf32.i686                            10.23-2.el7                base     
pcre2-utf32.x86_64                          10.23-2.el7                base     
[root@lgs-02 httpd-2.4.33]# yum install -y pcre-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 pcre-devel.x86_64.0.8.32-17.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

=====================================================================================================================================================================
 Package                                  架构                                 版本                                         源                                  大小
=====================================================================================================================================================================
正在安装:
 pcre-devel                               x86_64                               8.32-17.el7                                  base                               480 k

事务概要
=====================================================================================================================================================================
安装  1 软件包

总下载量:480 k
安装大小:1.4 M
Downloading packages:
pcre-devel-8.32-17.el7.x86_64.rpm                                                                                                             | 480 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : pcre-devel-8.32-17.el7.x86_64                                                                                                                    1/1 
  验证中      : pcre-devel-8.32-17.el7.x86_64                                                                                                                    1/1 

已安装:
  pcre-devel.x86_64 0:8.32-17.el7                                                                                                                                    

完毕!

继续配置httpd的编译文件:

[root@lgs-02 httpd-2.4.33]# ./configure --prefix=/usr/local/apache2.4/ --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --enable-so --enable-mods-shared=most
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-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-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... yes
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
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... /usr/bin/pcre-config
configure: Using external PCRE library from /usr/bin/pcre-config
  setting PCRE_INCLUDES to ""
  setting PCRE_LIBS to "-lpcre"
configure: 
configure: Configuring Apache httpd...
configure: 
  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
configure: 
configure: Applying OS-specific hints for httpd...
configure: 
  forcing SINGLE_LISTEN_UNSERIALIZED_ACCEPT to "1"
  forcing AP_NONBLOCK_WHEN_MULTI_LISTEN to "1"
checking for rm... /usr/bin/rm
checking for pkg-config... /usr/bin/pkg-config
checking for rsync... /usr/bin/rsync
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for lynx... no
checking for links... no
checking for elinks... no
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for APR version 1.3.0 or later... yes
checking for APR-util version 1.3.0 or later... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/processor.h usability... no
checking sys/processor.h presence... no
checking for sys/processor.h... no
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sdt.h usability... no
checking sys/sdt.h presence... no
checking for sys/sdt.h... no
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... yes
checking for library containing sqrt... -lm
checking for library containing crypt... -lcrypt
checking for getpwnam... yes
checking for getgrnam... yes
checking for initgroups... yes
checking for bindprocessor... no
checking for prctl... yes
checking for timegm... yes
checking for getpgid... yes
checking for fopen64... yes
checking for getloadavg... yes
checking for void pointer length... no
checking for gettid()... yes
checking for tm_gmtoff in struct tm... yes
checking whether to enable mod_authn_file... shared
checking whether to enable mod_authn_dbm... shared (most)
checking whether to enable mod_authn_anon... shared (most)
checking whether to enable mod_authn_dbd... shared (most)
checking whether to enable mod_authn_socache... shared (most)
checking whether to enable mod_authn_core... shared
checking whether to enable mod_authz_host... shared
checking whether to enable mod_authz_groupfile... shared
checking whether to enable mod_authz_user... shared
checking whether to enable mod_authz_dbm... shared (most)
checking whether to enable mod_authz_owner... shared (most)
checking whether to enable mod_authz_dbd... shared (most)
checking whether to enable mod_authz_core... shared
checking whether to enable mod_authnz_ldap... checking dependencies
checking for ldap support in apr/apr-util... no
configure: WARNING: apr/apr-util is compiled without ldap support
checking whether to enable mod_authnz_ldap... no (disabled)
checking whether to enable mod_authnz_fcgi... no
checking whether to enable mod_access_compat... shared
checking whether to enable mod_auth_basic... shared
checking whether to enable mod_auth_form... shared (most)
checking whether to enable mod_auth_digest... checking dependencies
checking whether to enable mod_auth_digest... shared (most)
checking whether to enable mod_allowmethods... shared (most)
  adding "-I$(top_srcdir)/modules/aaa" to INCLUDES
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... shared (most)
checking whether to enable mod_cache... shared (most)
checking whether to enable mod_cache_disk... checking dependencies
checking whether to enable mod_cache_disk... shared (most)
checking whether to enable mod_cache_socache... shared (most)
checking whether to enable mod_socache_shmcb... shared (most)
checking whether to enable mod_socache_dbm... shared (most)
checking whether to enable mod_socache_memcache... shared (most)
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 dependencies
checking whether to enable mod_watchdog... shared (most)
checking whether to enable mod_macro... shared (most)
  adding "-I$(top_srcdir)/modules/core" to INCLUDES
checking whether to enable mod_dbd... shared (most)
  adding "-I$(top_srcdir)/modules/database" to INCLUDES
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... shared (most)
checking whether to enable mod_echo... no
checking whether to enable mod_example_hooks... no
checking whether to enable mod_case_filter... no
checking whether to enable mod_case_filter_in... no
checking whether to enable mod_example_ipc... no
checking whether to enable mod_buffer... shared (most)
checking whether to enable mod_data... no
checking whether to enable mod_ratelimit... shared (most)
checking whether to enable mod_reqtimeout... shared
checking whether to enable mod_ext_filter... shared (most)
checking whether to enable mod_request... shared (most)
checking whether to enable mod_include... shared (most)
checking whether to enable mod_filter... shared
checking whether to enable mod_reflector... no
checking whether to enable mod_substitute... shared (most)
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 (most)
checking whether to enable mod_charset_lite... no
checking whether to enable mod_deflate... checking dependencies
checking for zlib location... not found
checking whether to enable mod_deflate... no (disabled)
checking whether to enable mod_xml2enc... no
checking whether to enable mod_proxy_html... no
checking whether to enable mod_brotli... checking dependencies
checking for Brotli library >= 0.6.0 via pkg-config... no
checking whether to enable mod_brotli... no (disabled)
  adding "-I$(top_srcdir)/modules/filters" to INCLUDES
checking whether to enable mod_http... static
  adding "$(MOD_HTTP_LDADD)" to AP_LIBS
checking whether to enable mod_mime... shared
checking whether to enable mod_ldap... checking dependencies
checking for ldap support in apr/apr-util... (cached) no
configure: WARNING: apr/apr-util is compiled without ldap support
checking whether to enable mod_ldap... no (disabled)
  adding "-I$(top_srcdir)/modules/ldap" to INCLUDES
checking whether to enable mod_log_config... shared
checking whether to enable mod_log_debug... shared (most)
checking whether to enable mod_log_forensic... no
checking whether to enable mod_logio... shared (most)
  adding "-I$(top_srcdir)/modules/loggers" to INCLUDES
checking whether to enable mod_lua... no
  adding "-I$(top_srcdir)/modules/lua" to INCLUDES
checking whether to enable mod_env... shared
checking whether to enable mod_mime_magic... no
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... shared (most)
checking whether to enable mod_headers... shared
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... no
checking whether to enable mod_unique_id... shared (most)
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_remoteip... shared (most)
checking whether to enable mod_proxy... shared (most)
checking whether to enable mod_proxy_connect... checking dependencies
checking whether to enable mod_proxy_connect... shared (most)
checking whether to enable mod_proxy_ftp... checking dependencies
checking whether to enable mod_proxy_ftp... shared (most)
checking whether to enable mod_proxy_http... checking dependencies
checking whether to enable mod_proxy_http... shared (most)
checking whether to enable mod_proxy_fcgi... checking dependencies
checking whether to enable mod_proxy_fcgi... shared (most)
checking whether to enable mod_proxy_scgi... checking dependencies
checking whether to enable mod_proxy_scgi... shared (most)
checking whether to enable mod_proxy_uwsgi... checking dependencies
checking whether to enable mod_proxy_uwsgi... shared (most)
checking whether to enable mod_proxy_fdpass... checking dependencies
checking whether CMSG_DATA is declared... yes
checking whether to enable mod_proxy_fdpass... shared (most)
checking whether to enable mod_proxy_wstunnel... checking dependencies
checking whether to enable mod_proxy_wstunnel... shared (most)
checking whether to enable mod_proxy_ajp... checking dependencies
checking whether to enable mod_proxy_ajp... shared (most)
checking whether to enable mod_proxy_balancer... checking dependencies
checking whether to enable mod_proxy_balancer... shared (most)
checking whether to enable mod_proxy_express... checking dependencies
checking whether to enable mod_proxy_express... shared (most)
checking whether to enable mod_proxy_hcheck... checking dependencies
checking whether to enable mod_proxy_hcheck... shared (most)
  adding "-I$(top_srcdir)/modules/proxy" to INCLUDES
checking whether to enable mod_session... shared (most)
checking whether to enable mod_session_cookie... checking dependencies
checking whether to enable mod_session_cookie... shared (most)
configure: WARNING: Your APR does not include SSL/EVP support. To enable it: configure --with-crypto
checking whether to enable mod_session_crypto... no
checking whether to enable mod_session_dbd... checking dependencies
checking whether to enable mod_session_dbd... shared (most)
  adding "-I$(top_srcdir)/modules/session" to INCLUDES
checking whether to enable mod_slotmem_shm... shared (most)
checking whether to enable mod_slotmem_plain... no
checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
checking for OpenSSL version >= 0.9.8a... FAILED
configure: WARNING: OpenSSL version is too old
no
checking whether to enable mod_ssl... no (disabled)
  adding "-I$(top_srcdir)/modules/ssl" to INCLUDES
checking whether to enable mod_optional_hook_export... no
checking whether to enable mod_optional_hook_import... no
checking whether to enable mod_optional_fn_import... no
checking whether to enable mod_optional_fn_export... no
checking whether to enable mod_dialup... no
  adding "-I$(top_srcdir)/modules/test" to INCLUDES
checking for target platform... unix
checking for rlim_t... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/sem.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking for setsid... yes
checking for killpg... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking for unistd.h... (cached) yes
checking for syslog... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
  adding "-I$(top_srcdir)/server" to INCLUDES
checking whether APR supports thread-safe pollsets... checking for kqueue... no
checking for port_create... no
checking for epoll_create... yes
yes
checking if event MPM supports this platform... yes
checking if mpmt_os2 MPM supports this platform... no
checking if prefork MPM supports this platform... yes
checking if WinNT MPM supports this platform... no
checking if worker MPM supports this platform... yes
checking whether to enable mod_http2... checking dependencies
checking for OpenSSL... (cached) no
checking for nghttp2... checking for user-provided nghttp2 base directory... none
checking for pkg-config along ... checking for nghttp2 version >= 1.2.1... FAILED
configure: WARNING: nghttp2 version is too old
no
checking whether to enable mod_http2... no (disabled)
checking whether to enable mod_proxy_http2... no
  adding "-I$(top_srcdir)/modules/md" to INCLUDES
checking whether to enable mod_md... checking dependencies
checking for OpenSSL... (cached) no
configure: WARNING: libssl (or compatible) not found
checking for jansson... checking for user-provided jansson base directory... none
checking for pkg-config along ... FAILED
no
configure: WARNING: libjansson not found
checking for curl... checking for user-provided curl base directory... none
checking for pkg-config along ... checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
checking for curl version >= 7.50... FAILED
no
configure: WARNING: libcurl not found
checking for arc4random_buf... no
checking whether to enable mod_md... no (disabled)
checking whether to enable mod_lbmethod_byrequests... checking dependencies
checking whether to enable mod_lbmethod_byrequests... shared
checking whether to enable mod_lbmethod_bytraffic... checking dependencies
checking whether to enable mod_lbmethod_bytraffic... shared
checking whether to enable mod_lbmethod_bybusyness... checking dependencies
checking whether to enable mod_lbmethod_bybusyness... shared
checking whether to enable mod_lbmethod_heartbeat... checking dependencies
checking whether to enable mod_lbmethod_heartbeat... shared
checking which MPM to use by default... event
  adding "$(MOD_MPM_EVENT_LDADD)" to AP_LIBS
checking for pthread_kill... yes
checking whether to enable mod_unixd... shared
checking whether to enable mod_privileges... no
  adding "-I$(top_srcdir)/modules/arch/unix" to INCLUDES
checking whether to enable mod_heartbeat... no
checking whether to enable mod_heartmonitor... no
checking whether to enable mod_dav... shared (most)
  adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... shared
checking whether to enable mod_autoindex... shared
checking whether to enable mod_asis... no
checking whether to enable mod_info... shared (most)
checking whether to enable mod_suexec... no
checking whether to enable mod_cgid... checking dependencies
checking whether to enable mod_cgid... shared (most)
checking whether to enable mod_cgi... no
  adding "-I$(top_srcdir)/modules/generators" to INCLUDES
checking whether to enable mod_dav_fs... checking dependencies
checking whether to enable mod_dav_fs... shared
checking whether to enable mod_dav_lock... no
checking for extra modules... none
checking whether to enable mod_vhost_alias... shared (most)
checking whether to enable mod_negotiation... shared (most)
checking whether to enable mod_dir... shared
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... shared (most)
checking whether to enable mod_speling... shared (most)
checking whether to enable mod_userdir... shared (most)
checking whether to enable mod_alias... shared
checking whether to enable mod_rewrite... shared (most)
  adding "-I$(top_srcdir)/modules/mappers" to INCLUDES
configure: 
configure: Restore user-defined environment settings...
configure: 
  restoring CPPFLAGS to ""
  setting EXTRA_CPPFLAGS to " -DLINUX -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$(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_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/md -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.mk
configure: creating ./config.status
creating modules/aaa/Makefile
creating modules/arch/win32/Makefile
creating modules/cache/Makefile
creating modules/core/Makefile
creating modules/database/Makefile
creating modules/debugging/Makefile
creating modules/echo/Makefile
creating modules/examples/Makefile
creating modules/experimental/Makefile
creating modules/filters/Makefile
creating modules/http/Makefile
creating modules/ldap/Makefile
creating modules/loggers/Makefile
creating modules/lua/Makefile
creating modules/metadata/Makefile
creating modules/proxy/Makefile
creating modules/session/Makefile
creating modules/slotmem/Makefile
creating modules/ssl/Makefile
creating modules/test/Makefile
creating os/unix/Makefile
creating modules/http2/Makefile
creating modules/md/Makefile
creating modules/proxy/balancers/Makefile
creating server/mpm/Makefile
creating server/mpm/event/Makefile
creating modules/arch/unix/Makefile
creating modules/cluster/Makefile
creating modules/dav/main/Makefile
creating modules/generators/Makefile
creating modules/dav/fs/Makefile
creating modules/dav/lock/Makefile
creating modules/mappers/Makefile
creating Makefile
creating modules/Makefile
creating srclib/Makefile
creating os/Makefile
creating server/Makefile
creating support/Makefile
creating test/Makefile
config.status: creating docs/conf/httpd.conf
config.status: creating docs/conf/extra/httpd-autoindex.conf
config.status: creating docs/conf/extra/httpd-dav.conf
config.status: creating docs/conf/extra/httpd-default.conf
config.status: creating docs/conf/extra/httpd-info.conf
config.status: creating docs/conf/extra/httpd-languages.conf
config.status: creating docs/conf/extra/httpd-manual.conf
config.status: creating docs/conf/extra/httpd-mpm.conf
config.status: creating docs/conf/extra/httpd-multilang-errordoc.conf
config.status: creating docs/conf/extra/httpd-ssl.conf
config.status: creating docs/conf/extra/httpd-userdir.conf
config.status: creating docs/conf/extra/httpd-vhosts.conf
config.status: creating docs/conf/extra/proxy-html.conf
config.status: creating include/ap_config_layout.h
config.status: creating support/apxs
config.status: creating support/apachectl
config.status: creating support/dbmmanage
config.status: creating support/envvars-std
config.status: creating support/log_server_status
config.status: creating support/logresolve.pl
config.status: creating support/phf_abuse_log.cgi
config.status: creating support/split-logfile
config.status: creating build/rules.mk
config.status: creating build/pkg/pkginfo
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: executing default commands
configure: summary of build options:

    Server Version: 2.4.33
    Install prefix: /usr/local/apache2.4/
    C compiler:     gcc -std=gnu99
    CFLAGS:          -g -O2 -pthread  
    CPPFLAGS:        -DLINUX -D_REENTRANT -D_GNU_SOURCE  
    LDFLAGS:           
    LIBS:             
    C preprocessor: gcc -E

[root@lgs-02 httpd-2.4.33]# echo $?
0

6、生成编译文件后,编译生成二进制文件。

[root@lgs-02 httpd-2.4.33]# make
Making all in srclib
make[1]: 进入目录“/usr/local/src/httpd-2.4.33/srclib”
make[1]: 离开目录“/usr/local/src/httpd-2.4.33/srclib”
Making all in os
make[1]: 进入目录“/usr/local/src/httpd-2.4.33/os”
Making all in unix
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/os/unix”
make[3]: 进入目录“/usr/local/src/httpd-2.4.33/os/unix”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c unixd.c && touch unixd.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread         -o libos.la -static  unixd.lo  
make[3]: 离开目录“/usr/local/src/httpd-2.4.33/os/unix”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/os/unix”
make[1]: 离开目录“/usr/local/src/httpd-2.4.33/os”
Making all in server
make[1]: 进入目录“/usr/local/src/httpd-2.4.33/server”
Making all in mpm
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/server/mpm”
Making all in event
make[3]: 进入目录“/usr/local/src/httpd-2.4.33/server/mpm/event”
make[4]: 进入目录“/usr/local/src/httpd-2.4.33/server/mpm/event”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c event.c && touch event.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread   -static      -o libevent.la event.lo
make[4]: 离开目录“/usr/local/src/httpd-2.4.33/server/mpm/event”
make[3]: 离开目录“/usr/local/src/httpd-2.4.33/server/mpm/event”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/server/mpm”
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/server”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c config.c && touch config.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c log.c && touch log.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c main.c && touch main.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c vhost.c && touch vhost.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c gen_test_char.c && touch gen_test_char.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread         -o gen_test_char  gen_test_char.lo 
./gen_test_char > test_char.h
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util.c && touch util.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_fcgi.c && touch util_fcgi.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_script.c && touch util_script.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_md5.c && touch util_md5.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_cfgtree.c && touch util_cfgtree.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_ebcdic.c && touch util_ebcdic.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_time.c && touch util_time.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c connection.c && touch connection.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c listen.c && touch listen.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_mutex.c && touch util_mutex.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c mpm_common.c && touch mpm_common.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c mpm_unix.c && touch mpm_unix.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c mpm_fdqueue.c && touch mpm_fdqueue.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_charset.c && touch util_charset.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_cookies.c && touch util_cookies.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_debug.c && touch util_debug.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_xml.c && touch util_xml.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_filter.c && touch util_filter.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_pcre.c && touch util_pcre.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_regex.c && touch util_regex.lo
( for dir in /usr/local/src/httpd-2.4.33/include /usr/local/src/httpd-2.4.33/os/unix; do \
      ls $dir/*.h ; \
  done; \
  echo "/usr/local/src/httpd-2.4.33/server/mpm_fdqueue.h"; \
  for dir in /usr/local/apr/include/apr-1 /usr/local/apr-util/include/apr-1; do \
      ls $dir/ap[ru].h $dir/ap[ru]_*.h 2>/dev/null; \
  done; \
) | sed -e s,//,/,g | sort -u > export_files
gawk -f /usr/local/src/httpd-2.4.33/build/make_exports.awk `cat export_files` > exports.c
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c exports.c && touch exports.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c scoreboard.c && touch scoreboard.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c error_bucket.c && touch error_bucket.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c protocol.c && touch protocol.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c core.c && touch core.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c request.c && touch request.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c provider.c && touch provider.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c eoc_bucket.c && touch eoc_bucket.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c eor_bucket.c && touch eor_bucket.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c core_filters.c && touch core_filters.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_expr_parse.c && touch util_expr_parse.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_expr_scan.c && touch util_expr_scan.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c util_expr_eval.c && touch util_expr_eval.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread         -o libmain.la -static  config.lo log.lo main.lo vhost.lo util.lo util_fcgi.lo util_script.lo util_md5.lo util_cfgtree.lo util_ebcdic.lo util_time.lo connection.lo listen.lo util_mutex.lo mpm_common.lo mpm_unix.lo mpm_fdqueue.lo util_charset.lo util_cookies.lo util_debug.lo util_xml.lo util_filter.lo util_pcre.lo util_regex.lo exports.lo scoreboard.lo error_bucket.lo protocol.lo core.lo request.lo provider.lo eoc_bucket.lo eor_bucket.lo core_filters.lo util_expr_parse.lo util_expr_scan.lo util_expr_eval.lo  
gawk -f /usr/local/src/httpd-2.4.33/build/make_var_export.awk `cat export_files` > export_vars.h
gcc -E    -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers exports.c | grep "ap_hack_" | grep -v apr_ | sed -e 's/^.*[)]\(.*\);$/\1/' >> httpd.exp
gcc -E    -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> httpd.exp
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/server”
make[1]: 离开目录“/usr/local/src/httpd-2.4.33/server”
Making all in modules
make[1]: 进入目录“/usr/local/src/httpd-2.4.33/modules”
Making all in aaa
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/aaa”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/aaa”
Making all in cache
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/cache”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/cache”
Making all in core
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/core”
make[3]: 进入目录“/usr/local/src/httpd-2.4.33/modules/core”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c mod_so.c && touch mod_so.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread   -static      -o libmod_so.la mod_so.lo 
make[3]: 离开目录“/usr/local/src/httpd-2.4.33/modules/core”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/core”
Making all in database
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/database”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/database”
Making all in debugging
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/debugging”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/debugging”
Making all in filters
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/filters”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/filters”
Making all in http
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/http”
make[3]: 进入目录“/usr/local/src/httpd-2.4.33/modules/http”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c http_core.c && touch http_core.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c http_protocol.c && touch http_protocol.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c http_request.c && touch http_request.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c http_filters.c && touch http_filters.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c chunk_filter.c && touch chunk_filter.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c byterange_filter.c && touch byterange_filter.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c http_etag.c && touch http_etag.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread   -static      -o libmod_http.la http_core.lo http_protocol.lo http_request.lo http_filters.lo chunk_filter.lo byterange_filter.lo http_etag.lo 
make[3]: 离开目录“/usr/local/src/httpd-2.4.33/modules/http”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/http”
Making all in loggers
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/loggers”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/loggers”
Making all in metadata
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/metadata”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/metadata”
Making all in proxy
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/proxy”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/proxy”
Making all in session
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/session”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/session”
Making all in slotmem
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/slotmem”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/slotmem”
Making all in proxy/balancers
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/proxy/balancers”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/proxy/balancers”
Making all in arch/unix
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/arch/unix”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/arch/unix”
Making all in dav/main
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/dav/main”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/dav/main”
Making all in generators
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/generators”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/generators”
Making all in dav/fs
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/dav/fs”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/dav/fs”
Making all in mappers
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/modules/mappers”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules/mappers”
make[1]: 离开目录“/usr/local/src/httpd-2.4.33/modules”
Making all in support
make[1]: 进入目录“/usr/local/src/httpd-2.4.33/support”
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/support”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c htpasswd.c && touch htpasswd.lo
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99  -g -O2 -pthread      -DLINUX -D_REENTRANT -D_GNU_SOURCE     -I. -I/usr/local/src/httpd-2.4.33/os/unix -I/usr/local/src/httpd-2.4.33/include -I/usr/local/apr/include/apr-1 -I/usr/local/apr-util/include/apr-1 -I/usr/local/src/httpd-2.4.33/modules/aaa -I/usr/local/src/httpd-2.4.33/modules/cache -I/usr/local/src/httpd-2.4.33/modules/core -I/usr/local/src/httpd-2.4.33/modules/database -I/usr/local/src/httpd-2.4.33/modules/filters -I/usr/local/src/httpd-2.4.33/modules/ldap -I/usr/local/src/httpd-2.4.33/modules/loggers -I/usr/local/src/httpd-2.4.33/modules/lua -I/usr/local/src/httpd-2.4.33/modules/proxy -I/usr/local/src/httpd-2.4.33/modules/session -I/usr/local/src/httpd-2.4.33/modules/ssl -I/usr/local/src/httpd-2.4.33/modules/test -I/usr/local/src/httpd-2.4.33/server -I/usr/local/src/httpd-2.4.33/modules/md -I/usr/local/src/httpd-2.4.33/modules/arch/unix -I/usr/local/src/httpd-2.4.33/modules/dav/main -I/usr/local/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers  -prefer-non-pic -static -c passwd_common.c && touch passwd_common.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread         -o htpasswd  htpasswd.lo passwd_common.lo       /usr/local/apr-util/lib/libaprutil-1.la /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl -lcrypt
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_GetErrorCode'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_SetEntityDeclHandler'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_ParserCreate'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_ParserFree'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_SetUserData'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_StopParser'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_Parse'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_ErrorString'
/usr/local/apr-util/lib/libaprutil-1.so: undefined reference to `XML_SetElementHandler'
collect2: error: ld returned 1 exit status
make[2]: *** [htpasswd] 错误 1
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/support”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/usr/local/src/httpd-2.4.33/support”
make: *** [all-recursive] 错误 1

make报错:安装libxml2-devel、libtool-ltdl-devel。

[root@lgs-02 httpd-2.4.33]# yum list|grep -i xml
libxml2.x86_64                              2.9.1-6.el7_2.3            @anaconda
xmlsec1.x86_64                              1.2.20-5.el7               @anaconda
xmlsec1-openssl.x86_64                      1.2.20-5.el7               @anaconda
jetty-xml.noarch                            9.0.3-8.el7                base     
kdepimlibs-kxmlrpcclient.i686               4.10.5-4.el7               base     
kdepimlibs-kxmlrpcclient.x86_64             4.10.5-4.el7               base     
kdesdk-poxml.x86_64                         4.10.5-8.el7               base     
kxml.noarch                                 2.3.0-5.el7                base     
kxml-javadoc.noarch                         2.3.0-5.el7                base     
libxml2.i686                                2.9.1-6.el7_2.3            base     
libxml2-devel.i686                          2.9.1-6.el7_2.3            base     
libxml2-devel.x86_64                        2.9.1-6.el7_2.3            base     
libxml2-python.x86_64                       2.9.1-6.el7_2.3            base     
libxml2-static.i686                         2.9.1-6.el7_2.3            base     
libxml2-static.x86_64                       2.9.1-6.el7_2.3            base     
msv-xmlgen.noarch                           1:2013.5.1-7.el7           base     
ocaml-xml-light.x86_64                      2.3-0.8.svn234.el7         base     
ocaml-xml-light-devel.x86_64                2.3-0.8.svn234.el7         base     
pcp-export-pcp2xml.x86_64                   3.12.2-5.el7               base     
pentaho-libxml.noarch                       1.1.3-10.el7               base     
pentaho-libxml-javadoc.noarch               1.1.3-10.el7               base     
perl-XML-Catalog.noarch                     1.0.1-1.el7                base     
perl-XML-DOM.noarch                         1.44-19.el7                base     
perl-XML-Dumper.noarch                      0.81-17.el7                base     
perl-XML-Filter-BufferText.noarch           1.01-17.el7                base     
perl-XML-Grove.noarch                       0.46alpha-52.el7           base     
perl-XML-Handler-YAWriter.noarch            0.23-18.el7                base     
perl-XML-LibXML.x86_64                      1:2.0018-5.el7             base     
perl-XML-LibXSLT.x86_64                     1.80-4.el7                 base     
perl-XML-NamespaceSupport.noarch            1.11-10.el7                base     
perl-XML-Parser.x86_64                      2.41-10.el7                base     
perl-XML-RegExp.noarch                      0.04-2.el7                 base     
perl-XML-SAX.noarch                         0.99-9.el7                 base     
perl-XML-SAX-Base.noarch                    1.08-7.el7                 base     
perl-XML-SAX-Writer.noarch                  0.53-4.el7                 base     
perl-XML-Simple.noarch                      2.20-5.el7                 base     
perl-XML-TokeParser.noarch                  0.05-12.el7                base     
perl-XML-TreeBuilder.noarch                 4.2-1.el7                  base     
perl-XML-Twig.noarch                        3.44-2.el7                 base     
perl-XML-Writer.noarch                      0.623-3.el7                base     
perl-XML-XPath.noarch                       1.13-22.el7                base     
perl-XML-XPathEngine.noarch                 0.14-3.el7                 base     
perl-libxml-perl.noarch                     0.08-19.el7                base     
php-xml.x86_64                              5.4.16-45.el7              base     
php-xmlrpc.x86_64                           5.4.16-45.el7              base     
python-lxml.x86_64                          3.2.1-4.el7                base     
python-lxml-docs.noarch                     3.2.1-4.el7                base     
qt5-qtxmlpatterns.i686                      5.9.2-1.el7                base     
qt5-qtxmlpatterns.x86_64                    5.9.2-1.el7                base     
qt5-qtxmlpatterns-devel.i686                5.9.2-1.el7                base     
qt5-qtxmlpatterns-devel.x86_64              5.9.2-1.el7                base     
qt5-qtxmlpatterns-doc.noarch                5.9.2-1.el7                base     
qt5-qtxmlpatterns-examples.x86_64           5.9.2-1.el7                base     
texlive-collection-htmlxml.noarch           2:svn28251.0-38.20130427_r30134.el7
texlive-xmltex.noarch                       2:svn28273.0.8-38.el7      base     
texlive-xmltex-bin.noarch                   2:svn3006.0-38.20130427_r30134.el7
texlive-xmltex-doc.noarch                   2:svn28273.0.8-38.el7      base     
xml-common.noarch                           0.6.3-39.el7               base     
xml-commons-apis.noarch                     1.4.01-16.el7              base     
xml-commons-apis-javadoc.noarch             1.4.01-16.el7              base     
xml-commons-apis-manual.noarch              1.4.01-16.el7              base     
xml-commons-apis12.noarch                   1.2.04-10.el7              base     
xml-commons-apis12-javadoc.noarch           1.2.04-10.el7              base     
xml-commons-apis12-manual.noarch            1.2.04-10.el7              base     
xml-commons-resolver.noarch                 1.2-15.el7                 base     
xml-commons-resolver-javadoc.noarch         1.2-15.el7                 base     
xml-stylebook.noarch                        1.0-0.14.b3_xalan2.svn313293.el7
xml-stylebook-demo.noarch                   1.0-0.14.b3_xalan2.svn313293.el7
xml-stylebook-javadoc.noarch                1.0-0.14.b3_xalan2.svn313293.el7
xmlgraphics-commons.noarch                  1.5-3.el7                  base     
xmlgraphics-commons-javadoc.noarch          1.5-3.el7                  base     
xmlrpc-c.i686                               1.32.5-1905.svn2451.el7    base     
xmlrpc-c.x86_64                             1.32.5-1905.svn2451.el7    base     
xmlrpc-c-apps.x86_64                        1.32.5-1905.svn2451.el7    base     
xmlrpc-c-c++.i686                           1.32.5-1905.svn2451.el7    base     
xmlrpc-c-c++.x86_64                         1.32.5-1905.svn2451.el7    base     
xmlrpc-c-client.i686                        1.32.5-1905.svn2451.el7    base     
xmlrpc-c-client.x86_64                      1.32.5-1905.svn2451.el7    base     
xmlrpc-c-client++.i686                      1.32.5-1905.svn2451.el7    base     
xmlrpc-c-client++.x86_64                    1.32.5-1905.svn2451.el7    base     
xmlrpc-c-devel.i686                         1.32.5-1905.svn2451.el7    base     
xmlrpc-c-devel.x86_64                       1.32.5-1905.svn2451.el7    base     
xmlrpc-client.noarch                        1:3.1.3-8.el7              base     
xmlrpc-common.noarch                        1:3.1.3-8.el7              base     
xmlrpc-javadoc.noarch                       1:3.1.3-8.el7              base     
xmlrpc-server.noarch                        1:3.1.3-8.el7              base     
xmlsec1.i686                                1.2.20-7.el7_4             base     
xmlsec1.x86_64                              1.2.20-7.el7_4             base     
xmlsec1-devel.i686                          1.2.20-7.el7_4             base     
xmlsec1-devel.x86_64                        1.2.20-7.el7_4             base     
xmlsec1-gcrypt.i686                         1.2.20-7.el7_4             base     
xmlsec1-gcrypt.x86_64                       1.2.20-7.el7_4             base     
xmlsec1-gcrypt-devel.i686                   1.2.20-7.el7_4             base     
xmlsec1-gcrypt-devel.x86_64                 1.2.20-7.el7_4             base     
xmlsec1-gnutls.i686                         1.2.20-7.el7_4             base     
xmlsec1-gnutls.x86_64                       1.2.20-7.el7_4             base     
xmlsec1-gnutls-devel.i686                   1.2.20-7.el7_4             base     
xmlsec1-gnutls-devel.x86_64                 1.2.20-7.el7_4             base     
xmlsec1-nss.i686                            1.2.20-7.el7_4             base     
xmlsec1-nss.x86_64                          1.2.20-7.el7_4             base     
xmlsec1-nss-devel.i686                      1.2.20-7.el7_4             base     
xmlsec1-nss-devel.x86_64                    1.2.20-7.el7_4             base     
xmlsec1-openssl.i686                        1.2.20-7.el7_4             base     
xmlsec1-openssl.x86_64                      1.2.20-7.el7_4             base     
xmlsec1-openssl-devel.i686                  1.2.20-7.el7_4             base     
xmlsec1-openssl-devel.x86_64                1.2.20-7.el7_4             base     
xmlto.x86_64                                0.0.25-7.el7               base     
xmlto-tex.noarch                            0.0.25-7.el7               base     
xmlto-xhtml.noarch                          0.0.25-7.el7               base     
xmltoman.noarch                             0.4-9.el7                  base     
xmlunit.noarch                              1.4-6.el7                  base     
xmlunit-javadoc.noarch                      1.4-6.el7                  base     
[root@lgs-02 httpd-2.4.33]# yum install -y libxml2
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
软件包 libxml2-2.9.1-6.el7_2.3.x86_64 已安装并且是最新版本
无须任何处理
[root@lgs-02 httpd-2.4.33]# yum install -y libxml2-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
正在解决依赖关系
--> 正在检查事务
---> 软件包 libxml2-devel.x86_64.0.2.9.1-6.el7_2.3 将被 安装
--> 正在处理依赖关系 zlib-devel,它被软件包 libxml2-devel-2.9.1-6.el7_2.3.x86_64 需要
--> 正在处理依赖关系 xz-devel,它被软件包 libxml2-devel-2.9.1-6.el7_2.3.x86_64 需要
--> 正在检查事务
---> 软件包 xz-devel.x86_64.0.5.2.2-1.el7 将被 安装
---> 软件包 zlib-devel.x86_64.0.1.2.7-17.el7 将被 安装
--> 解决依赖关系完成

依赖关系解决

=====================================================================================================================================================================
 Package                                    架构                                版本                                         源                                 大小
=====================================================================================================================================================================
正在安装:
 libxml2-devel                              x86_64                              2.9.1-6.el7_2.3                              base                              1.0 M
为依赖而安装:
 xz-devel                                   x86_64                              5.2.2-1.el7                                  base                               46 k
 zlib-devel                                 x86_64                              1.2.7-17.el7                                 base                               50 k

事务概要
=====================================================================================================================================================================
安装  1 软件包 (+2 依赖软件包)

总下载量:1.1 M
安装大小:9.1 M
Downloading packages:
(1/3): zlib-devel-1.2.7-17.el7.x86_64.rpm                                                                                                     |  50 kB  00:00:00     
(2/3): xz-devel-5.2.2-1.el7.x86_64.rpm                                                                                                        |  46 kB  00:00:00     
(3/3): libxml2-devel-2.9.1-6.el7_2.3.x86_64.rpm                                                                                               | 1.0 MB  00:00:01     
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
总计                                                                                                                                 834 kB/s | 1.1 MB  00:00:01     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  正在安装    : zlib-devel-1.2.7-17.el7.x86_64                                                                                                                   1/3 
  正在安装    : xz-devel-5.2.2-1.el7.x86_64                                                                                                                      2/3 
  正在安装    : libxml2-devel-2.9.1-6.el7_2.3.x86_64                                                                                                             3/3 
  验证中      : xz-devel-5.2.2-1.el7.x86_64                                                                                                                      1/3 
  验证中      : zlib-devel-1.2.7-17.el7.x86_64                                                                                                                   2/3 
  验证中      : libxml2-devel-2.9.1-6.el7_2.3.x86_64                                                                                                             3/3 

已安装:
  libxml2-devel.x86_64 0:2.9.1-6.el7_2.3                                                                                                                             

作为依赖被安装:
  xz-devel.x86_64 0:5.2.2-1.el7                                                   zlib-devel.x86_64 0:1.2.7-17.el7                                                  

完毕!

[root@lgs-02 httpd-2.4.33]# yum install -y libtool-ltdl-devel
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.163.com
 * updates: mirrors.163.com
软件包 libtool-ltdl-devel-2.4.2-22.el7_3.x86_64 已安装并且是最新版本
无须任何处理

再删除/usr/local/apr-util/目录,并且重新编译安装apr-util。

然后再重新配置、编译httpd:.

[root@lgs-02 httpd-2.4.33]# ./configure --prefix=/usr/local/apache2.4/ --with-apr=/usr/local/apr/ --with-apr-util=/usr/local/apr-util/ --enable-so --enable-mods-shared=most

#省略配置过程

[root@lgs-02 httpd-2.4.33]# make
al/src/httpd-2.4.33/modules/generators -I/usr/local/src/httpd-2.4.33/modules/mappers -prefer-pic -c mod_rewrite.c && touch mod_rewrite.slo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99  -g -O2 -pthread           -o mod_rewrite.la -rpath /usr/local/apache2.4//modules -module -avoid-version  mod_rewrite.lo 
make[4]: 离开目录“/usr/local/src/httpd-2.4.33/modules/mappers”
make[3]: 离开目录“/usr/local/src/httpd-2.4.33/modules/mappers”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/modules”
make[2]: 进入目录“/usr/local/src/httpd-2.4.33/support”
make[2]: 离开目录“/usr/local/src/httpd-2.4.33/support”

make[1]: 离开目录“/usr/local/src/httpd-2.4.33”
[root@lgs-02 httpd-2.4.33]# echo $?
0

[root@lgs-02 httpd-2.4.33]# make install
Installing build system files
mkdir /usr/local/apache2.4/build
Installing man pages and online manual
mkdir /usr/local/apache2.4/man
mkdir /usr/local/apache2.4/man/man1
mkdir /usr/local/apache2.4/man/man8
mkdir /usr/local/apache2.4/manual
make[1]: 离开目录“/usr/local/src/httpd-2.4.33”
[root@lgs-02 httpd-2.4.33]# echo $?
0

7、启动httpd服务:一般用命令行启动即可,不用启动脚本来启动,默认是监听80端口。

[root@lgs-02 apache2.4]# /usr/local/apache2.4/bin/apachectl  start
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::870d:85e5:c861:a422. Set the 'ServerName' directive globally to suppress this message
[root@lgs-02 apache2.4]# ps aux |grep httpd
root      41613  0.0  0.1  95580  2532 ?        Ss   22:35   0:00 /usr/local/apache2.4//bin/httpd -k start
daemon    41614  0.0  0.2 382408  4436 ?        Sl   22:35   0:00 /usr/local/apache2.4//bin/httpd -k start
daemon    41615  0.0  0.2 382408  4440 ?        Sl   22:35   0:00 /usr/local/apache2.4//bin/httpd -k start
daemon    41616  0.0  0.2 382408  4436 ?        Sl   22:35   0:00 /usr/local/apache2.4//bin/httpd -k start
root      41699  0.0  0.0 112720   972 pts/0    S+   22:35   0:00 grep --color=auto httpd
[root@lgs-02 apache2.4]# netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      896/sshd            
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1228/master         
tcp6       0      0 :::80                   :::*                    LISTEN      41613/httpd         
tcp6       0      0 :::22                   :::*                    LISTEN      896/sshd            
tcp6       0      0 ::1:25                  :::*                    LISTEN      1228/master         
tcp6       0      0 :::3306                 :::*                    LISTEN      4168/mysqld      

8、查看httpd的加载模块:static是编译进主程序里的模块,是静态的。shared是扩展的模块,以so文件形式存在。

[root@lgs-02 apache2.4]# /usr/local/apache2.4/bin/httpd -M
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::870d:85e5:c861:a422. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)

#用shell文件/usr/local/apache2.4/bin/apachectl -M 也能查看加载模块信息。(脚本里会调用核心二进制文件/usr/local/apache2.4/bin/httpd)

[root@lgs-02 apache2.4]# /usr/local/apache2.4/bin/apachectl -M
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::870d:85e5:c861:a422. Set the 'ServerName' directive globally to suppress this message
Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)

9、Apache的相关文件、目录的含义功能:

Apache的核心二进制文件是

[root@lgs-02 apache2.4]# ls -l /usr/local/apache2.4/bin/httpd 
-rwxr-xr-x. 1 root root 2348432 5月  24 21:38 /usr/local/apache2.4/bin/httpd

配置文件目录和配置文件:

[root@lgs-02 apache2.4]# ls
bin  build  cgi-bin  conf  error  htdocs  icons  include  logs  man  manual  modules
[root@lgs-02 apache2.4]# ls -l conf
总用量 100
drwxr-xr-x. 2 root root  4096 5月  24 21:38 extra
-rw-r--r--. 1 root root 18350 5月  24 21:38 httpd.conf
-rw-r--r--. 1 root root 13077 5月  24 21:38 magic
-rw-r--r--. 1 root root 60847 5月  24 21:38 mime.types
drwxr-xr-x. 3 root root    37 5月  24 21:38 original

[root@lgs-02 apache2.4]# ls -l conf/httpd.conf 
-rw-r--r--. 1 root root 18350 5月  24 21:38 conf/httpd.conf

启动访问页的目录:

[root@lgs-02 apache2.4]# ls
bin  build  cgi-bin  conf  error  htdocs  icons  include  logs  man  manual  modules
[root@lgs-02 apache2.4]# ls -l htdocs/
总用量 4
-rw-r--r--. 1 root root 45 6月  12 2007 index.html

错误访问日志目录:

[root@lgs-02 apache2.4]# ls
bin  build  cgi-bin  conf  error  htdocs  icons  include  logs  man  manual  modules
[root@lgs-02 apache2.4]# ls -l logs/
总用量 8
-rw-r--r--. 1 root root   0 5月  24 22:35 access_log
-rw-r--r--. 1 root root 293 5月  24 22:35 error_log
-rw-r--r--. 1 root root   6 5月  24 22:35 httpd.pid

扩展模块so的目录:

[root@lgs-02 apache2.4]# ls -l modules/
总用量 6640
-rw-r--r--. 1 root   40  15683 5月  24 21:33 httpd.exp
-rwxr-xr-x. 1 root root  36424 5月  24 21:38 mod_access_compat.so
-rwxr-xr-x. 1 root root  34728 5月  24 21:38 mod_actions.so
-rwxr-xr-x. 1 root root  60168 5月  24 21:38 mod_alias.so
-rwxr-xr-x. 1 root root  30896 5月  24 21:38 mod_allowmethods.so
-rwxr-xr-x. 1 root root  46720 5月  24 21:38 mod_auth_basic.so
-rwxr-xr-x. 1 root root 101152 5月  24 21:38 mod_auth_digest.so
-rwxr-xr-x. 1 root root  80312 5月  24 21:38 mod_auth_form.so
-rwxr-xr-x. 1 root root  31424 5月  24 21:38 mod_authn_anon.so
-rwxr-xr-x. 1 root root  38792 5月  24 21:38 mod_authn_core.so
-rwxr-xr-x. 1 root root  43808 5月  24 21:38 mod_authn_dbd.so
-rwxr-xr-x. 1 root root  33128 5月  24 21:38 mod_authn_dbm.so
-rwxr-xr-x. 1 root root  33160 5月  24 21:38 mod_authn_file.so
-rwxr-xr-x. 1 root root  56648 5月  24 21:38 mod_authn_socache.so
-rwxr-xr-x. 1 root root  70040 5月  24 21:38 mod_authz_core.so
-rwxr-xr-x. 1 root root  46880 5月  24 21:38 mod_authz_dbd.so
-rwxr-xr-x. 1 root root  38096 5月  24 21:38 mod_authz_dbm.so
-rwxr-xr-x. 1 root root  41840 5月  24 21:38 mod_authz_groupfile.so
-rwxr-xr-x. 1 root root  44336 5月  24 21:38 mod_authz_host.so
-rwxr-xr-x. 1 root root  31776 5月  24 21:38 mod_authz_owner.so
-rwxr-xr-x. 1 root root  31112 5月  24 21:38 mod_authz_user.so
-rwxr-xr-x. 1 root root 128544 5月  24 21:38 mod_autoindex.so
-rwxr-xr-x. 1 root root  35376 5月  24 21:38 mod_buffer.so
-rwxr-xr-x. 1 root root 103016 5月  24 21:38 mod_cache_disk.so
-rwxr-xr-x. 1 root root 231240 5月  24 21:38 mod_cache.so
-rwxr-xr-x. 1 root root 102984 5月  24 21:38 mod_cache_socache.so
-rwxr-xr-x. 1 root root 118216 5月  24 21:38 mod_cgid.so
-rwxr-xr-x. 1 root root 217632 5月  24 21:38 mod_dav_fs.so
-rwxr-xr-x. 1 root root 402456 5月  24 21:38 mod_dav.so
-rwxr-xr-x. 1 root root  71848 5月  24 21:38 mod_dbd.so
-rwxr-xr-x. 1 root root  98336 5月  24 21:38 mod_deflate.so
-rwxr-xr-x. 1 root root  37480 5月  24 21:38 mod_dir.so
-rwxr-xr-x. 1 root root  33728 5月  24 21:38 mod_dumpio.so
-rwxr-xr-x. 1 root root  33328 5月  24 21:38 mod_env.so
-rwxr-xr-x. 1 root root  44120 5月  24 21:38 mod_expires.so
-rwxr-xr-x. 1 root root  74376 5月  24 21:38 mod_ext_filter.so
-rwxr-xr-x. 1 root root  42440 5月  24 21:38 mod_file_cache.so
-rwxr-xr-x. 1 root root  62048 5月  24 21:38 mod_filter.so
-rwxr-xr-x. 1 root root  73472 5月  24 21:38 mod_headers.so
-rwxr-xr-x. 1 root root 167768 5月  24 21:38 mod_include.so
-rwxr-xr-x. 1 root root  86648 5月  24 21:38 mod_info.so
-rwxr-xr-x. 1 root root  36240 5月  24 21:38 mod_lbmethod_bybusyness.so
-rwxr-xr-x. 1 root root  36224 5月  24 21:38 mod_lbmethod_byrequests.so
-rwxr-xr-x. 1 root root  36400 5月  24 21:38 mod_lbmethod_bytraffic.so
-rwxr-xr-x. 1 root root  53408 5月  24 21:38 mod_lbmethod_heartbeat.so
-rwxr-xr-x. 1 root root 104768 5月  24 21:38 mod_log_config.so
-rwxr-xr-x. 1 root root  43392 5月  24 21:38 mod_log_debug.so
-rwxr-xr-x. 1 root root  36720 5月  24 21:38 mod_logio.so
-rwxr-xr-x. 1 root root  56056 5月  24 21:38 mod_macro.so
-rwxr-xr-x. 1 root root  60920 5月  24 21:38 mod_mime.so
-rwxr-xr-x. 1 root root 117280 5月  24 21:38 mod_negotiation.so
-rwxr-xr-x. 1 root root 198832 5月  24 21:38 mod_proxy_ajp.so
-rwxr-xr-x. 1 root root 157304 5月  24 21:38 mod_proxy_balancer.so
-rwxr-xr-x. 1 root root  59968 5月  24 21:38 mod_proxy_connect.so
-rwxr-xr-x. 1 root root  41096 5月  24 21:38 mod_proxy_express.so
-rwxr-xr-x. 1 root root  94744 5月  24 21:38 mod_proxy_fcgi.so
-rwxr-xr-x. 1 root root  40632 5月  24 21:38 mod_proxy_fdpass.so
-rwxr-xr-x. 1 root root 131840 5月  24 21:38 mod_proxy_ftp.so
-rwxr-xr-x. 1 root root 106744 5月  24 21:38 mod_proxy_hcheck.so
-rwxr-xr-x. 1 root root 122712 5月  24 21:38 mod_proxy_http.so
-rwxr-xr-x. 1 root root  65840 5月  24 21:38 mod_proxy_scgi.so
-rwxr-xr-x. 1 root root 385464 5月  24 21:38 mod_proxy.so
-rwxr-xr-x. 1 root root  56112 5月  24 21:38 mod_proxy_uwsgi.so
-rwxr-xr-x. 1 root root  61824 5月  24 21:38 mod_proxy_wstunnel.so
-rwxr-xr-x. 1 root root  39312 5月  24 21:38 mod_ratelimit.so
-rwxr-xr-x. 1 root root  71232 5月  24 21:38 mod_remoteip.so
-rwxr-xr-x. 1 root root  49352 5月  24 21:38 mod_reqtimeout.so
-rwxr-xr-x. 1 root root  40496 5月  24 21:38 mod_request.so
-rwxr-xr-x. 1 root root 216576 5月  24 21:38 mod_rewrite.so
-rwxr-xr-x. 1 root root 140168 5月  24 21:38 mod_sed.so
-rwxr-xr-x. 1 root root  34120 5月  24 21:38 mod_session_cookie.so
-rwxr-xr-x. 1 root root  52656 5月  24 21:38 mod_session_dbd.so
-rwxr-xr-x. 1 root root  63200 5月  24 21:38 mod_session.so
-rwxr-xr-x. 1 root root  47408 5月  24 21:38 mod_setenvif.so
-rwxr-xr-x. 1 root root  57736 5月  24 21:38 mod_slotmem_shm.so
-rwxr-xr-x. 1 root root  52104 5月  24 21:38 mod_socache_dbm.so
-rwxr-xr-x. 1 root root  48808 5月  24 21:38 mod_socache_memcache.so
-rwxr-xr-x. 1 root root  80440 5月  24 21:38 mod_socache_shmcb.so
-rwxr-xr-x. 1 root root  43504 5月  24 21:38 mod_speling.so
-rwxr-xr-x. 1 root root  82624 5月  24 21:38 mod_status.so
-rwxr-xr-x. 1 root root  48760 5月  24 21:38 mod_substitute.so
-rwxr-xr-x. 1 root root  32408 5月  24 21:38 mod_unique_id.so
-rwxr-xr-x. 1 root root  37712 5月  24 21:38 mod_unixd.so
-rwxr-xr-x. 1 root root  34568 5月  24 21:38 mod_userdir.so
-rwxr-xr-x. 1 root root  27296 5月  24 21:38 mod_version.so
-rwxr-xr-x. 1 root root  40480 5月  24 21:38 mod_vhost_alias.so
-rwxr-xr-x. 1 root root  64992 5月  24 21:38 mod_watchdog.so

转载于:https://my.oschina.net/u/3804114/blog/1818144

你可能感兴趣的:(【2018.05.24学习笔记】【linux基础知识11.6-11.9】)