LinuxSir.cn,穿越时空的Linuxsir!

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

关于对apache按装时出现的问题?

[复制链接]
发表于 2003-8-19 21:07:12 | 显示全部楼层 |阅读模式
在redhat8.0下make时安装apache出现如问题不知是怎么回事请高手!!
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_E
XPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_auth_dbm.c &
& mv mod_auth_dbm.o mod_auth_dbm.lo
mod_auth_dbm.c:84:18: ndbm.h: No such file or directory
mod_auth_dbm.c: In function `get_dbm_pw':
mod_auth_dbm.c:152: `DBM' undeclared (first use in this function)
mod_auth_dbm.c:152: (Each undeclared identifier is reported only once
mod_auth_dbm.c:152: for each function it appears in.)
mod_auth_dbm.c:152: `f' undeclared (first use in this function)
mod_auth_dbm.c:153: `datum' undeclared (first use in this function)
mod_auth_dbm.c:153: parse error before "d"
mod_auth_dbm.c:156: `q' undeclared (first use in this function)
mod_auth_dbm.c:170: `d' undeclared (first use in this function)
make[4]: *** [mod_auth_dbm.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.28/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.28'
make: *** [build] Error 2
[root@server2 apache_1.3.28]#
发表于 2003-8-19 21:25:22 | 显示全部楼层
系统中没有DBM的头文件,
可以去找DBM的支持,或者不要mod_auth_dbm。
 楼主| 发表于 2003-8-19 21:32:49 | 显示全部楼层

兄弟不要会有什么影响呀?

dbm是个什么样的包?
好象不安装那个包不行因为在apache目录下没有相应的bin目录。
上面全部的错误是这样的:
[root@server2 apache_1.3.28]# make
===> src
make[1]: Entering directory `/usr/local/src/apache_1.3.28'
make[2]: Entering directory `/usr/local/src/apache_1.3.28/src'
===> src/os/unix
make[3]: Nothing to be done for `all'.
<=== src/os/unix
===> src/ap
make[3]: Nothing to be done for `all'.
<=== src/ap
===> src/main
make[3]: Nothing to be done for `all'.
<=== src/main
===> src/lib
===> src/lib/expat-lite
make[4]: Nothing to be done for `all'.
<=== src/lib/expat-lite
<=== src/lib
===> src/modules
===> src/modules/standard
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_EXPAT -I../../lib/expat-lite `../../apaci` -fpic -DSHARED_MODULE mod_auth_dbm.c && mv mod_auth_dbm.o mod_auth_dbm.lo
mod_auth_dbm.c:84:18: ndbm.h: No such file or directory
mod_auth_dbm.c: In function `get_dbm_pw':
mod_auth_dbm.c:152: `DBM' undeclared (first use in this function)
mod_auth_dbm.c:152: (Each undeclared identifier is reported only once
mod_auth_dbm.c:152: for each function it appears in.)
mod_auth_dbm.c:152: `f' undeclared (first use in this function)
mod_auth_dbm.c:153: `datum' undeclared (first use in this function)
mod_auth_dbm.c:153: parse error before "d"
mod_auth_dbm.c:156: `q' undeclared (first use in this function)
mod_auth_dbm.c:170: `d' undeclared (first use in this function)
make[4]: *** [mod_auth_dbm.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/apache_1.3.28/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/apache_1.3.28'
make: *** [build] Error 2
[root@server2 apache_1.3.28]#


谢谢再一次的回复!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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