LAMP
环境
firewalld
yum
setenforce 0
myqsl:cmake
php:ncurses-devel
libcurl-devel
pcre-devel
openssl-devel
[root@web ~]# hostname
web
[root@web ~]# yum
已加载插件:fastestmirror, langpacks
您需要给出命令
Usage: yum [options] COMMAND
List of Commands:
check 检查 RPM 数据库问题
check-update 检查是否有可用的软件包更新
clean 删除缓存数据
deplist 列出软件包的依赖关系
distribution-synchronization 已同步软件包到最新可用版本
downgrade 降级软件包
erase 从系统中移除一个或多个软件包
fs Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.
fssnapshot Creates filesystem snapshots, or lists/deletes current snapshots.
groups 显示或使用、组信息
help 显示用法提示
history 显示或使用事务历史
info 显示关于软件包或组的详细信息
install 向系统中安装一个或多个软件包
langavailable Check available languages
langinfo List languages information
langinstall Install appropriate language packs for a language
langlist List installed languages
langremove Remove installed language packs for a language
list 列出一个或一组软件包
load-transaction 从文件名中加载一个已存事务
makecache 创建元数据缓存
provides 查找提供指定内容的软件包
reinstall 覆盖安装软件包
repo-pkgs 将一个源当作一个软件包组,这样我们就可以一次性安装/移除全部软件包。
repolist 显示已配置的源
search 在软件包详细信息中搜索指定字符串
shell 运行交互式的 yum shell
swap Simple way to swap packages, instead of using shell
update 更新系统中的一个或多个软件包
update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo Acts on repository update information
upgrade 更新软件包同时考虑软件包取代关系
version 显示机器和/或可用的源版本。
Options:
-h, --help 显示此帮助消息并退出
-t, --tolerant 忽略错误
-C, --cacheonly 完全从系统缓存运行,不升级缓存
-c [config file], --config=[config file]
配置文件路径
-R [minutes], --randomwait=[minutes]
命令最长等待时间
-d [debug level], --debuglevel=[debug level]
调试输出级别
--showduplicates 在 list/search 命令下,显示源里重复的条目
-e [error level], --errorlevel=[error level]
错误输出级别
--rpmverbosity=[debug level name]
RPM 调试输出级别
-q, --quiet 静默执行
-v, --verbose 详尽的操作过程
-y, --assumeyes 回答全部问题为是
--assumeno 回答全部问题为否
--version 显示 Yum 版本然后退出
--installroot=[path] 设置安装根目录
--enablerepo=[repo] 启用一个或多个软件源(支持通配符)
--disablerepo=[repo] 禁用一个或多个软件源(支持通配符)
-x [package], --exclude=[package]
采用全名或通配符排除软件包
--disableexcludes=[repo]
禁止从主配置,从源或者从任何位置排除
--disableincludes=[repo]
disable includepkgs for a repo or for everything
--obsoletes 更新时处理软件包取代关系
--noplugins 禁用 Yum 插件
--nogpgcheck 禁用 GPG 签名检查
--disableplugin=[plugin]
禁用指定名称的插件
--enableplugin=[plugin]
启用指定名称的插件
--skip-broken 忽略存在依赖关系问题的软件包
--color=COLOR 配置是否使用颜色
--releasever=RELEASEVER
在 yum 配置和 repo 文件里设置 $releasever 的值
--downloadonly 仅下载而不更新
--downloaddir=DLDIR 指定一个其他文件夹用于保存软件包
--setopt=SETOPTS 设置任意配置和源选项
--bugfix Include bugfix relevant packages, in updates
--security Include security relevant packages, in updates
--advisory=ADVS, --advisories=ADVS
Include packages needed to fix the given advisory, in
updates
--bzs=BZS Include packages needed to fix the given BZ, in
updates
--cves=CVES Include packages needed to fix the given CVE, in
updates
--sec-severity=SEVS, --secseverity=SEVS
Include security relevant packages matching the
severity, in updates
插件选项:
[root@web ~]# yum repolist
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
源标识 源名称 状态
!local local yum 4,070
!soft soft yum 1
repolist: 4,071
[root@web ~]# systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:NetworkManager(8)
[root@web ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@web ~]# setenforce 0
setenforce: SELinux is disabled
[root@web ~]# yum install cmake
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
local | 3.6 kB 00:00:00
soft | 2.9 kB 00:00:00
软件包 cmake-2.8.12.2-2.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install pcre
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 pcre-8.32-17.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install ncurses-term.noarch
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 ncurses-term.noarch.0.5.9-14.20130511.el7_4 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
ncurses-term noarch 5.9-14.20130511.el7_4 local 543 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:543 k
安装大小:1.5 M
Is this ok [y/d/N]: n
Exiting on user command
您的事务已保存,请执行:
yum load-transaction /tmp/yum_save_tx.2025-07-04.19-25.9AnPd7.yumtx 重新执行该事务
[root@web ~]# yum install ncurses-devel
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 ncurses-devel-5.9-14.20130511.el7_4.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install openssl
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 1:openssl-1.0.2k-19.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install libcurl
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 libcurl-7.29.0-59.el7.x86_64 已安装并且是最新版本
无须任何处理
MYSQL
useradd -r -s /sbin/nologin mysql
-r: Creates a system account (UID typically in the range 1–999), which avoids creating a home directory by default and assigns a reserved system UID.
-s /sbin/nologin: Sets the login shell to /sbin/nologin, prohibiting interactive login (e.g., SSH or console access). This is critical for security when the user only runs background services.
mysql: The username, conventionally used for MySQL/MariaDB database services.
vim cmake.sh
tar xf mysql
cd /mysql
vim cmake.sh
[root@web ~]# cd mysql-5.6.31/
[root@web mysql-5.6.31]# ls
BUILD cmd-line-utils Docs libmysql mysys_ssl sql-bench VERSION.dep
client config.h.cmake Doxyfile-perfschema libmysqld packaging sql-common vio
cmake configure.cmake extra libservices plugin storage win
CMakeCache.txt COPYING include make_dist.cmake README strings zlib
CMakeFiles CPackConfig.cmake info_macros.cmake Makefile regex support-files
cmake_install.cmake CPackSourceConfig.cmake INSTALL man scripts tests
CMakeLists.txt CTestTestfile.cmake install_manifest.txt mysql-test source_downloads unittest
cmake.sh dbug libevent mysys sql VERSION
[root@web mysql-5.6.31]# cat cmake.sh
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/ \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DMYSQL_TCP_PORT=3306 \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
-DWITH_EXTRA_CHARSETS=all \
-DMYSQL_USER=mysql
chmod +x cmake.sh
./cmake.sh
make && make install
chown -R mysql.mysql /usr/local/mysql
[root@web mysql-5.6.31]# ll -d /usr/local/mysql
drwxr-xr-x. 13 mysql mysql 205 7月 3 22:32 /usr/local/mysql
rm -f /etc/my.cnf
cd /usr/local/mysql
./scripts/mysql_install_db --user=mysql
ll data
cp /support-files/mysql.server /etc/init.d/mysql
service mysql start
cd /usr/local/mysql
bin/mysqladmin -u root password ‘123’
echo ‘PATH=$PATH:/usr/local/mysql/bin’>/etc/profile
source /etc/profile
[root@web mysql]# cat /etc/profile
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
# It's NOT a good idea to change this file unless you know what you
# are doing. It's much better to create a custom.sh shell script in
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.
pathmunge () {
case ":${PATH}:" in
*:"$1":*)
;;
*)
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
esac
}
if [ -x /usr/bin/id ]; then
if [ -z "$EUID" ]; then
# ksh workaround
EUID=`/usr/bin/id -u`
UID=`/usr/bin/id -ru`
fi
USER="`/usr/bin/id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
fi
# Path manipulation
if [ "$EUID" = "0" ]; then
pathmunge /usr/sbin
pathmunge /usr/local/sbin
else
pathmunge /usr/local/sbin after
pathmunge /usr/sbin after
fi
HOSTNAME=`/usr/bin/hostname 2>/dev/null`
HISTSIZE=1000
if [ "$HISTCONTROL" = "ignorespace" ] ; then
export HISTCONTROL=ignoreboth
else
export HISTCONTROL=ignoredups
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
umask 002
else
umask 022
fi
for i in /etc/profile.d/*.sh /etc/profile.d/sh.local ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. "$i"
else
. "$i" >/dev/null
fi
fi
done
unset i
unset -f pathmunge
export PATH=$PATH:/usr/local/mysql/bin
mysql -uroot -p
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# cd /usr/local/mysql
[root@web mysql]# ls bin
innochecksum mysqlaccess.conf mysql_convert_table_format mysqlhotcopy mysql_tzinfo_to_sql
msql2mysql mysqladmin mysqld mysqlimport mysql_upgrade
myisamchk mysqlbinlog mysqld_multi mysql_plugin mysql_waitpid
myisam_ftdump mysqlbug mysqld_safe mysql_secure_installation mysql_zap
myisamlog mysqlcheck mysqldump mysql_setpermission perror
myisampack mysql_client_test mysqldumpslow mysqlshow replace
my_print_defaults mysql_client_test_embedded mysql_embedded mysqlslap resolveip
mysql mysql_config mysql_find_rows mysqltest resolve_stack_dump
mysqlaccess mysql_config_editor mysql_fix_extensions mysqltest_embedded
[root@web mysql]# bin/mysqladmin -u root password '123'
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@web mysql]# service mysql start
Starting MySQL SUCCESS!
[root@web mysql]# bin/mysqladmin -u root -password '123'
Warning: Using a password on the command line interface can be insecure.
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
[root@web mysql]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.31 Source distribution
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> ls
-> find
-> find database
->
apache
apr
tar xf apr
cd apr
./configure
make && make install
[root@web ~]# tar xf apr-1.5.2.tar.bz2
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 httpd-2.4.37.tar.bz2 mysql-5.6.31
apr-1.5.2 apr-util-1.5.4.tar.bz2 initial-setup-ks.cfg mysql-5.6.31.tar.gz
[root@web ~]# cd apr-1.5.2/
[root@web apr-1.5.2]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
[root@web apr-1.5.2]# make && make install
make[1]: 进入目录“/root/apr-1.5.2”
/root/apr-1.5.2/build/mkdir.sh tools
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o tools/gen_test_char.lo -c tools/gen_test_char.c && touch tools/gen_test_char.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mod
apr-util
tar xf apr-util
cd apr-util
./configure --with-apr=/usr/lcoa/apr/bin/apr-1-config
make && make install
[root@web ~]# tar xf apr-util-1.5.4.tar.bz2
[root@web ~]# cd apr-util-1.5.4/
[root@web apr-util-1.5.4]# ./configure --with-apr=/usr/local/apr/bin/apr-1-config
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
[root@web bin]# cd ~
[root@web ~]# cd apr-util-1.5.4/
[root@web apr-util-1.5.4]# make && make install
Making all in xml/expat
make[1]: 进入目录“/root/apr-util-1.5.4/xml/expat”
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmlrole.lo -c lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -no-undefined -version-info 5:0:5 -rpath /usr/local/apr/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
make[1]: 离开目录“/root/apr-util-1.5.4/xml/expat”
httpd
tar xf httpd
cd httpd
[root@web ~]# tar xf httpd-2.4.37.tar.bz2
[root@web ~]# cd httpd-2.4.37/
[root@web httpd-2.4.37]#
vim apache.sh
./configure
–enable-modules=all
–enable-mods-shared=all
–enable-so
–enable-rewrite
–with-pcre
–enable-ssl
–with-mpm=prefork
–with-apr=/usr/local/apr/bin/apr-1-config
–with-apr-util=/usr/local/apr/bin/apu-1-config
chmod +x apache.sh
./apache.sh
make && make install
[root@web ~]# tar xf httpd-2.4.37.tar.bz2
[root@web ~]# cd httpd-2.4.37/
[root@web httpd-2.4.37]# vim apache.sh
[root@web httpd-2.4.37]# cat apache.sh
./configure \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so \
--enable-rewrite \
--with-pcre \
--enable-ssl \
--with-mpm=prefork \
--with-apr=/usr/local/apr/bin/apr-1-config \
--with-apr-util=/usr/local/apr/bin/apu-1-config
[root@web httpd-2.4.37]# chmod +x apache.sh
[root@web httpd-2.4.37]# ll apache.sh
-rwxr-xr-x 1 root dip 240 7月 4 20:56 apache.sh
[root@web httpd-2.4.37]# ./apache.sh
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
[root@web httpd-2.4.37]# make && make install
Making all in srclib
make[1]: 进入目录“/root/httpd-2.4.37/srclib”
make[1]: 离开目录“/root/httpd-2.4.37/srclib”
Making all in os
make[1]: 进入目录“/root/httpd-2.4.37/os”
Making all in unix
make[2]: 进入目录“/root/httpd-2.4.37/os/unix”
make[3]: 进入目录“/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generator
cd /usr/local/apache2
bin/apachectl
[root@web httpd-2.4.37]# cd /usr/local/apache2
[root@web apache2]# bin/apachectl
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::20c:29ff:fe1d:533b. Set the 'ServerName' directive globally to suppress this message
[root@web apache2]# ls
bin build cgi-bin conf error htdocs icons include logs man manual modules
[root@web apache2]# cd bin
[root@web bin]# ls
ab apxs dbmmanage envvars-std htcacheclean htdigest httpd logresolve
apachectl checkgid envvars fcgistarter htdbm htpasswd httxt2dbm rotatelogs
[root@web bin]# apachectl
bash: apachectl: 未找到命令...
[root@web bin]# apachectl
bash: apachectl: 未找到命令...
[root@web bin]#
PHP
tar xf php
cd php
[root@web ~]# tar xf php-7.2.17.tar.xz
[root@web ~]# ^C
[root@web ~]#
[root@web ~]# tar xf php-7.2.17
tar: php-7.2.17:无法 read: 是一个目录
tar: 处于磁带的起点,现在退出
tar: Error is not recoverable: exiting now
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 apr-util-1.5.4.tar.bz2 httpd-2.4.37.tar.bz2 mysql-5.6.31 php-7.2.17
apr-1.5.2 apr-util-1.5.4 httpd-2.4.37 initial-setup-ks.cfg mysql-5.6.31.tar.gz php-7.2.17.tar.xz
[root@web ~]# cd php-7.2.17/
[root@web php-7.2.17]# vim
vim php.sh
[root@web php-7.2.17]# vim php.sh
[root@web php-7.2.17]# cat php.sh
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysqli \
--with-pdo-mysql \
--with-zlib \
--with-curl \
--enable-zip \
--with-gd \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--enable-opcache \
--enable-mbstring \
--enable-mbregex \
--enable-pcntl \
--enable-shmop \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-calendar \
--enable-bcmath
chmod +x php.sh
[root@web php-7.2.17]# chmod +x php.sh
[root@web php-7.2.17]# ll php.sh
-rwxr-xr-x 1 root root 439 7月 4 21:35 php.sh
[root@web php-7.2.17]# ./php.sh
configure: WARNING: unrecognized options: --with-apx2
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknowchecking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default
Configuring extensions
checking for strings.h... (cached) yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking for strtoll... yes
checking for atoll... yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
checking for pkg-config... /usr/bin/pkg-config
configure: error: libxml2 not found. Please check your libxml2 installation.
yum install libxml2-devel
yum install libjpeg-devel
libpng-devel
freetype-devel
[root@web php-7.2.17]# yum install libxml2-devel.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 libxml2-devel.x86_64.0.2.9.1-6.el7.5 将被 安装
--> 正在处理依赖关系 xz-devel,它被软件包 libxml2-devel-2.9.1-6.el7.5.x86_64 需要
--> 正在检查事务
---> 软件包 xz-devel.x86_64.0.5.2.2-1.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
libxml2-devel x86_64 2.9.1-6.el7.5 local 1.1 M
为依赖而安装:
xz-devel x86_64 5.2.2-1.el7 local 46 k
事务概要
==========================================================================================================================================
安装 1 软件包 (+1 依赖软件包)
总下载量:1.1 M
安装大小:8.9 M
Is this ok [y/d/N]: y
Downloading packages:
------------------------------------------------------------------------------------------------------------------------------------------
总计 207 kB/s | 1.1 MB 00:00:05
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : xz-devel-5.2.2-1.el7.x86_64 1/2
正在安装 : libxml2-devel-2.9.1-6.el7.5.x86_64 2/2
验证中 : libxml2-devel-2.9.1-6.el7.5.x86_64 1/2
验证中 : xz-devel-5.2.2-1.el7.x86_64 2/2
已安装:
libxml2-devel.x86_64 0:2.9.1-6.el7.5
作为依赖被安装:
xz-devel.x86_64 0:5.2.2-1.el7
完毕!
[root@web php-7.2.17]# yum install libjpeg-turbo-devel.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 libjpeg-turbo-devel.x86_64.0.1.2.90-8.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
libjpeg-turbo-devel x86_64 1.2.90-8.el7 local 99 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:99 k
安装大小:314 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 1/1
验证中 : libjpeg-turbo-devel-1.2.90-8.el7.x86_64 1/1
已安装:
libjpeg-turbo-devel.x86_64 0:1.2.90-8.el7
完毕!
[root@web php-7.2.17]# yum install libpng
libpng12.x86_64 libpng-devel.x86_64
[root@web php-7.2.17]# yum install libpng-devel.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 libpng-devel.x86_64.2.1.5.13-8.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
libpng-devel x86_64 2:1.5.13-8.el7 local 122 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:122 k
安装大小:211 k
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : 2:libpng-devel-1.5.13-8.el7.x86_64 1/1
验证中 : 2:libpng-devel-1.5.13-8.el7.x86_64 1/1
已安装:
libpng-devel.x86_64 2:1.5.13-8.el7
完毕!
[root@web php-7.2.17]# yum install freetype
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 freetype-2.8-14.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web php-7.2.17]#
./php.sh
[root@web php-7.2.17]# ./php.sh
configure: WARNING: unrecognized options: --with-apx2
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
[root@web php-7.2.17]# vim php.sh
[root@web php-7.2.17]# cat php.sh
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysqli \
--with-pdo-mysql \
--with-zlib \
--with-curl \
--enable-zip \
--with-gd \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--enable-opcache \
--enable-mbstring \
--enable-mbregex \
--enable-pcntl \
--enable-shmop \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-calendar \
--enable-bcmath
[root@web php-7.2.17]#
[root@web php-7.2.17]# ./php.sh
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -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 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 whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 3.0 (ok)
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether to enable calendar conversion support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
make&& make install
[root@web php-7.2.17]# cat php.sh
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysqli \
--with-pdo-mysql \
--with-zlib \
--with-curl \
--enable-zip \
--with-gd \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--enable-opcache \
--enable-mbstring \
--enable-mbregex \
--enable-pcntl \
--enable-shmop \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-calendar \
--enable-bcmath
[root@web php-7.2.17]# ll php.sh
-rwxr-xr-x 1 root root 440 7月 4 21:56 php.sh
[root@web php-7.2.17]# ./php.sh
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re2c... no
checking whether C compiler accepts -fvisibility=hidden... yes
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking whether /dev/arandom exists... no
checking for global register variables support... yes
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for pkg-config... /usr/bin/pkg-config
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
[root@web php-7.2.17]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
缺少 freetype-devel libcurl-devel
checking for pkg-config... /usr/bin/pkg-config
checking for libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
[root@web php-7.2.17]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@web php-7.2.17]# yum install libcurl-devel.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 libcurl-devel.x86_64.0.7.29.0-59.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
libcurl-devel x86_64 7.29.0-59.el7 local 303 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:303 k
安装大小:624 k
Is this ok [y/d/N]: Y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : libcurl-devel-7.29.0-59.el7.x86_64 1/1
验证中 : libcurl-devel-7.29.0-59.el7.x86_64 1/1
已安装:
libcurl-devel.x86_64 0:7.29.0-59.el7
完毕!
[root@web php-7.2.17]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@web php-7.2.17]# ./php.sh
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
configure: error: freetype-config not found.
[root@web php-7.2.17]# cat php.sh
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysqli \
--with-pdo-mysql \
--with-zlib \
--with-curl \
--enable-zip \
--with-gd \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--enable-sockets \
--with-xmlrpc \
--enable-soap \
--enable-opcache \
--enable-mbstring \
--enable-mbregex \
--enable-pcntl \
--enable-shmop \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-calendar \
--enable-bcmath
[root@web php-7.2.17]# yum install freetype
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 freetype-2.8-14.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web php-7.2.17]# make
make: *** 没有指明目标并且找不到 makefile。 停止。
[root@web php-7.2.17]# yum install freetype-devel.x86_64
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 freetype-devel.x86_64.0.2.8-14.el7 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
freetype-devel x86_64 2.8-14.el7 local 447 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:447 k
安装大小:2.8 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
正在安装 : freetype-devel-2.8-14.el7.x86_64 1/1
验证中 : freetype-devel-2.8-14.el7.x86_64 1/1
已安装:
freetype-devel.x86_64 0:2.8-14.el7
完毕!
[root@web php-7.2.17]# ./php.sh
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking whether to build shared libraries... yes
checking whether to build static libraries... no
creating libtool
appending configuration tag "CXX" to libtool
Generating files
configure: creating ./config.status
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You have built PHP for Apache's current non-threaded MPM. |
| If you change Apache to use a threaded MPM you must reconfigure |
| PHP with --enable-maintainer-zts |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Thank you for using PHP.
config.status: creating php7.spec
config.status: creating main/build-defs.h
config.status: creating scripts/phpize
config.status: creating scripts/man1/phpize.1
config.status: creating scripts/php-config
config.status: creating scripts/man1/php-config.1
config.status: creating sapi/cli/php.1
config.status: creating sapi/phpdbg/phpdbg.1
config.status: creating sapi/cgi/php-cgi.1
config.status: creating ext/phar/phar.1
config.status: creating ext/phar/phar.phar.1
config.status: creating main/php_config.h
config.status: executing default commands
[root@web php-7.2.17]# make && make install
/bin/sh /root/php-7.2.17/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/root/php-7.2.17/ext/date/ -DPHP_ATOM_INC -I/root/php-7.2.17/include -I/root/php-7.2.17/main -I/root/php-7.2.17 -I/root/php-7.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/root/php-7.2.17/ext/mbstring/oniguruma -I/root/php-7.2.17/ext/mbstring/libmbfl -I/root/php-7.2.17/ext/mbstring/libmbfl/mbfl -I/root/php-7.2.17/ext/sqlite3/libsqlite -I/root/php-7.2.17/ext/zip/lib -I/root/php-7.2.17/TSRM -I/root/php-7.2.17/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /root/php-7.2.17/ext/date/php_date.c -o ext/date/php_date.lo
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - installed: 1.4.5
[PEAR] Console_Getopt - installed: 1.4.2
[PEAR] Structures_Graph- installed: 1.1.1
[PEAR] XML_Util - installed: 1.4.3
[PEAR] PEAR - installed: 1.10.9
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
/root/php-7.2.17/build/shtool install -c ext/phar/phar.phar /usr/local/bin
ln -s -f phar.phar /usr/local/bin/phar
Installing PDO headers: /usr/local/include/php/ext/pdo/
ls /usr/local/apache2/modules/libphp7.so
[root@web php-7.2.17]# ls /usr/local/apache2/modules/libphp7.so
/usr/local/apache2/modules/libphp7.so
配置Apache 与 php
Apache 配置文件:
/usr/local/apache2/conf/httpd.conf
语言配置文件:
/usr/local/apache2/conf/extra/httpd-languages.conf
Apache
端口 209
ServerName localhost:80
语言159
482
开启Php支持
166
index.php
268
语言配置文件
78
bin/apachectl -k restart
[root@web extra]# vim /usr/local/apache2/conf/httpd.conf
[root@web extra]# vim /usr/local/apache2/conf/extra/httpd-languages.conf
[root@web extra]# cd /usr/local/apache2/
[root@web apache2]# bin/apachectl -k restart
[root@web apache2]# bin/apachectl -k restart
休息
码
Network error: Connection timed out
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Session stopped
- Press <return> to exit tab
- Press R to restart session
- Press S to save terminal output to file
root@192.168.235.15's password:
┌────────────────────────────────────────────────────────────────────┐
│ • MobaXterm 20.0 • │
│ (SSH client, X-server and networking tools) │
│ │
│ ➤ SSH session to root@192.168.235.15 │
│ • SSH compression : ✘ │
│ • SSH-browser : ✔ │
│ • X11-forwarding : ✔ (remote display is forwarded through SSH) │
│ • DISPLAY : ✔ (automatically set on remote server) │
│ │
│ ➤ For more info, ctrl+click on help or visit our website │
└────────────────────────────────────────────────────────────────────┘
Last login: Thu Jul 3 21:44:48 2025 from 192.168.235.1
[root@web ~]# hostname
web
[root@web ~]# yum
已加载插件:fastestmirror, langpacks
您需要给出命令
Usage: yum [options] COMMAND
List of Commands:
check 检查 RPM 数据库问题
check-update 检查是否有可用的软件包更新
clean 删除缓存数据
deplist 列出软件包的依赖关系
distribution-synchronization 已同步软件包到最新可用版本
downgrade 降级软件包
erase 从系统中移除一个或多个软件包
fs Acts on the filesystem data of the host, mainly for removing docs/lanuages for minimal hosts.
fssnapshot Creates filesystem snapshots, or lists/deletes current snapshots.
groups 显示或使用、组信息
help 显示用法提示
history 显示或使用事务历史
info 显示关于软件包或组的详细信息
install 向系统中安装一个或多个软件包
langavailable Check available languages
langinfo List languages information
langinstall Install appropriate language packs for a language
langlist List installed languages
langremove Remove installed language packs for a language
list 列出一个或一组软件包
load-transaction 从文件名中加载一个已存事务
makecache 创建元数据缓存
provides 查找提供指定内容的软件包
reinstall 覆盖安装软件包
repo-pkgs 将一个源当作一个软件包组,这样我们就可以一次性安装/移除全部软件包。
repolist 显示已配置的源
search 在软件包详细信息中搜索指定字符串
shell 运行交互式的 yum shell
swap Simple way to swap packages, instead of using shell
update 更新系统中的一个或多个软件包
update-minimal Works like upgrade, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo Acts on repository update information
upgrade 更新软件包同时考虑软件包取代关系
version 显示机器和/或可用的源版本。
Options:
-h, --help 显示此帮助消息并退出
-t, --tolerant 忽略错误
-C, --cacheonly 完全从系统缓存运行,不升级缓存
-c [config file], --config=[config file]
配置文件路径
-R [minutes], --randomwait=[minutes]
命令最长等待时间
-d [debug level], --debuglevel=[debug level]
调试输出级别
--showduplicates 在 list/search 命令下,显示源里重复的条目
-e [error level], --errorlevel=[error level]
错误输出级别
--rpmverbosity=[debug level name]
RPM 调试输出级别
-q, --quiet 静默执行
-v, --verbose 详尽的操作过程
-y, --assumeyes 回答全部问题为是
--assumeno 回答全部问题为否
--version 显示 Yum 版本然后退出
--installroot=[path] 设置安装根目录
--enablerepo=[repo] 启用一个或多个软件源(支持通配符)
--disablerepo=[repo] 禁用一个或多个软件源(支持通配符)
-x [package], --exclude=[package]
采用全名或通配符排除软件包
--disableexcludes=[repo]
禁止从主配置,从源或者从任何位置排除
--disableincludes=[repo]
disable includepkgs for a repo or for everything
--obsoletes 更新时处理软件包取代关系
--noplugins 禁用 Yum 插件
--nogpgcheck 禁用 GPG 签名检查
--disableplugin=[plugin]
禁用指定名称的插件
--enableplugin=[plugin]
启用指定名称的插件
--skip-broken 忽略存在依赖关系问题的软件包
--color=COLOR 配置是否使用颜色
--releasever=RELEASEVER
在 yum 配置和 repo 文件里设置 $releasever 的值
--downloadonly 仅下载而不更新
--downloaddir=DLDIR 指定一个其他文件夹用于保存软件包
--setopt=SETOPTS 设置任意配置和源选项
--bugfix Include bugfix relevant packages, in updates
--security Include security relevant packages, in updates
--advisory=ADVS, --advisories=ADVS
Include packages needed to fix the given advisory, in
updates
--bzs=BZS Include packages needed to fix the given BZ, in
updates
--cves=CVES Include packages needed to fix the given CVE, in
updates
--sec-severity=SEVS, --secseverity=SEVS
Include security relevant packages matching the
severity, in updates
插件选项:
[root@web ~]# yum repolist
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
源标识 源名称 状态
!local local yum 4,070
!soft soft yum 1
repolist: 4,071
[root@web ~]# systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:NetworkManager(8)
[root@web ~]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)
[root@web ~]# setenforce 0
setenforce: SELinux is disabled
[root@web ~]# yum install cmake
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
local | 3.6 kB 00:00:00
soft | 2.9 kB 00:00:00
软件包 cmake-2.8.12.2-2.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install pcre
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 pcre-8.32-17.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install ncurses-term.noarch
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
正在解决依赖关系
--> 正在检查事务
---> 软件包 ncurses-term.noarch.0.5.9-14.20130511.el7_4 将被 安装
--> 解决依赖关系完成
依赖关系解决
==========================================================================================================================================
Package 架构 版本 源 大小
==========================================================================================================================================
正在安装:
ncurses-term noarch 5.9-14.20130511.el7_4 local 543 k
事务概要
==========================================================================================================================================
安装 1 软件包
总下载量:543 k
安装大小:1.5 M
Is this ok [y/d/N]: n
Exiting on user command
您的事务已保存,请执行:
yum load-transaction /tmp/yum_save_tx.2025-07-04.19-25.9AnPd7.yumtx 重新执行该事务
[root@web ~]# yum install ncurses-devel
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 ncurses-devel-5.9-14.20130511.el7_4.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install openssl
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 1:openssl-1.0.2k-19.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# yum install libcurl
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
软件包 libcurl-7.29.0-59.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@web ~]# useradd -r -s /sbin/nologin mysql
useradd:用户“mysql”已存在
[root@web ~]# ls
anaconda-ks.cfg httpd-2.4.37.tar.bz2 initial-setup-ks.cfg mysql-5.6.31 mysql-5.6.31.tar.gz
[root@web ~]# cd mysql-5.6.31/
[root@web mysql-5.6.31]# ls
BUILD cmd-line-utils Docs libmysql mysys_ssl sql-bench VERSION.dep
client config.h.cmake Doxyfile-perfschema libmysqld packaging sql-common vio
cmake configure.cmake extra libservices plugin storage win
CMakeCache.txt COPYING include make_dist.cmake README strings zlib
CMakeFiles CPackConfig.cmake info_macros.cmake Makefile regex support-files
cmake_install.cmake CPackSourceConfig.cmake INSTALL man scripts tests
CMakeLists.txt CTestTestfile.cmake install_manifest.txt mysql-test source_downloads unittest
cmake.sh dbug libevent mysys sql VERSION
[root@web mysql-5.6.31]# cat cmake.sh
cmake . \
-DCMAKE_INSTALL_PREFIX=/usr/local/mysql/ \
-DMYSQL_DATADIR=/usr/local/mysql/data \
-DENABLED_LOCAL_INFILE=1 \
-DWITH_INNOBASE_STORAGE_ENGINE=1 \
-DMYSQL_TCP_PORT=3306 \
-DDEFAULT_CHARSET=utf8mb4 \
-DDEFAULT_COLLATION=utf8mb4_general_ci \
-DWITH_EXTRA_CHARSETS=all \
-DMYSQL_USER=mysql
[root@web mysql-5.6.31]# ll cmake.sh
-rwxr-xr-x. 1 root root 295 7月 3 22:04 cmake.sh
[root@web mysql-5.6.31]# ll -d /usr/local/mysql
drwxr-xr-x. 13 mysql mysql 205 7月 3 22:32 /usr/local/mysql
[root@web mysql-5.6.31]# cd /usr/local/mysql
[root@web mysql]# ls
bin COPYING data docs include lib man my.cnf mysql-test README scripts share sql-bench support-files
[root@web mysql]# ls scripts
mysql_install_db
[root@web mysql]# ls scripts/mysql_install_db
scripts/mysql_install_db
[root@web mysql]# ll data
总用量 110612
-rw-rw----. 1 mysql mysql 56 7月 3 22:35 auto.cnf
-rw-rw----. 1 mysql mysql 12582912 7月 3 22:35 ibdata1
-rw-rw----. 1 mysql mysql 50331648 7月 3 22:35 ib_logfile0
-rw-rw----. 1 mysql mysql 50331648 7月 3 22:32 ib_logfile1
drwx------. 2 mysql mysql 4096 7月 3 22:32 mysql
drwx------. 2 mysql mysql 4096 7月 3 22:32 performance_schema
drwxr-xr-x. 2 mysql mysql 20 7月 3 22:15 test
-rw-r-----. 1 mysql root 2076 7月 3 22:35 web.err
-rw-rw----. 1 mysql mysql 6 7月 3 22:35 web.pid
[root@web mysql]# ls support-files
binary-configure magic my-default.cnf mysqld_multi.server mysql-log-rotate mysql.server
[root@web mysql]# cat /etc/init.d/
cat: /etc/init.d/: 是一个目录
[root@web mysql]# ls /etc/init.d/mysql
/etc/init.d/mysql
[root@web mysql]# ls
bin COPYING data docs include lib man my.cnf mysql-test README scripts share sql-bench support-files
[root@web mysql]# ls bin
innochecksum mysqlaccess.conf mysql_convert_table_format mysqlhotcopy mysql_tzinfo_to_sql
msql2mysql mysqladmin mysqld mysqlimport mysql_upgrade
myisamchk mysqlbinlog mysqld_multi mysql_plugin mysql_waitpid
myisam_ftdump mysqlbug mysqld_safe mysql_secure_installation mysql_zap
myisamlog mysqlcheck mysqldump mysql_setpermission perror
myisampack mysql_client_test mysqldumpslow mysqlshow replace
my_print_defaults mysql_client_test_embedded mysql_embedded mysqlslap resolveip
mysql mysql_config mysql_find_rows mysqltest resolve_stack_dump
mysqlaccess mysql_config_editor mysql_fix_extensions mysqltest_embedded
[root@web mysql]# cat /etc/profile
# /etc/profile
# System wide environment and startup programs, for login setup
# Functions and aliases go in /etc/bashrc
# It's NOT a good idea to change this file unless you know what you
# are doing. It's much better to create a custom.sh shell script in
# /etc/profile.d/ to make custom changes to your environment, as this
# will prevent the need for merging in future updates.
pathmunge () {
case ":${PATH}:" in
*:"$1":*)
;;
*)
if [ "$2" = "after" ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
esac
}
if [ -x /usr/bin/id ]; then
if [ -z "$EUID" ]; then
# ksh workaround
EUID=`/usr/bin/id -u`
UID=`/usr/bin/id -ru`
fi
USER="`/usr/bin/id -un`"
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"
fi
# Path manipulation
if [ "$EUID" = "0" ]; then
pathmunge /usr/sbin
pathmunge /usr/local/sbin
else
pathmunge /usr/local/sbin after
pathmunge /usr/sbin after
fi
HOSTNAME=`/usr/bin/hostname 2>/dev/null`
HISTSIZE=1000
if [ "$HISTCONTROL" = "ignorespace" ] ; then
export HISTCONTROL=ignoreboth
else
export HISTCONTROL=ignoredups
fi
export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL
# By default, we want umask to get set. This sets it for login shell
# Current threshold for system reserved uid/gids is 200
# You could check uidgid reservation validity in
# /usr/share/doc/setup-*/uidgid file
if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
umask 002
else
umask 022
fi
for i in /etc/profile.d/*.sh /etc/profile.d/sh.local ; do
if [ -r "$i" ]; then
if [ "${-#*i}" != "$-" ]; then
. "$i"
else
. "$i" >/dev/null
fi
fi
done
unset i
unset -f pathmunge
export PATH=$PATH:/usr/local/mysql/bin
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# mysql -uroot -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
[root@web mysql]# cd /usr/local/mysql
[root@web mysql]# ls bin
innochecksum mysqlaccess.conf mysql_convert_table_format mysqlhotcopy mysql_tzinfo_to_sql
msql2mysql mysqladmin mysqld mysqlimport mysql_upgrade
myisamchk mysqlbinlog mysqld_multi mysql_plugin mysql_waitpid
myisam_ftdump mysqlbug mysqld_safe mysql_secure_installation mysql_zap
myisamlog mysqlcheck mysqldump mysql_setpermission perror
myisampack mysql_client_test mysqldumpslow mysqlshow replace
my_print_defaults mysql_client_test_embedded mysql_embedded mysqlslap resolveip
mysql mysql_config mysql_find_rows mysqltest resolve_stack_dump
mysqlaccess mysql_config_editor mysql_fix_extensions mysqltest_embedded
[root@web mysql]# bin/mysqladmin -u root password '123'
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
[root@web mysql]# service mysql start
Starting MySQL SUCCESS!
[root@web mysql]# bin/mysqladmin -u root -password '123'
Warning: Using a password on the command line interface can be insecure.
bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: YES)'
[root@web mysql]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.31 Source distribution
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> ls
-> find
-> find database
-> Ctrl-C -- exit!
Aborted
[root@web mysql]# ls
bin COPYING data docs include lib man my.cnf mysql-test README scripts share sql-bench support-files
[root@web mysql]# cd /
[root@web /]# ls
bin boot dev etc home lib lib64 media mnt opt proc root run sbin soft soft1 srv sys tmp usr var
[root@web /]# cd ~
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 apr-util-1.5.4.tar.bz2 httpd-2.4.37.tar.bz2 initial-setup-ks.cfg mysql-5.6.31 mysql-5.6.31.tar.gz
[root@web ~]# tar xf apr-1.5.2.tar.bz2
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 httpd-2.4.37.tar.bz2 mysql-5.6.31
apr-1.5.2 apr-util-1.5.4.tar.bz2 initial-setup-ks.cfg mysql-5.6.31.tar.gz
[root@web ~]# cd apr-1.5.2/
[root@web apr-1.5.2]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.5.2
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 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 for a sed that does not truncate output... /usr/bin/sed
Applying APR hints file rules for x86_64-unknown-linux-gnu
setting CPPFLAGS to "-DLINUX -D_REENTRANT -D_GNU_SOURCE"
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... gcc -E
checking for gawk... gawk
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... rm
checking for as... as
checking for cpp... cpp
checking for ar... ar
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 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 whether system uses EBCDIC... no
performing libtool configuration...
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... rm: cannot remove 'conftest*': No such file or directory
yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... rm: cannot remove 'conftest*': No such file or directory
no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
grep: /root/apr-1.5.2/libtool: No such file or directory
Check for compiler flags...
checking whether the compiler provides atomic builtins... yes
checking whether to enable -D_LARGEFILE64_SOURCE... no
configure: Configured for Linux 3.10
Checking for libraries...
checking for library containing gethostbyname... none required
checking for library containing gethostname... none required
checking for library containing socket... none required
checking for library containing crypt... -lcrypt
checking for main in -ltruerand... no
checking for library containing modf... none required
Checking for Threads...
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for CFLAGS needed for pthreads... -pthread
adding "-pthread" to CFLAGS
checking for LIBS needed for pthreads... -lpthread
adding "-lpthread" to LIBS
checking for pthread.h... (cached) yes
checking whether pthread_getspecific takes two arguments... no
checking whether pthread_attr_getdetachstate takes one argument... no
checking for recursive mutex support... yes
checking for pthread_key_delete... yes
checking for pthread_rwlock_init... yes
checking for pthread_attr_setguardsize... yes
checking for pthread_yield... yes
checking for pthread_rwlock_t... yes
APR will use threads
checking for readdir in -lc_r... no
checking for gethostbyname in -lc_r... no
checking for gethostbyaddr in -lc_r... no
checking for getservbyname in -lc_r... no
checking for gethostbyname_r... yes
checking for gethostbyaddr_r... yes
checking for getservbyname_r... yes
checking for sigsuspend... yes
checking for sigwait... yes
checking for poll... yes
checking for kqueue... no
checking for port_create... no
checking for epoll support... yes
checking for epoll_create1 support... yes
checking for dup3 support... yes
checking for accept4 support... yes
checking for SOCK_CLOEXEC support... yes
checking for fdatasync... yes
checking for epoll_create1 support... (cached) yes
checking for asio -> message queue support... no
checking for dup3 support... (cached) yes
checking for accept4 support... (cached) yes
checking for SOCK_CLOEXEC support... (cached) yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for getgrnam_r... yes
checking for getgrgid_r... yes
Checking for Shared Memory Support...
checking for library containing shm_open... -lrt
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/mutex.h usability... no
checking sys/mutex.h presence... no
checking for sys/mutex.h... no
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking kernel/OS.h usability... no
checking kernel/OS.h presence... no
checking for kernel/OS.h... no
checking os2.h usability... no
checking os2.h presence... no
checking for os2.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for mmap... yes
checking for munmap... yes
checking for shm_open... yes
checking for shm_unlink... yes
checking for shmget... yes
checking for shmat... yes
checking for shmdt... yes
checking for shmctl... yes
checking for create_area... no
checking for MAP_ANON in sys/mman.h... yes
checking for /dev/zero... yes
checking for mmap that can map /dev/zero... yes
decision on anonymous shared memory allocation method... 4.4BSD-style mmap() via MAP_ANON
decision on namebased memory allocation method... SysV IPC shmget()
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for calloc... yes
checking for setsid... yes
checking for isinf... yes
checking for isnan... yes
checking for getenv... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for writev... yes
checking for getifaddrs... yes
checking for utime... yes
checking for utimes... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for sendfilev in -lsendfile... no
checking for sendfile... yes
checking for send_file... no
checking for sendfilev... no
checking for sigaction... yes
checking whether sys_siglist is declared... yes
checking for fork... yes
checking for inet_addr... yes
checking for inet_network... yes
checking for _getch... no
checking for strerror_r... yes
checking for type of return code from strerror_r... pointer
checking for mmap... (cached) yes
checking for memmove... yes
checking for getpass... yes
checking for getpassphrase... no
checking for gmtime_r... yes
checking for localtime_r... yes
checking for mkstemp... yes
checking whether sigwait takes one argument... no
checking for ANSI C header files... (cached) yes
checking ByteOrder.h usability... no
checking ByteOrder.h presence... no
checking for ByteOrder.h... no
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dir.h usability... no
checking dir.h presence... no
checking for dir.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlfcn.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking osreldate.h usability... no
checking osreldate.h presence... no
checking for osreldate.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking semaphore.h usability... yes
checking semaphore.h presence... yes
checking for semaphore.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sysapi.h usability... no
checking sysapi.h presence... no
checking for sysapi.h... no
checking sysgtime.h usability... no
checking sysgtime.h presence... no
checking for sysgtime.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tpfeq.h usability... no
checking tpfeq.h presence... no
checking for tpfeq.h... no
checking tpfio.h usability... no
checking tpfio.h presence... no
checking for tpfio.h... no
checking for unistd.h... (cached) yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for windows.h... (cached) no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for kernel/OS.h... (cached) no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/sctp.h usability... no
checking netinet/sctp.h presence... no
checking for netinet/sctp.h... no
checking netinet/sctp_uio.h usability... no
checking netinet/sctp_uio.h presence... no
checking for netinet/sctp_uio.h... no
checking for sys/file.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/mman.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/sem.h usability... yes
checking sys/sem.h presence... yes
checking for sys/sem.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/signal.h usability... yes
checking sys/signal.h presence... yes
checking for sys/signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/stat.h... (cached) yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/syslimits.h usability... no
checking sys/syslimits.h presence... no
checking for sys/syslimits.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for netinet/tcp.h... yes
checking for h_errno in netdb.h... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... (cached) yes
checking for uid_t in sys/types.h... yes
checking for ssize_t... yes
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether setpgrp takes no argument... yes
checking for socklen_t... yes
checking size of void*... 8
checking size of char... 1
checking size of int... 4
checking size of long... 8
checking size of short... 2
checking size of long long... 8
checking for INT64_C... yes
checking size of pid_t... 4
checking whether ssize_t and int are the same... no
checking whether ssize_t and long are the same... yes
checking whether size_t and unsigned int are the same... no
checking whether size_t and unsigned long are the same... yes
checking size of ssize_t... 8
checking which format to use for apr_ssize_t... %ld
checking size of size_t... 8
checking which format to use for apr_size_t... %lu
checking size of off_t... 8
checking which type to use for apr_off_t... off_t
checking size of ino_t... 8
configure: using ino_t for ino_t
checking whether byte ordering is bigendian... no
checking size of struct iovec... 16
checking for strnicmp... no
checking for strncasecmp... yes
checking for stricmp... no
checking for strcasecmp... yes
checking for strdup... yes
checking for strstr... yes
checking for memchr... yes
checking for strtol... yes
Checking for DSO...
checking for dlopen... no
checking for dlopen in -ldl... yes
adding "-ldl" to LIBS
checking for dlsym... yes
Checking for Processes...
checking for waitpid... yes
checking for Variable Length Arrays... yes
checking struct rlimit... yes
Checking for Locking...
checking for semget... yes
checking for semctl... yes
checking for flock... yes
checking for semaphore.h... (cached) yes
checking OS.h usability... no
checking OS.h presence... no
checking for OS.h... no
checking for library containing sem_open... none required
checking for sem_close... yes
checking for sem_unlink... yes
checking for sem_post... yes
checking for sem_wait... yes
checking for create_sem... no
checking for working sem_open... yes
checking for union semun in sys/sem.h... no
checking for LOCK_EX in sys/file.h... yes
checking for F_SETLK in fcntl.h... yes
checking for SEM_UNDO in sys/sem.h... yes
checking for POLLIN in poll.h sys/poll.h... yes
checking for PTHREAD_PROCESS_SHARED in pthread.h... yes
checking for pthread_mutexattr_setpshared... yes
checking for working PROCESS_SHARED locks... yes
checking for robust cross-process mutex support... yes
decision on apr_lock implementation method... SysV IPC semget()
checking if fcntl returns EACCES when F_SETLK is already held... no
checking if all interprocess locks affect threads... no
checking if POSIX sems affect threads in the same process... no
checking if SysV sems affect threads in the same process... no
checking if fcntl locks affect threads in the same process... no
checking if flock locks affect threads in the same process... no
checking for entropy source... /dev/urandom
Checking for File Info Support...
checking for struct stat.st_blocks... yes
checking for struct stat.st_atimensec... no
checking for struct stat.st_ctimensec... no
checking for struct stat.st_mtimensec... no
checking for struct stat.st_atim.tv_nsec... yes
checking for struct stat.st_ctim.tv_nsec... yes
checking for struct stat.st_mtim.tv_nsec... yes
checking for struct stat.st_atime_n... no
checking for struct stat.st_ctime_n... no
checking for struct stat.st_mtime_n... no
checking for inode member of struct dirent... d_fileno
checking for file type member of struct dirent... d_type
Checking for OS UUID Support...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking for library containing uuid_create... no
checking for library containing uuid_generate... no
checking for uuid_create... no
checking for uuid_generate... no
checking for os uuid usability... no
Checking for Time Support...
checking for struct tm.tm_gmtoff... yes
checking for struct tm.__tm_gmtoff... no
Checking for Networking support...
checking for type in_addr... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... glibc2
checking 3rd argument to the gethostbyname_r routines... char
checking style of getservbyname_r routine... glibc2
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... no
checking whether TCP_NODELAY and TCP_CORK can both be enabled... yes
checking for TCP_CORK in netinet/tcp.h... yes
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported... no
checking for struct ip_mreq... yes
checking for set_h_errno... no
Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... yes
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for working AI_ADDRCONFIG... yes
checking if APR supports IPv6... yes
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@web apr-1.5.2]# make && make install
make[1]: 进入目录“/root/apr-1.5.2”
/root/apr-1.5.2/build/mkdir.sh tools
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o tools/gen_test_char.lo -c tools/gen_test_char.c && touch tools/gen_test_char.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -no-install -o tools/gen_test_char tools/gen_test_char.lo -lrt -lcrypt -lpthread -ldl
/root/apr-1.5.2/build/mkdir.sh include/private
tools/gen_test_char > include/private/apr_escape_test_char.h
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o encoding/apr_escape.lo -c encoding/apr_escape.c && touch encoding/apr_escape.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch passwd/apr_getpass.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_cpystrn.lo -c strings/apr_cpystrn.c && touch strings/apr_cpystrn.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_fnmatch.lo -c strings/apr_fnmatch.c && touch strings/apr_fnmatch.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_snprintf.lo -c strings/apr_snprintf.c && touch strings/apr_snprintf.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_strings.lo -c strings/apr_strings.c && touch strings/apr_strings.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_strnatcmp.lo -c strings/apr_strnatcmp.c && touch strings/apr_strnatcmp.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o strings/apr_strtok.lo -c strings/apr_strtok.c && touch strings/apr_strtok.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o tables/apr_hash.lo -c tables/apr_hash.c && touch tables/apr_hash.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o tables/apr_skiplist.lo -c tables/apr_skiplist.c && touch tables/apr_skiplist.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o tables/apr_tables.lo -c tables/apr_tables.c && touch tables/apr_tables.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/builtins.lo -c atomic/unix/builtins.c && touch atomic/unix/builtins.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/ia32.lo -c atomic/unix/ia32.c && touch atomic/unix/ia32.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/mutex.lo -c atomic/unix/mutex.c && touch atomic/unix/mutex.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/ppc.lo -c atomic/unix/ppc.c && touch atomic/unix/ppc.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/s390.lo -c atomic/unix/s390.c && touch atomic/unix/s390.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o atomic/unix/solaris.lo -c atomic/unix/solaris.c && touch atomic/unix/solaris.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o dso/unix/dso.lo -c dso/unix/dso.c && touch dso/unix/dso.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/buffer.lo -c file_io/unix/buffer.c && touch file_io/unix/buffer.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/copy.lo -c file_io/unix/copy.c && touch file_io/unix/copy.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/dir.lo -c file_io/unix/dir.c && touch file_io/unix/dir.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/fileacc.lo -c file_io/unix/fileacc.c && touch file_io/unix/fileacc.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/filedup.lo -c file_io/unix/filedup.c && touch file_io/unix/filedup.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/filepath.lo -c file_io/unix/filepath.c && touch file_io/unix/filepath.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/filepath_util.lo -c file_io/unix/filepath_util.c && touch file_io/unix/filepath_util.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/filestat.lo -c file_io/unix/filestat.c && touch file_io/unix/filestat.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/flock.lo -c file_io/unix/flock.c && touch file_io/unix/flock.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/fullrw.lo -c file_io/unix/fullrw.c && touch file_io/unix/fullrw.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/mktemp.lo -c file_io/unix/mktemp.c && touch file_io/unix/mktemp.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/open.lo -c file_io/unix/open.c && touch file_io/unix/open.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/pipe.lo -c file_io/unix/pipe.c && touch file_io/unix/pipe.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/readwrite.lo -c file_io/unix/readwrite.c && touch file_io/unix/readwrite.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/seek.lo -c file_io/unix/seek.c && touch file_io/unix/seek.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o file_io/unix/tempdir.lo -c file_io/unix/tempdir.c && touch file_io/unix/tempdir.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o locks/unix/global_mutex.lo -c locks/unix/global_mutex.c && touch locks/unix/global_mutex.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o locks/unix/proc_mutex.lo -c locks/unix/proc_mutex.c && touch locks/unix/proc_mutex.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o locks/unix/thread_cond.lo -c locks/unix/thread_cond.c && touch locks/unix/thread_cond.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o locks/unix/thread_mutex.lo -c locks/unix/thread_mutex.c && touch locks/unix/thread_mutex.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o locks/unix/thread_rwlock.lo -c locks/unix/thread_rwlock.c && touch locks/unix/thread_rwlock.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o memory/unix/apr_pools.lo -c memory/unix/apr_pools.c && touch memory/unix/apr_pools.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/charset.lo -c misc/unix/charset.c && touch misc/unix/charset.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/env.lo -c misc/unix/env.c && touch misc/unix/env.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/errorcodes.lo -c misc/unix/errorcodes.c && touch misc/unix/errorcodes.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/getopt.lo -c misc/unix/getopt.c && touch misc/unix/getopt.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/otherchild.lo -c misc/unix/otherchild.c && touch misc/unix/otherchild.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/rand.lo -c misc/unix/rand.c && touch misc/unix/rand.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/start.lo -c misc/unix/start.c && touch misc/unix/start.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o misc/unix/version.lo -c misc/unix/version.c && touch misc/unix/version.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o mmap/unix/common.lo -c mmap/unix/common.c && touch mmap/unix/common.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o mmap/unix/mmap.lo -c mmap/unix/mmap.c && touch mmap/unix/mmap.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/inet_ntop.lo -c network_io/unix/inet_ntop.c && touch network_io/unix/inet_ntop.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/inet_pton.lo -c network_io/unix/inet_pton.c && touch network_io/unix/inet_pton.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/multicast.lo -c network_io/unix/multicast.c && touch network_io/unix/multicast.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/sendrecv.lo -c network_io/unix/sendrecv.c && touch network_io/unix/sendrecv.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/sockaddr.lo -c network_io/unix/sockaddr.c && touch network_io/unix/sockaddr.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/socket_util.lo -c network_io/unix/socket_util.c && touch network_io/unix/socket_util.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/sockets.lo -c network_io/unix/sockets.c && touch network_io/unix/sockets.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o network_io/unix/sockopt.lo -c network_io/unix/sockopt.c && touch network_io/unix/sockopt.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/epoll.lo -c poll/unix/epoll.c && touch poll/unix/epoll.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/kqueue.lo -c poll/unix/kqueue.c && touch poll/unix/kqueue.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/poll.lo -c poll/unix/poll.c && touch poll/unix/poll.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/pollcb.lo -c poll/unix/pollcb.c && touch poll/unix/pollcb.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/pollset.lo -c poll/unix/pollset.c && touch poll/unix/pollset.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/port.lo -c poll/unix/port.c && touch poll/unix/port.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/select.lo -c poll/unix/select.c && touch poll/unix/select.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o poll/unix/z_asio.lo -c poll/unix/z_asio.c && touch poll/unix/z_asio.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o random/unix/apr_random.lo -c random/unix/apr_random.c && touch random/unix/apr_random.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o random/unix/sha2.lo -c random/unix/sha2.c && touch random/unix/sha2.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o random/unix/sha2_glue.lo -c random/unix/sha2_glue.c && touch random/unix/sha2_glue.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o shmem/unix/shm.lo -c shmem/unix/shm.c && touch shmem/unix/shm.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o support/unix/waitio.lo -c support/unix/waitio.c && touch support/unix/waitio.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o threadproc/unix/proc.lo -c threadproc/unix/proc.c && touch threadproc/unix/proc.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o threadproc/unix/procsup.lo -c threadproc/unix/procsup.c && touch threadproc/unix/procsup.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o threadproc/unix/signals.lo -c threadproc/unix/signals.c && touch threadproc/unix/signals.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o threadproc/unix/thread.lo -c threadproc/unix/thread.c && touch threadproc/unix/thread.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o threadproc/unix/threadpriv.lo -c threadproc/unix/threadpriv.c && touch threadproc/unix/threadpriv.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o time/unix/time.lo -c time/unix/time.c && touch time/unix/time.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o time/unix/timestr.lo -c time/unix/timestr.c && touch time/unix/timestr.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o user/unix/groupinfo.lo -c user/unix/groupinfo.c && touch user/unix/groupinfo.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=compile gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -o user/unix/userinfo.lo -c user/unix/userinfo.c && touch user/unix/userinfo.lo
/bin/sh /root/apr-1.5.2/libtool --silent --mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private -version-info 5:2:5 -o libapr-1.la -rpath /usr/local/apr/lib encoding/apr_escape.lo passwd/apr_getpass.lo strings/apr_cpystrn.lo strings/apr_fnmatch.lo strings/apr_snprintf.lo strings/apr_strings.lo strings/apr_strnatcmp.lo strings/apr_strtok.lo tables/apr_hash.lo tables/apr_skiplist.lo tables/apr_tables.lo atomic/unix/builtins.lo atomic/unix/ia32.lo atomic/unix/mutex.lo atomic/unix/ppc.lo atomic/unix/s390.lo atomic/unix/solaris.lo dso/unix/dso.lo file_io/unix/buffer.lo file_io/unix/copy.lo file_io/unix/dir.lo file_io/unix/fileacc.lo file_io/unix/filedup.lo file_io/unix/filepath.lo file_io/unix/filepath_util.lo file_io/unix/filestat.lo file_io/unix/flock.lo file_io/unix/fullrw.lo file_io/unix/mktemp.lo file_io/unix/open.lo file_io/unix/pipe.lo file_io/unix/readwrite.lo file_io/unix/seek.lo file_io/unix/tempdir.lo locks/unix/global_mutex.lo locks/unix/proc_mutex.lo locks/unix/thread_cond.lo locks/unix/thread_mutex.lo locks/unix/thread_rwlock.lo memory/unix/apr_pools.lo misc/unix/charset.lo misc/unix/env.lo misc/unix/errorcodes.lo misc/unix/getopt.lo misc/unix/otherchild.lo misc/unix/rand.lo misc/unix/start.lo misc/unix/version.lo mmap/unix/common.lo mmap/unix/mmap.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/multicast.lo network_io/unix/sendrecv.lo network_io/unix/sockaddr.lo network_io/unix/socket_util.lo network_io/unix/sockets.lo network_io/unix/sockopt.lo poll/unix/epoll.lo poll/unix/kqueue.lo poll/unix/poll.lo poll/unix/pollcb.lo poll/unix/pollset.lo poll/unix/port.lo poll/unix/select.lo poll/unix/z_asio.lo random/unix/apr_random.lo random/unix/sha2.lo random/unix/sha2_glue.lo shmem/unix/shm.lo support/unix/waitio.lo threadproc/unix/proc.lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/groupinfo.lo user/unix/userinfo.lo -lrt -lcrypt -lpthread -ldl
gawk -f /root/apr-1.5.2/build/make_exports.awk /root/apr-1.5.2/include/apr_allocator.h /root/apr-1.5.2/include/apr_atomic.h /root/apr-1.5.2/include/apr_dso.h /root/apr-1.5.2/include/apr_env.h /root/apr-1.5.2/include/apr_errno.h /root/apr-1.5.2/include/apr_escape.h /root/apr-1.5.2/include/apr_file_info.h /root/apr-1.5.2/include/apr_file_io.h /root/apr-1.5.2/include/apr_fnmatch.h /root/apr-1.5.2/include/apr_general.h /root/apr-1.5.2/include/apr_getopt.h /root/apr-1.5.2/include/apr_global_mutex.h /root/apr-1.5.2/include/apr_hash.h /root/apr-1.5.2/include/apr_inherit.h /root/apr-1.5.2/include/apr_lib.h /root/apr-1.5.2/include/apr_mmap.h /root/apr-1.5.2/include/apr_network_io.h /root/apr-1.5.2/include/apr_poll.h /root/apr-1.5.2/include/apr_pools.h /root/apr-1.5.2/include/apr_portable.h /root/apr-1.5.2/include/apr_proc_mutex.h /root/apr-1.5.2/include/apr_random.h /root/apr-1.5.2/include/apr_ring.h /root/apr-1.5.2/include/apr_shm.h /root/apr-1.5.2/include/apr_signal.h /root/apr-1.5.2/include/apr_skiplist.h /root/apr-1.5.2/include/apr_strings.h /root/apr-1.5.2/include/apr_support.h /root/apr-1.5.2/include/apr_tables.h /root/apr-1.5.2/include/apr_thread_cond.h /root/apr-1.5.2/include/apr_thread_mutex.h /root/apr-1.5.2/include/apr_thread_proc.h /root/apr-1.5.2/include/apr_thread_rwlock.h /root/apr-1.5.2/include/apr_time.h /root/apr-1.5.2/include/apr_user.h /root/apr-1.5.2/include/apr_version.h /root/apr-1.5.2/include/apr_want.h > exports.c
gawk -f /root/apr-1.5.2/build/make_var_export.awk /root/apr-1.5.2/include/apr_allocator.h /root/apr-1.5.2/include/apr_atomic.h /root/apr-1.5.2/include/apr_dso.h /root/apr-1.5.2/include/apr_env.h /root/apr-1.5.2/include/apr_errno.h /root/apr-1.5.2/include/apr_escape.h /root/apr-1.5.2/include/apr_file_info.h /root/apr-1.5.2/include/apr_file_io.h /root/apr-1.5.2/include/apr_fnmatch.h /root/apr-1.5.2/include/apr_general.h /root/apr-1.5.2/include/apr_getopt.h /root/apr-1.5.2/include/apr_global_mutex.h /root/apr-1.5.2/include/apr_hash.h /root/apr-1.5.2/include/apr_inherit.h /root/apr-1.5.2/include/apr_lib.h /root/apr-1.5.2/include/apr_mmap.h /root/apr-1.5.2/include/apr_network_io.h /root/apr-1.5.2/include/apr_poll.h /root/apr-1.5.2/include/apr_pools.h /root/apr-1.5.2/include/apr_portable.h /root/apr-1.5.2/include/apr_proc_mutex.h /root/apr-1.5.2/include/apr_random.h /root/apr-1.5.2/include/apr_ring.h /root/apr-1.5.2/include/apr_shm.h /root/apr-1.5.2/include/apr_signal.h /root/apr-1.5.2/include/apr_skiplist.h /root/apr-1.5.2/include/apr_strings.h /root/apr-1.5.2/include/apr_support.h /root/apr-1.5.2/include/apr_tables.h /root/apr-1.5.2/include/apr_thread_cond.h /root/apr-1.5.2/include/apr_thread_mutex.h /root/apr-1.5.2/include/apr_thread_proc.h /root/apr-1.5.2/include/apr_thread_rwlock.h /root/apr-1.5.2/include/apr_time.h /root/apr-1.5.2/include/apr_user.h /root/apr-1.5.2/include/apr_version.h /root/apr-1.5.2/include/apr_want.h > export_vars.c
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> apr.exp
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I./include -I/root/apr-1.5.2/include/arch/unix -I./include/arch/unix -I/root/apr-1.5.2/include/arch/unix -I/root/apr-1.5.2/include -I/root/apr-1.5.2/include/private -I/root/apr-1.5.2/include/private export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> apr.exp
sed 's,^\(location=\).*$,\1installed,' < apr-1-config > apr-config.out
sed -e 's,^\(apr_build.*=\).*$,\1/usr/local/apr/build-1,' -e 's,^\(top_build.*=\).*$,\1/usr/local/apr/build-1,' < build/apr_rules.mk > build/apr_rules.out
make[1]: 离开目录“/root/apr-1.5.2”
make[1]: 进入目录“/root/apr-1.5.2”
make[1]: 对“local-all”无需做任何事。
make[1]: 离开目录“/root/apr-1.5.2”
/root/apr-1.5.2/build/mkdir.sh /usr/local/apr/lib /usr/local/apr/bin /usr/local/apr/build-1 \
/usr/local/apr/lib/pkgconfig /usr/local/apr/include/apr-1
mkdir /usr/local/apr
mkdir /usr/local/apr/lib
mkdir /usr/local/apr/bin
mkdir /usr/local/apr/build-1
mkdir /usr/local/apr/lib/pkgconfig
mkdir /usr/local/apr/include
mkdir /usr/local/apr/include/apr-1
/usr/bin/install -c -m 644 /root/apr-1.5.2/include/apr.h /usr/local/apr/include/apr-1
for f in /root/apr-1.5.2/include/apr_*.h; do \
/usr/bin/install -c -m 644 ${f} /usr/local/apr/include/apr-1; \
done
/bin/sh /root/apr-1.5.2/libtool --mode=install /usr/bin/install -c -m 755 libapr-1.la /usr/local/apr/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.so.0.5.2 /usr/local/apr/lib/libapr-1.so.0.5.2
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.5.2 libapr-1.so.0 || { rm -f libapr-1.so.0 && ln -s libapr-1.so.0.5.2 libapr-1.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libapr-1.so.0.5.2 libapr-1.so || { rm -f libapr-1.so && ln -s libapr-1.so.0.5.2 libapr-1.so; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.lai /usr/local/apr/lib/libapr-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libapr-1.a /usr/local/apr/lib/libapr-1.a
libtool: install: chmod 644 /usr/local/apr/lib/libapr-1.a
libtool: install: ranlib /usr/local/apr/lib/libapr-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/mysql/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 /root/apr-1.5.2/build/mkdir.sh /usr/local/apr/build-1
for f in make_exports.awk make_var_export.awk; do \
/usr/bin/install -c -m 644 /root/apr-1.5.2/build/${f} /usr/local/apr/build-1; \
done
/usr/bin/install -c -m 644 build/apr_rules.out /usr/local/apr/build-1/apr_rules.mk
/usr/bin/install -c -m 755 apr-config.out /usr/local/apr/bin/apr-1-config
[root@web apr-1.5.2]# cd ~
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 httpd-2.4.37.tar.bz2 mysql-5.6.31
apr-1.5.2 apr-util-1.5.4.tar.bz2 initial-setup-ks.cfg mysql-5.6.31.tar.gz
[root@web ~]# tar xf apr-util-1.5.4.tar.bz2
[root@web ~]# cd apr-util-1.5.4/
[root@web apr-util-1.5.4]# ./configure --with-apr=/usr/local/apr/bin/apr-1-config
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.4
checking for chosen layout... apr-util
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
Applying apr-util hints file rules for x86_64-unknown-linux-gnu
checking for APR... yes
setting CPP to "gcc -E"
adding "-pthread" to CFLAGS
setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for default DBM... sdbm (default)
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking sqlite3.h usability... 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 sybdb.h usability... no
checking sybdb.h presence... no
checking for sybdb.h... no
checking freetds/sybdb.h usability... no
checking freetds/sybdb.h presence... no
checking for freetds/sybdb.h... no
checking for odbc_config... no
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking odbc/sql.h usability... no
checking odbc/sql.h presence... no
checking for odbc/sql.h... no
checking Expat 1.95.x... 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
configuring package in xml/expat now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
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 for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for memmove... yes
checking for bcopy... yes
checking check.h usability... no
checking check.h presence... no
checking for check.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating expat_config.h
config.status: executing libtool commands
xml/expat configured properly
setting APRUTIL_INCLUDES to "-I/root/apr-util-1.5.4/xml/expat/lib"
setting LDFLAGS to "-L/root/apr-util-1.5.4/xml/expat/lib"
setting APRUTIL_EXPORT_LIBS to "/root/apr-util-1.5.4/xml/expat/libexpat.la"
setting APRUTIL_LIBS to "/root/apr-util-1.5.4/xml/expat/libexpat.la"
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking whether APR has DSO support... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
adding "/usr/local/apr/lib/libapr-1.la" to APRUTIL_LIBS
adding "-lrt" to APRUTIL_LIBS
adding "-lcrypt" to APRUTIL_LIBS
adding "-lpthread" to APRUTIL_LIBS
adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
[root@web apr-util-1.5.4]# cd /usr/local/apr/bin/
[root@web bin]# ls
apr-1-config
[root@web bin]# ls apr-1-config
apr-1-config
[root@web bin]# ll apr-1-config
-rwxr-xr-x 1 root root 6933 7月 4 20:26 apr-1-config
[root@web bin]# cat apr-1-config
#!/bin/sh
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# APR script designed to allow easy command line access to APR configuration
# parameters.
APR_MAJOR_VERSION="1"
APR_DOTTED_VERSION="1.5.2"
prefix="/usr/local/apr"
exec_prefix="${prefix}"
bindir="${exec_prefix}/bin"
libdir="${exec_prefix}/lib"
datarootdir="${prefix}"
datadir="${prefix}"
installbuilddir="${prefix}/build-1"
includedir="${prefix}/include/apr-${APR_MAJOR_VERSION}"
CC="gcc"
CPP="gcc -E"
SHELL="/bin/sh"
CPPFLAGS="-DLINUX -D_REENTRANT -D_GNU_SOURCE"
CFLAGS="-g -O2 -pthread"
LDFLAGS=""
LIBS="-lrt -lcrypt -lpthread -ldl"
EXTRA_INCLUDES=""
SHLIBPATH_VAR="LD_LIBRARY_PATH"
APR_SOURCE_DIR="/root/apr-1.5.2"
APR_BUILD_DIR="/root/apr-1.5.2"
APR_SO_EXT="lo"
APR_LIB_TARGET="-rpath \$(libdir) \$(OBJECTS)"
APR_LIBNAME="apr-${APR_MAJOR_VERSION}"
# NOTE: the following line is modified during 'make install': alter with care!
location=installed
show_usage()
{
cat << EOF
Usage: apr-$APR_MAJOR_VERSION-config [OPTION]
Known values for OPTION are:
--prefix[=DIR] change prefix to DIR
--bindir print location where binaries are installed
--includedir print location where headers are installed
--cc print C compiler name
--cpp print C preprocessor name and any required options
--cflags print C compiler flags
--cppflags print C preprocessor flags
--includes print include information
--ldflags print linker flags
--libs print additional libraries to link against
--srcdir print APR source directory
--installbuilddir print APR build helper directory
--link-ld print link switch(es) for linking to APR
--link-libtool print the libtool inputs for linking to APR
--shlib-path-var print the name of the shared library path env var
--apr-la-file print the path to the .la file, if available
--apr-so-ext print the extensions of shared objects on this platform
--apr-lib-target print the libtool target information
--apr-libtool print the path to APR's libtool
--version print the APR's version as a dotted triple
--help print this help
When linking with libtool, an application should do something like:
APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-libtool --libs\`"
or when linking directly:
APR_LIBS="\`apr-$APR_MAJOR_VERSION-config --link-ld --libs\`"
An application should use the results of --cflags, --cppflags, --includes,
and --ldflags in their build process.
EOF
}
if test $# -eq 0; then
show_usage
exit 1
fi
if test "$location" = "installed"; then
LA_FILE="$libdir/lib${APR_LIBNAME}.la"
else
LA_FILE="$APR_BUILD_DIR/lib${APR_LIBNAME}.la"
fi
flags=""
while test $# -gt 0; do
# Normalize the prefix.
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case "$1" in
# It is possible for the user to override our prefix.
--prefix=*)
prefix=$optarg
;;
--prefix)
echo $prefix
exit 0
;;
--bindir)
echo $bindir
exit 0
;;
--includedir)
if test "$location" = "installed"; then
flags="$includedir"
elif test "$location" = "source"; then
flags="$APR_SOURCE_DIR/include"
else
# this is for VPATH builds
flags="$APR_BUILD_DIR/include $APR_SOURCE_DIR/include"
fi
echo $flags
exit 0
;;
--cc)
echo $CC
exit 0
;;
--cpp)
echo $CPP
exit 0
;;
--cflags)
flags="$flags $CFLAGS"
;;
--cppflags)
flags="$flags $CPPFLAGS"
;;
--libs)
flags="$flags $LIBS"
;;
--ldflags)
flags="$flags $LDFLAGS"
;;
--includes)
if test "$location" = "installed"; then
flags="$flags -I$includedir $EXTRA_INCLUDES"
elif test "$location" = "source"; then
flags="$flags -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
else
# this is for VPATH builds
flags="$flags -I$APR_BUILD_DIR/include -I$APR_SOURCE_DIR/include $EXTRA_INCLUDES"
fi
;;
--srcdir)
echo $APR_SOURCE_DIR
exit 0
;;
--installbuilddir)
if test "$location" = "installed"; then
echo "${installbuilddir}"
elif test "$location" = "source"; then
echo "$APR_SOURCE_DIR/build"
else
# this is for VPATH builds
echo "$APR_BUILD_DIR/build"
fi
exit 0
;;
--version)
echo $APR_DOTTED_VERSION
exit 0
;;
--link-ld)
if test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
flags="$flags -L$libdir -l${APR_LIBNAME}"
else
### this surely can't work since the library is in .libs?
flags="$flags -L$APR_BUILD_DIR -l${APR_LIBNAME}"
fi
;;
--link-libtool)
# If the LA_FILE exists where we think it should be, use it. If we're
# installed and the LA_FILE does not exist, assume to use -L/-l
# (the LA_FILE may not have been installed). If we're building ourselves,
# we'll assume that at some point the .la file be created.
if test -f "$LA_FILE"; then
flags="$flags $LA_FILE"
elif test "$location" = "installed"; then
### avoid using -L if libdir is a "standard" location like /usr/lib
# Since the user is specifying they are linking with libtool, we
# *know* that -R will be recognized by libtool.
flags="$flags -L$libdir -R$libdir -l${APR_LIBNAME}"
else
flags="$flags $LA_FILE"
fi
;;
--shlib-path-var)
echo "$SHLIBPATH_VAR"
exit 0
;;
--apr-la-file)
if test -f "$LA_FILE"; then
flags="$flags $LA_FILE"
fi
;;
--apr-so-ext)
echo "$APR_SO_EXT"
exit 0
;;
--apr-lib-target)
echo "$APR_LIB_TARGET"
exit 0
;;
--apr-libtool)
if test "$location" = "installed"; then
echo "${installbuilddir}/libtool"
else
echo "$APR_BUILD_DIR/libtool"
fi
exit 0
;;
--help)
show_usage
exit 0
;;
*)
show_usage
exit 1
;;
esac
# Next please.
shift
done
if test -n "$flags"; then
echo "$flags"
fi
exit 0
[root@web bin]# ls
apr-1-config
[root@web bin]# cd ~
[root@web ~]# cd apr-util-1.5.4/
[root@web apr-util-1.5.4]# make && make install
Making all in xml/expat
make[1]: 进入目录“/root/apr-util-1.5.4/xml/expat”
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmlparse.lo -c lib/xmlparse.c
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmltok.lo -c lib/xmltok.c
/bin/sh ./libtool --silent --mode=compile gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -o lib/xmlrole.lo -c lib/xmlrole.c
/bin/sh ./libtool --silent --mode=link gcc -g -O2 -DHAVE_EXPAT_CONFIG_H -I./lib -I. -no-undefined -version-info 5:0:5 -rpath /usr/local/apr/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
make[1]: 离开目录“/root/apr-util-1.5.4/xml/expat”
make[1]: 进入目录“/root/apr-util-1.5.4”
/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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_brigade.lo -c buckets/apr_brigade.c && touch buckets/apr_brigade.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets.lo -c buckets/apr_buckets.c && touch buckets/apr_buckets.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_alloc.lo -c buckets/apr_buckets_alloc.c && touch buckets/apr_buckets_alloc.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_eos.lo -c buckets/apr_buckets_eos.c && touch buckets/apr_buckets_eos.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_file.lo -c buckets/apr_buckets_file.c && touch buckets/apr_buckets_file.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_flush.lo -c buckets/apr_buckets_flush.c && touch buckets/apr_buckets_flush.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_heap.lo -c buckets/apr_buckets_heap.c && touch buckets/apr_buckets_heap.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_mmap.lo -c buckets/apr_buckets_mmap.c && touch buckets/apr_buckets_mmap.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_pipe.lo -c buckets/apr_buckets_pipe.c && touch buckets/apr_buckets_pipe.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_pool.lo -c buckets/apr_buckets_pool.c && touch buckets/apr_buckets_pool.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_refcount.lo -c buckets/apr_buckets_refcount.c && touch buckets/apr_buckets_refcount.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_simple.lo -c buckets/apr_buckets_simple.c && touch buckets/apr_buckets_simple.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o buckets/apr_buckets_socket.lo -c buckets/apr_buckets_socket.c && touch buckets/apr_buckets_socket.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/apr_crypto.lo -c crypto/apr_crypto.c && touch crypto/apr_crypto.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/apr_md4.lo -c crypto/apr_md4.c && touch crypto/apr_md4.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/apr_md5.lo -c crypto/apr_md5.c && touch crypto/apr_md5.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/apr_passwd.lo -c crypto/apr_passwd.c && touch crypto/apr_passwd.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/apr_sha1.lo -c crypto/apr_sha1.c && touch crypto/apr_sha1.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/crypt_blowfish.lo -c crypto/crypt_blowfish.c && touch crypto/crypt_blowfish.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/getuuid.lo -c crypto/getuuid.c && touch crypto/getuuid.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o crypto/uuid.lo -c crypto/uuid.c && touch crypto/uuid.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbd/apr_dbd.lo -c dbd/apr_dbd.c && touch dbd/apr_dbd.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/apr_dbm.lo -c dbm/apr_dbm.c && touch dbm/apr_dbm.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/apr_dbm_sdbm.lo -c dbm/apr_dbm_sdbm.c && touch dbm/apr_dbm_sdbm.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/sdbm/sdbm.lo -c dbm/sdbm/sdbm.c && touch dbm/sdbm/sdbm.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/sdbm/sdbm_hash.lo -c dbm/sdbm/sdbm_hash.c && touch dbm/sdbm/sdbm_hash.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/sdbm/sdbm_lock.lo -c dbm/sdbm/sdbm_lock.c && touch dbm/sdbm/sdbm_lock.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o dbm/sdbm/sdbm_pair.lo -c dbm/sdbm/sdbm_pair.c && touch dbm/sdbm/sdbm_pair.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o encoding/apr_base64.lo -c encoding/apr_base64.c && touch encoding/apr_base64.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o hooks/apr_hooks.lo -c hooks/apr_hooks.c && touch hooks/apr_hooks.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o ldap/apr_ldap_stub.lo -c ldap/apr_ldap_stub.c && touch ldap/apr_ldap_stub.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o ldap/apr_ldap_url.lo -c ldap/apr_ldap_url.c && touch ldap/apr_ldap_url.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o memcache/apr_memcache.lo -c memcache/apr_memcache.c && touch memcache/apr_memcache.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apr_date.lo -c misc/apr_date.c && touch misc/apr_date.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apr_queue.lo -c misc/apr_queue.c && touch misc/apr_queue.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apr_reslist.lo -c misc/apr_reslist.c && touch misc/apr_reslist.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apr_rmm.lo -c misc/apr_rmm.c && touch misc/apr_rmm.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apr_thread_pool.lo -c misc/apr_thread_pool.c && touch misc/apr_thread_pool.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apu_dso.lo -c misc/apu_dso.c && touch misc/apu_dso.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o misc/apu_version.lo -c misc/apu_version.c && touch misc/apu_version.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o strmatch/apr_strmatch.lo -c strmatch/apr_strmatch.c && touch strmatch/apr_strmatch.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -o uri/apr_uri.lo -c uri/apr_uri.c && touch uri/apr_uri.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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -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/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -version-info 5:4:5 -o libaprutil-1.la -rpath /usr/local/apr/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/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 strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo xml/apr_xml.lo -lrt -lcrypt -lpthread -ldl /root/apr-util-1.5.4/xml/expat/libexpat.la /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl
gawk -f /usr/local/apr/build-1/make_exports.awk /root/apr-util-1.5.4/include/apr_anylock.h /root/apr-util-1.5.4/include/apr_base64.h /root/apr-util-1.5.4/include/apr_buckets.h /root/apr-util-1.5.4/include/apr_crypto.h /root/apr-util-1.5.4/include/apr_date.h /root/apr-util-1.5.4/include/apr_dbd.h /root/apr-util-1.5.4/include/apr_dbm.h /root/apr-util-1.5.4/include/apr_hooks.h /root/apr-util-1.5.4/include/apr_ldap_init.h /root/apr-util-1.5.4/include/apr_ldap_option.h /root/apr-util-1.5.4/include/apr_ldap_rebind.h /root/apr-util-1.5.4/include/apr_ldap_url.h /root/apr-util-1.5.4/include/apr_md4.h /root/apr-util-1.5.4/include/apr_md5.h /root/apr-util-1.5.4/include/apr_memcache.h /root/apr-util-1.5.4/include/apr_optional.h /root/apr-util-1.5.4/include/apr_optional_hooks.h /root/apr-util-1.5.4/include/apr_queue.h /root/apr-util-1.5.4/include/apr_reslist.h /root/apr-util-1.5.4/include/apr_rmm.h /root/apr-util-1.5.4/include/apr_sdbm.h /root/apr-util-1.5.4/include/apr_sha1.h /root/apr-util-1.5.4/include/apr_strmatch.h /root/apr-util-1.5.4/include/apr_thread_pool.h /root/apr-util-1.5.4/include/apr_uri.h /root/apr-util-1.5.4/include/apr_uuid.h /root/apr-util-1.5.4/include/apr_xlate.h /root/apr-util-1.5.4/include/apr_xml.h /root/apr-util-1.5.4/include/apu_errno.h /root/apr-util-1.5.4/include/apu_version.h /root/apr-util-1.5.4/include/private/apr_crypto_internal.h /root/apr-util-1.5.4/include/private/apr_dbd_internal.h /root/apr-util-1.5.4/include/private/apr_dbd_odbc_v2.h /root/apr-util-1.5.4/include/private/apr_dbm_private.h /root/apr-util-1.5.4/include/private/apu_internal.h > exports.c
gawk -f /usr/local/apr/build-1/make_var_export.awk /root/apr-util-1.5.4/include/apr_anylock.h /root/apr-util-1.5.4/include/apr_base64.h /root/apr-util-1.5.4/include/apr_buckets.h /root/apr-util-1.5.4/include/apr_crypto.h /root/apr-util-1.5.4/include/apr_date.h /root/apr-util-1.5.4/include/apr_dbd.h /root/apr-util-1.5.4/include/apr_dbm.h /root/apr-util-1.5.4/include/apr_hooks.h /root/apr-util-1.5.4/include/apr_ldap_init.h /root/apr-util-1.5.4/include/apr_ldap_option.h /root/apr-util-1.5.4/include/apr_ldap_rebind.h /root/apr-util-1.5.4/include/apr_ldap_url.h /root/apr-util-1.5.4/include/apr_md4.h /root/apr-util-1.5.4/include/apr_md5.h /root/apr-util-1.5.4/include/apr_memcache.h /root/apr-util-1.5.4/include/apr_optional.h /root/apr-util-1.5.4/include/apr_optional_hooks.h /root/apr-util-1.5.4/include/apr_queue.h /root/apr-util-1.5.4/include/apr_reslist.h /root/apr-util-1.5.4/include/apr_rmm.h /root/apr-util-1.5.4/include/apr_sdbm.h /root/apr-util-1.5.4/include/apr_sha1.h /root/apr-util-1.5.4/include/apr_strmatch.h /root/apr-util-1.5.4/include/apr_thread_pool.h /root/apr-util-1.5.4/include/apr_uri.h /root/apr-util-1.5.4/include/apr_uuid.h /root/apr-util-1.5.4/include/apr_xlate.h /root/apr-util-1.5.4/include/apr_xml.h /root/apr-util-1.5.4/include/apu_errno.h /root/apr-util-1.5.4/include/apu_version.h /root/apr-util-1.5.4/include/private/apr_crypto_internal.h /root/apr-util-1.5.4/include/private/apr_dbd_internal.h /root/apr-util-1.5.4/include/private/apr_dbd_odbc_v2.h /root/apr-util-1.5.4/include/private/apr_dbm_private.h /root/apr-util-1.5.4/include/private/apu_internal.h > export_vars.c
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib exports.c | grep "ap_hack_" | sed -e 's/^.*[)]\(.*\);$/\1/' >> aprutil.exp
gcc -E -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
sed 's,^\(location=\).*$,\1installed,' < apu-1-config > apu-config.out
make[1]: 离开目录“/root/apr-util-1.5.4”
Making all in xml/expat
make[1]: 进入目录“/root/apr-util-1.5.4/xml/expat”
make[1]: 对“all”无需做任何事。
make[1]: 离开目录“/root/apr-util-1.5.4/xml/expat”
make[1]: 进入目录“/root/apr-util-1.5.4”
make[1]: 对“local-all”无需做任何事。
make[1]: 离开目录“/root/apr-util-1.5.4”
/usr/local/apr/build-1/mkdir.sh /usr/local/apr/include/apr-1 /usr/local/apr/lib/pkgconfig \
/usr/local/apr/lib /usr/local/apr/bin
for f in /root/apr-util-1.5.4/include/*.h /root/apr-util-1.5.4/include/*.h; do \
/usr/bin/install -c -m 644 ${f} /usr/local/apr/include/apr-1; \
done
/usr/bin/install -c -m 644 apr-util.pc /usr/local/apr/lib/pkgconfig/apr-util-1.pc
list='xml/expat'; for i in $list; do \
( cd $i ; make DESTDIR= install ); \
done
make[1]: 进入目录“/root/apr-util-1.5.4/xml/expat”
/bin/sh ./conftools/mkinstalldirs /usr/local/apr/lib /usr/local/apr/include/apr-1
/bin/sh ./libtool --mode=install /usr/bin/install -c libexpat.la /usr/local/apr/lib/libexpat.la
libtool: install: /usr/bin/install -c .libs/libexpat.so.0.5.0 /usr/local/apr/lib/libexpat.so.0.5.0
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libexpat.so.0.5.0 libexpat.so.0 || { rm -f libexpat.so.0 && ln -s libexpat.so.0.5.0 libexpat.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libexpat.so.0.5.0 libexpat.so || { rm -f libexpat.so && ln -s libexpat.so.0.5.0 libexpat.so; }; })
libtool: install: /usr/bin/install -c .libs/libexpat.lai /usr/local/apr/lib/libexpat.la
libtool: install: /usr/bin/install -c .libs/libexpat.a /usr/local/apr/lib/libexpat.a
libtool: install: chmod 644 /usr/local/apr/lib/libexpat.a
libtool: install: ranlib /usr/local/apr/lib/libexpat.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/mysql/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 ./lib/expat.h /usr/local/apr/include/apr-1
make[1]: 离开目录“/root/apr-util-1.5.4/xml/expat”
/bin/sh /usr/local/apr/build-1/libtool --mode=install /usr/bin/install -c -m 755 libaprutil-1.la /usr/local/apr/lib
libtool: install: warning: relinking `libaprutil-1.la'
libtool: install: (cd /root/apr-util-1.5.4; /bin/sh /usr/local/apr/build-1/libtool --silent --mode=relink gcc -g -O2 -pthread -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/root/apr-util-1.5.4/include -I/root/apr-util-1.5.4/include/private -I/usr/local/apr/include/apr-1 -I/root/apr-util-1.5.4/xml/expat/lib -version-info 5:4:5 -o libaprutil-1.la -rpath /usr/local/apr/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/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 strmatch/apr_strmatch.lo uri/apr_uri.lo xlate/xlate.lo xml/apr_xml.lo -lrt -lcrypt -lpthread -ldl /root/apr-util-1.5.4/xml/expat/libexpat.la /usr/local/apr/lib/libapr-1.la -lrt -lcrypt -lpthread -ldl )
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.so.0.5.4T /usr/local/apr/lib/libaprutil-1.so.0.5.4
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libaprutil-1.so.0.5.4 libaprutil-1.so.0 || { rm -f libaprutil-1.so.0 && ln -s libaprutil-1.so.0.5.4 libaprutil-1.so.0; }; })
libtool: install: (cd /usr/local/apr/lib && { ln -s -f libaprutil-1.so.0.5.4 libaprutil-1.so || { rm -f libaprutil-1.so && ln -s libaprutil-1.so.0.5.4 libaprutil-1.so; }; })
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.lai /usr/local/apr/lib/libaprutil-1.la
libtool: install: /usr/bin/install -c -m 755 .libs/libaprutil-1.a /usr/local/apr/lib/libaprutil-1.a
libtool: install: chmod 644 /usr/local/apr/lib/libaprutil-1.a
libtool: install: ranlib /usr/local/apr/lib/libaprutil-1.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/mysql/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 aprutil.exp /usr/local/apr/lib
/usr/bin/install -c -m 755 apu-config.out /usr/local/apr/bin/apu-1-config
[root@web apr-util-1.5.4]# cd~
bash: cd~: 未找到命令...
[root@web apr-util-1.5.4]# cd ~
[root@web ~]# ls
anaconda-ks.cfg apr-1.5.2.tar.bz2 apr-util-1.5.4.tar.bz2 initial-setup-ks.cfg mysql-5.6.31.tar.gz
apr-1.5.2 apr-util-1.5.4 httpd-2.4.37.tar.bz2 mysql-5.6.31
[root@web ~]# tar httpd-2.4.37.tar.bz2
tar: 旧选项“b”需要参数。
请用“tar --help”或“tar --usage”获得更多信息。
[root@web ~]# tar xf httpd-2.4.37.tar.bz2
[root@web ~]# cd httpd-2.4.37/
[root@web httpd-2.4.37]# vim apache.sh
[root@web httpd-2.4.37]# cat apache.sh
./configure \
--enable-modules=all \
--enable-mods-shared=all \
--enable-so \
--enable-rewrite \
--with-pcre \
--enable-ssl \
--with-mpm=prefork \
--with-apr=/usr/local/apr/bin/apr-1-config \
--with-apr-util=/usr/local/apr/bin/apu-1-config
[root@web httpd-2.4.37]# chmod +x apache.sh
[root@web httpd-2.4.37]# ll apache.sh
-rwxr-xr-x 1 root dip 240 7月 4 20:56 apache.sh
[root@web httpd-2.4.37]# ./apache.sh
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
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 (all)
checking whether to enable mod_authn_anon... shared (all)
checking whether to enable mod_authn_dbd... shared (all)
checking whether to enable mod_authn_socache... shared (all)
checking whether to enable mod_authn_core... 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 (all)
checking whether to enable mod_authz_owner... shared (all)
checking whether to enable mod_authz_dbd... shared (all)
checking whether to enable mod_authz_core... 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 (all)
checking whether to enable mod_auth_digest... checking dependencies
checking whether to enable mod_auth_digest... shared (all)
checking whether to enable mod_allowmethods... shared (all)
adding "-I$(top_srcdir)/modules/aaa" to INCLUDES
checking whether to enable mod_isapi... no
checking whether to enable mod_file_cache... shared (all)
checking whether to enable mod_cache... shared (all)
checking whether to enable mod_cache_disk... checking dependencies
checking whether to enable mod_cache_disk... shared (all)
checking whether to enable mod_cache_socache... shared (all)
checking whether to enable mod_socache_shmcb... shared (all)
checking whether to enable mod_socache_dbm... shared (all)
checking whether to enable mod_socache_memcache... shared (all)
checking whether to enable mod_socache_dc... no
adding "-I$(top_srcdir)/modules/cache" to INCLUDES
setting HTTPD_LDFLAGS to "-export-dynamic"
checking whether to enable mod_so... static
setting AP_LIBS to "$(MOD_SO_LDADD)"
checking whether to enable mod_watchdog... checking dependencies
checking whether to enable mod_watchdog... shared (all)
checking whether to enable mod_macro... shared (all)
adding "-I$(top_srcdir)/modules/core" to INCLUDES
checking whether to enable mod_dbd... shared (all)
adding "-I$(top_srcdir)/modules/database" to INCLUDES
checking whether to enable mod_bucketeer... no
checking whether to enable mod_dumpio... shared (all)
checking whether to enable mod_echo... shared (all)
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 (all)
checking whether to enable mod_data... shared (all)
checking whether to enable mod_ratelimit... shared (all)
checking whether to enable mod_reqtimeout... shared
checking whether to enable mod_ext_filter... shared (all)
checking whether to enable mod_request... shared (all)
checking whether to enable mod_include... shared (all)
checking whether to enable mod_filter... shared
checking whether to enable mod_reflector... shared (all)
checking whether to enable mod_substitute... shared (all)
checking whether to enable mod_sed... checking dependencies
setting MOD_SED_LDADD to "-export-symbols-regex sed_module"
checking whether to enable mod_sed... shared (all)
checking whether to enable mod_charset_lite... shared (all)
checking whether to enable mod_deflate... checking dependencies
checking for zlib location... /usr
setting LIBS to "-lz"
checking for zlib library... found
setting MOD_DEFLATE_LDADD to " -lz"
nulling LIBS
checking whether to enable mod_deflate... shared (all)
checking whether to enable mod_xml2enc... checking dependencies
checking for libxml2... checking for libxml2... no
checking whether to enable mod_xml2enc... no (disabled)
checking whether to enable mod_proxy_html... checking dependencies
checking for libxml2... (cached) no
checking whether to enable mod_proxy_html... no (disabled)
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 (all)
checking whether to enable mod_log_forensic... shared (all)
adding "-I$(top_builddir)/server" to INCLUDES
checking whether to enable mod_logio... shared (all)
adding "-I$(top_srcdir)/modules/loggers" to INCLUDES
checking whether to enable mod_lua... checking dependencies
checking for pow in -lm... yes
checking for sqrt in -lm... yes
checking for lua.h in ./include/lua-5.3... no
checking for lua.h in ./include/lua5.3... no
checking for lua.h in ./include/lua53... no
checking for lua.h in ./include... no
checking for lua.h in ./include/lua-5.2... no
checking for lua.h in ./include/lua5.2... no
checking for lua.h in ./include/lua52... no
checking for lua.h in ./include/lua-5.1... no
checking for lua.h in ./include/lua5.1... no
checking for lua.h in ./include/lua51... no
checking for lua.h in /usr/local/include/lua-5.3... no
checking for lua.h in /usr/local/include/lua5.3... no
checking for lua.h in /usr/local/include/lua53... no
checking for lua.h in /usr/local/include... no
checking for lua.h in /usr/local/include/lua-5.2... no
checking for lua.h in /usr/local/include/lua5.2... no
checking for lua.h in /usr/local/include/lua52... no
checking for lua.h in /usr/local/include/lua-5.1... no
checking for lua.h in /usr/local/include/lua5.1... no
checking for lua.h in /usr/local/include/lua51... no
checking for lua.h in /usr/include/lua-5.3... no
checking for lua.h in /usr/include/lua5.3... no
checking for lua.h in /usr/include/lua53... no
checking for lua.h in /usr/include... no
checking for lua.h in /usr/include/lua-5.2... no
checking for lua.h in /usr/include/lua5.2... no
checking for lua.h in /usr/include/lua52... no
checking for lua.h in /usr/include/lua-5.1... no
checking for lua.h in /usr/include/lua5.1... no
checking for lua.h in /usr/include/lua51... no
configure: WARNING: *** Lua 5.3 5.2 or 5.1 library not found.
configure: WARNING: Lua 5.3 5.2 or 5.1 library is required
checking whether to enable mod_lua... no (disabled)
adding "-I$(top_srcdir)/modules/lua" to INCLUDES
checking whether to enable mod_env... shared
checking whether to enable mod_mime_magic... shared (all)
checking whether to enable mod_cern_meta... no
checking whether to enable mod_expires... shared (all)
checking whether to enable mod_headers... shared
checking whether to enable mod_ident... no
checking whether to enable mod_usertrack... checking dependencies
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for times... yes
checking whether to enable mod_usertrack... shared (all)
checking whether to enable mod_unique_id... shared (all)
checking whether to enable mod_setenvif... shared
checking whether to enable mod_version... shared
checking whether to enable mod_remoteip... shared (all)
checking whether to enable mod_proxy... shared (all)
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
adding "-I$(top_srcdir)/modules/http2" to INCLUDES
checking whether to enable mod_session... shared (all)
checking whether to enable mod_session_cookie... checking dependencies
checking whether to enable mod_session_cookie... shared (all)
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 (all)
adding "-I$(top_srcdir)/modules/session" to INCLUDES
checking whether to enable mod_slotmem_shm... shared (all)
checking whether to enable mod_slotmem_plain... shared (all)
checking whether to enable mod_ssl... checking dependencies
checking for OpenSSL... checking for user-provided OpenSSL base directory... none
setting MOD_CFLAGS to " "
setting ab_CFLAGS to " "
setting MOD_LDFLAGS to " "
checking for OpenSSL version >= 0.9.8a... OK
adding "-lssl" to MOD_LDFLAGS
adding "-lcrypto" to MOD_LDFLAGS
adding "-lrt" to MOD_LDFLAGS
adding "-lcrypt" to MOD_LDFLAGS
adding "-lpthread" to MOD_LDFLAGS
adding "-ldl" to MOD_LDFLAGS
setting LIBS to "-lssl -lcrypto -lrt -lcrypt -lpthread -ldl"
forcing ab_LIBS to " -lssl -lcrypto -lrt -lcrypt -lpthread -ldl"
checking openssl/engine.h usability... yes
checking openssl/engine.h presence... yes
checking for openssl/engine.h... yes
checking for SSL_CTX_new... yes
checking for ENGINE_init... yes
checking for ENGINE_load_builtin_engines... yes
checking for RAND_egd... yes
yes
setting MOD_SSL_LDADD to "-export-symbols-regex ssl_module"
checking whether to enable mod_ssl... shared
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... shared (all)
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 for sys/times.h... (cached) yes
checking for times... (cached) 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) yes
setting MOD_LDFLAGS to " -lssl -lcrypto -lrt -lcrypt -lpthread -ldl"
setting MOD_CFLAGS to " "
setting MOD_CPPFLAGS to "-DH2_OPENSSL"
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) yes
setting MOD_LDFLAGS to " -lssl -lcrypto -lrt -lcrypt -lpthread -ldl"
setting MOD_CFLAGS to " "
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... prefork
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... checking dependencies
checking whether to enable mod_heartbeat... shared (all)
checking whether to enable mod_heartmonitor... shared (all)
checking whether to enable mod_dav... shared (all)
adding "-I$(top_srcdir)/modules/dav/main" to INCLUDES
checking whether to enable mod_status... shared
checking whether to enable mod_autoindex... shared
checking whether to enable mod_asis... shared (all)
checking whether to enable mod_info... shared (all)
checking whether to enable mod_suexec... no
checking whether to enable mod_cgi... shared (all)
checking whether to enable mod_cgid... 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... checking dependencies
checking whether to enable mod_dav_lock... shared (all)
checking for extra modules... none
checking whether to enable mod_vhost_alias... shared (all)
checking whether to enable mod_negotiation... shared (all)
checking whether to enable mod_dir... shared
checking whether to enable mod_imagemap... no
checking whether to enable mod_actions... shared (all)
checking whether to enable mod_speling... shared (all)
checking whether to enable mod_userdir... shared (all)
checking whether to enable mod_alias... shared
checking whether to enable mod_rewrite... shared
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$(top_srcdir)/modules/aaa -I$(top_srcdir)/modules/cache -I$(top_srcdir)/modules/core -I$(top_srcdir)/modules/database -I$(top_srcdir)/modules/filters -I$(top_srcdir)/modules/ldap -I$(top_builddir)/server -I$(top_srcdir)/modules/loggers -I$(top_srcdir)/modules/lua -I$(top_srcdir)/modules/proxy -I$(top_srcdir)/modules/http2 -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/prefork/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.37
Install prefix: /usr/local/apache2
C compiler: gcc -std=gnu99
CFLAGS: -g -O2 -pthread
CPPFLAGS: -DLINUX -D_REENTRANT -D_GNU_SOURCE
LDFLAGS:
LIBS:
C preprocessor: gcc -E
[root@web httpd-2.4.37]# make && make install
Making all in srclib
make[1]: 进入目录“/root/httpd-2.4.37/srclib”
make[1]: 离开目录“/root/httpd-2.4.37/srclib”
Making all in os
make[1]: 进入目录“/root/httpd-2.4.37/os”
Making all in unix
make[2]: 进入目录“/root/httpd-2.4.37/os/unix”
make[3]: 进入目录“/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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]: 离开目录“/root/httpd-2.4.37/os/unix”
make[2]: 离开目录“/root/httpd-2.4.37/os/unix”
make[1]: 离开目录“/root/httpd-2.4.37/os”
Making all in server
make[1]: 进入目录“/root/httpd-2.4.37/server”
Making all in mpm
make[2]: 进入目录“/root/httpd-2.4.37/server/mpm”
Making all in prefork
make[3]: 进入目录“/root/httpd-2.4.37/server/mpm/prefork”
make[4]: 进入目录“/root/httpd-2.4.37/server/mpm/prefork”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/modules/mappers -prefer-non-pic -static -c prefork.c && touch prefork.lo
/usr/local/apr/build-1/libtool --silent --mode=link gcc -std=gnu99 -g -O2 -pthread -static -o libprefork.la prefork.lo
make[4]: 离开目录“/root/httpd-2.4.37/server/mpm/prefork”
make[3]: 离开目录“/root/httpd-2.4.37/server/mpm/prefork”
make[2]: 离开目录“/root/httpd-2.4.37/server/mpm”
make[2]: 进入目录“/root/httpd-2.4.37/server”
/usr/local/apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/modules/mappers -prefer-non-pic -static -c util_regex.c && touch util_regex.lo
( for dir in /root/httpd-2.4.37/include /root/httpd-2.4.37/os/unix; do \
ls $dir/*.h ; \
done; \
echo "/root/httpd-2.4.37/server/mpm_fdqueue.h"; \
for dir in /usr/local/apr/include/apr-1 /usr/local/apr/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 /root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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 /root/httpd-2.4.37/build/make_var_export.awk `cat export_files` > export_vars.h
gcc -E -DLINUX -D_REENTRANT -D_GNU_SOURCE -I. -I/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/modules/mappers export_vars.h | grep -v apr_ | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> httpd.exp
make[2]: 离开目录“/root/httpd-2.4.37/server”
make[1]: 离开目录“/root/httpd-2.4.37/server”
Making all in modules
make[1]: 进入目录“/root/httpd-2.4.37/modules”
Making all in aaa
make[2]: 进入目录“/root/httpd-2.4.37/modules/aaa”
make[2]: 离开目录“/root/httpd-2.4.37/modules/aaa”
Making all in cache
make[2]: 进入目录“/root/httpd-2.4.37/modules/cache”
make[2]: 离开目录“/root/httpd-2.4.37/modules/cache”
Making all in core
make[2]: 进入目录“/root/httpd-2.4.37/modules/core”
make[3]: 进入目录“/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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]: 离开目录“/root/httpd-2.4.37/modules/core”
make[2]: 离开目录“/root/httpd-2.4.37/modules/core”
Making all in database
make[2]: 进入目录“/root/httpd-2.4.37/modules/database”
make[2]: 离开目录“/root/httpd-2.4.37/modules/database”
Making all in debugging
make[2]: 进入目录“/root/httpd-2.4.37/modules/debugging”
make[2]: 离开目录“/root/httpd-2.4.37/modules/debugging”
Making all in echo
make[2]: 进入目录“/root/httpd-2.4.37/modules/echo”
make[2]: 离开目录“/root/httpd-2.4.37/modules/echo”
Making all in filters
make[2]: 进入目录“/root/httpd-2.4.37/modules/filters”
make[2]: 离开目录“/root/httpd-2.4.37/modules/filters”
Making all in http
make[2]: 进入目录“/root/httpd-2.4.37/modules/http”
make[3]: 进入目录“/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/loggers -I/root/httpd-2.4.37/modules/lua -I/root/httpd-2.4.37/modules/proxy -I/root/httpd-2.4.37/modules/http2 -I/root/httpd-2.4.37/modules/session -I/root/httpd-2.4.37/modules/ssl -I/root/httpd-2.4.37/modules/test -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/md -I/root/httpd-2.4.37/modules/arch/unix -I/root/httpd-2.4.37/modules/dav/main -I/root/httpd-2.4.37/modules/generators -I/root/httpd-2.4.37/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/root/httpd-2.4.37/os/unix -I/root/httpd-2.4.37/include -I/usr/local/apr/include/apr-1 -I/root/httpd-2.4.37/modules/aaa -I/root/httpd-2.4.37/modules/cache -I/root/httpd-2.4.37/modules/core -I/root/httpd-2.4.37/modules/database -I/root/httpd-2.4.37/modules/filters -I/root/httpd-2.4.37/modules/ldap -I/root/httpd-2.4.37/server -I/root/httpd-2.4.37/modules/logg