action08 发表于 2014-03-04 18:54

编译apache

sudo apt-get install libapr1-dev libaprutil1-dev
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
comerr-dev krb5-multidev libexpat1-dev libgssrpc4 libkadm5clnt-mit8
libkadm5srv-mit8 libkdb5-6 libkrb5-dev libldap2-dev libmysqlclient-dev
libmysqlclient18 libpcre3-dev libpcrecpp0 libpq-dev libpq5 libsqlite3-dev
libssl-dev libssl-doc mysql-common uuid-dev zlib1g-dev
Suggested packages:
krb5-doc krb5-user postgresql-doc-9.1 sqlite3-doc
The following NEW packages will be installed:
comerr-dev krb5-multidev libapr1-dev libaprutil1-dev libexpat1-dev
libgssrpc4 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-dev
libldap2-dev libmysqlclient-dev libmysqlclient18 libpcre3-dev libpcrecpp0
libpq-dev libpq5 libsqlite3-dev libssl-dev libssl-doc mysql-common uuid-dev
zlib1g-dev
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,839 kB of archives.
After this operation, 35.9 MB of additional disk space will be used.
Do you want to continue ? n
Abort.

action08 发表于 2014-03-04 18:55

APR and APR-Util
    Make sure you have APR and APR-Util already installed on your system. If you don't, or prefer to not use the system-provided versions, download the latest versions of both APR and APR-Util from Apache APR, unpack them into ./srclib/apr and ./srclib/apr-util (be sure the directory names do not have version numbers; for example, the APR distribution must be under ./srclib/apr/) and use ./configure's --with-included-apr option. On some platforms, you may have to install the corresponding -dev packages to allow httpd to build against your installed copy of APR and APR-Util.

一直在用系统apt的安装的apache,没想到背后还是相当的复杂啊,比nginx复杂多了

action08 发表于 2014-03-04 19:02

乖不到现在用nginx的人直线高升,原来是学习陡度高啊:luya:
页: [1]
查看完整版本: 编译apache