LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 978|回复: 3

apache2安装失败

[复制链接]
发表于 2004-7-10 13:49:25 | 显示全部楼层 |阅读模式
===> Script "configure" failed unexpectedly.
Please report the problem to clement@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/apache2/work/httpd-2.0.50/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

ports下直接make install clean的.升级了ports后做的.

为什么会这样啊?
 楼主| 发表于 2004-7-10 14:44:24 | 显示全部楼层
我看也有很多人装过这个嘛.能提供一点经验吗?
 楼主| 发表于 2004-7-10 20:27:51 | 显示全部楼层
checking for APR-util... reconfig
configuring package in srclib/apr-util now
configure: WARNING: you should use --build, --host, --target
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.2.1
checking host system type... i386-portbld-freebsd5.2.1
checking target system type... i386-portbld-freebsd5.2.1
checking for working mkdir -p... yes
APR-util Version: 0.9.5
checking for chosen layout... apr-util
Applying apr-util hints file rules for i386-portbld-freebsd5.2.1
checking for APR... yes
setting CPP to "cc -E"
setting CPPFLAGS to " -D_REENTRANT -D_THREAD_SAFE"
checking for i386-portbld-freebsd5.2.1-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for egrep... 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 gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking for default DBM... sdbm
checking for Expat in /usr/local... no
configure: error: Expat was not found (or recognized) in "/usr/local"
configure failed for srclib/apr-util
===> Script "configure" failed unexpectedly.
Please report the problem to clement@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/apache2/work/httpd-2.0.50/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/apache2.

它说找不到expat?我用刑pkg_info看了,明显装了一个expat呀.
expat-1.95.7 XML 1.0 parser written in C
 楼主| 发表于 2004-7-13 09:39:24 | 显示全部楼层
You need APR random support to use mod_auth_digest.
Look at APR configure options --with-egd and --with-devrandom.
checking whether to enable mod_auth_digest... configure: error: mod_auth_digest has been requested but can not be built due to prerequisite failures
===> Script "configure" failed unexpectedly.
Please report the problem to clement@FreeBSD.org [maintainer] and attach the
"/usr/ports/www/apache2/work/httpd-2.0.50/config.log" including the output
of the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/apache2.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表