码迷,mamicode.com
首页 > 其他好文 > 详细

记录apache的安装过程中的一些错误解决方式

时间:2014-09-14 23:47:58      阅读:410      评论:0      收藏:0      [点我收藏+]

标签:style   http   color   os   使用   ar   strong   for   sp   

安装过多次APACHE,每次安装都会发生一些错误,按着错误一搜,跟着解决方案一步一步就解决了。当然有一些解决方案是坑人的 =。=

这次想想还是把过程记录一下,以防下次使用时有过往成功的记录可查,省的再去找了。


APR  not found

#  cd /opt

#  wget http://archive.apache.org/dist/apr/apr-1.4.5.tar.gz

#  tar -zxf apr-1.4.5.tar.gz  

#  cd  apr-1.4.5

#  ./configure --prefix=/usr/local/apr

#  make && make install


APR-util not found

wget http://archive.apache.org/dist/apr/apr-util-1.3.12.tar.gz

#  cd /opt

#  tar -zxf apr-util-1.3.12.tar.gz

#  cd apr-util-1.3.12

#  ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr/bin/apr-1-config

#  make && make install


pcre 

#  wget http://jaist.dl.sourceforge.net/project/pcre/pcre/8.10/pcre-8.10.zip

#  cd /opt

#  unzip -o pcre-8.10.zip

#  cd pcre-8.10

#  ./configure --prefix=/usr/local/pcre


g++: command not found 

#  yum -y install gcc+ gcc-c++



最后编译时,加上以下

--with-apr=/usr/local/apr  --with-apr-util=/usr/local/apr-util  --with-pcre=/usr/local/pcre


记录apache的安装过程中的一些错误解决方式

标签:style   http   color   os   使用   ar   strong   for   sp   

原文地址:http://my.oschina.net/iseric/blog/313479

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!