Linux Apache & APR & APR_util & pcre 配置

[root@localhost soft]# cd apr-1.5.2
[root@localhost apr-1.5.2]# ./configure --prefix=/usr/local/apr
[root@localhost apr-1.5.2]# make
[root@localhost apr-1.5.2]# make install

[root@localhost apr-1.5.2]# cd ../apr-util-1.5.4
[root@localhost apr-util-1.5.4]# ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config
[root@localhost apr-util-1.5.4]# make
[root@localhost apr-util-1.5.4]# make install

[root@localhost apr-util-1.5.4]# cd ../pcre-8.38
[root@localhost pcre-8.38]# ./configure --prefix=/usr/local/pcre --with-apr=/usr/local/apr/bin/apr-1-config
[root@localhost pcre-8.38]# make
[root@localhost pcre-8.38]# make install

[root@localhost pcre-8.38]# cd ../httpd-2.4.18
[root@localhost httpd-2.4.18]# ./configure --prefix=/usr/local/httpd --with-pcre=/usr/local/pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
[root@localhost httpd-2.4.18]# make
[root@localhost httpd-2.4.18]# make install

=====

APR:可移植运行库

APR-util:APR-utility

PCRE:Perl Compatible Regular Expressions,Perl库

 

转载于:https://my.oschina.net/u/3512009/blog/1031547

你可能感兴趣的:(Linux Apache & APR & APR_util & pcre 配置)