LinuxSir.cn,穿越时空的Linuxsir!

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

编译openldap遇到的问题

[复制链接]
发表于 2005-11-1 13:13:07 | 显示全部楼层 |阅读模式
#cd db-4.2.52
#cd build_unix
#../dist/configure --prefix=/var/eyou/bdb
#make
#make install

#cd openldap-2.1.29
#env CPPFLAGS="-I/var/eyou/bdb/include" LDFLAGS="-L/var/eyou/bdb/lib"
#./configure --prefix=/var/eyou/openldap --enable-ldbm --enable-bdb --enable-slurpd
##make depend
#make
执行这步操作的时候,出现如下错误:   #编译到结尾出现错误,这是最后一段的编译程序输出,在最下面是错误提示.

make[2]: *** [apitest] Error 1
make[2]: Leaving directory `/var1/home/yangguilin/openldap/openldap-2.2.19/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var1/home/yangguilin/openldap/openldap-2.2.19/libraries'
make: *** [all-common] Error 1







[root@amd openldap-2.2.19]# make test
cd tests; make test
make[1]: Entering directory `/var1/home/yangguilin/openldap/openldap-2.2.19/tests'
make[2]: Entering directory `/var1/home/yangguilin/openldap/openldap-2.2.19/tests'
Initiating LDAP tests for BDB...
Could not locate slapd(
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/var1/home/yangguilin/openldap/openldap-2.2.19/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/var1/home/yangguilin/openldap/openldap-2.2.19/tests'
make: *** [test] Error 2
 楼主| 发表于 2005-11-1 13:13:54 | 显示全部楼层
不知道是为什么,会出现上面的错误?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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