免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6854 | 回复: 3
打印 上一主题 下一主题

[ldap] 我的openldap怎么不能通过make test [复制链接]

论坛徽章:
0
1 [报告]
发表于 2005-06-14 14:46 |显示全部楼层

我的openldap怎么不能通过make test

我装了BerkeleyDB.4.3,是使用原代码编译安装,环境如下:
env CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.3/lib" ./configure --prefix=/usr/local/openldap --enable-ldbm
我碰到的问题也一样,也是一个test000-rootdse 没通过

论坛徽章:
0
2 [报告]
发表于 2005-06-14 16:49 |显示全部楼层

我的openldap怎么不能通过make test

redhat 8.0:
Linux mail.abc.com 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002 i686 i686 i386 GNU/Linux
正常安装了: cyrus-sasl-2.1.19.tar.gz db-4.3.27.tar.gz
把/usr/local/BerkeleyDB.4.3/lib的库路径加到/etc/ld.so.conf文件内,添加完成后执行一次ldconfig,配置文件生效。
# env CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.3/lib" ./configure --prefix=/usr/local/openldap --enable-ldbm
#make depens
#make
都没出错
[root@mail openldap-2.2.24]# make test
cd tests; make test
make[1]: Entering directory `/root/ldap/openldap-2.2.24/tests'
make[2]: Entering directory `/root/ldap/openldap-2.2.24/tests'
Initiating LDAP tests for BDB...
Cleaning up test run directory leftover from previous run.
Running ./scripts/all...
>;>;>;>;>; Executing all LDAP tests for bdb
>;>;>;>;>; Starting test000-rootdse ...
running defines.sh
Starting slapd on TCP/IP port 9011...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 48: kill: (26569) - No such process
ldap_bind: Can't contact LDAP server (-1)
>;>;>;>;>; Test failed
>;>;>;>;>; ./scripts/test000-rootdse failed (exit 1)
make[2]: *** [bdb-yes] Error 1
make[2]: Leaving directory `/root/ldap/openldap-2.2.24/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/root/ldap/openldap-2.2.24/tests'
make: *** [test] Error 2

论坛徽章:
0
3 [报告]
发表于 2005-07-08 10:04 |显示全部楼层

我的openldap怎么不能通过make test

to reallyroot
你好!
按照你的方式重新来了一边,make test还是没通过。
甚至我把老版本bdb4.2.52 openldap2.1.29 也不行。
我查了configure 时bdb的连接,没有问题亚。
你方便的话把你的安装过程帮我整理一下,谢谢!

论坛徽章:
0
4 [报告]
发表于 2005-07-12 15:23 |显示全部楼层

我的openldap怎么不能通过make test

env CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.3/lib " ./configure --prefix=/usr/local/openldap --without-cyrus-sasl --enable-bdb --enable-ldbm
通过把sasl屏蔽后,make test 通过
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP