apache 安装APR-util not found
我是手动安装apache的,因为我在通过ports安装apache22后(默认安装目录),发现在/usr/local/与//usr/local/etc下均无没有apache的安装文件。所以我手动安装步骤如下
1、安装apr-1.4.6.tar.gz
2、安装apr-util-1.4.1.tar.gz
3、安装pcre-8.30.zip
####################
#以下已经显示了我已经成功安装了apr,apr-util,pcre
wangbadan#
wangbadan# cd /usr/local/
wangbadan# ls -a
. bin lib mysql-test sql-bench
.. etc libdata pcre www
apr include libexec sbin
apr-util info man share
###########################
4、安装 httpd-2.4.2
##########################
#报错
wangbadan# cd httpd-2.4.2
wangbadan# ./configure --prefix=/usr/local/apache2 --enable-so --enable-rewrite --with-pcre=/usr/local/pcre/bin/pcre-config
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... i386-unknown-freebsd8.2
checking host system type... i386-unknown-freebsd8.2
checking target system type... i386-unknown-freebsd8.2
Configuring Apache Portable Runtime library ...
checking for APR... apr-1-config: not found
yes
setting CC to "gcc"
setting CPP to "gcc -E"
setting CFLAGS to " -g -O2"
setting CPPFLAGS to " "
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
checking for APR-util... apu-1-config: not found
no
configure: error: APR-util not found.Please read the documentation.
##########################
请问,相关插件我已经安装了怎么还会报错呢?该如何解决,谢谢。 亲,世界很黑,
一切忽略Portser工作的行为都是装逼行为 本帖最后由 BSDtoy 于 2012-05-04 14:35 编辑
试试这个
/usr/local/etc/apache22
http://91boy.blog.51cto.com/2814767/836766 冥顽不灵
cd /usr/ports/www/apache22 &&make install clean
一个命令,全部完成 回复 4# 芭比小柒
The main Apache HTTP Server configuration file is installed as /usr/local/etc/apache22/httpd.conf on FreeBSD.
楼主已经通过ports安装 只是找不到目录而已
手动编译错误 可能是缺少参数 所以给出链接
我觉得如果不是出于帮助别人的目的 可以不用回复
回复 5# BSDtoy
很明显,你说的楼主手动编译的,而不是通过ports
ports维护者有时候会对软件做些修改,适应FreeBSD
,当一个软件管理器足够优秀时,如果不使用,那不是聪明的行为 嘿嘿,谢谢楼上的两位,其实我用的方法就是这个blog提供的方法,我更新Ports,再在ports安装一下看看,谢谢两位啦~:wink: 回复 3# BSDtoy
还不错
页:
[1]