免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: bjhb
打印 上一主题 下一主题

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

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
11 [报告]
发表于 2005-06-14 18:59 |只看该作者

我的openldap怎么不能通过make test

bdb的问题,你系统里还有别的版本的bdb。
configure的时候注意一下,看看找到的是不是你装的db-4.3.27

论坛徽章:
0
12 [报告]
发表于 2005-06-24 11:04 |只看该作者

我的openldap怎么不能通过make test

我也遇到了同样的问题,请问该如何解决呢,谢谢,其他的版本该如何解决

论坛徽章:
0
13 [报告]
发表于 2005-06-28 16:26 |只看该作者

我的openldap怎么不能通过make test

1) Use a latest version of RedHat Linux, at leaset Fedora Core3 please.

2) DO NOT USE BDB 4.3.XX, OpenLDAP developers have not tested it and DO NOT RECOMMEND it.

3) DO USE BDB 4.2.52 + 2 or more patches:

# wget http://www.sleepycat.com/update/snapshot/db-4.2.52.tar.gz
# wget http://www.sleepycat.com/update/4.2.52/patch.4.2.52.1
# wget http://www.sleepycat.com/update/4.2.52/patch.4.2.52.2

# gzip –d db-4.2.52.tar.gz
# tar xvf db-4.2.52.tar
# chmod u+w db-4.2.52/mp/mp_fget.c
# chmod u+w db-4.2.52/lock/lock.c
# cd db-4.2.52
# patch -i ../patch.4.2.52.1
# patch -i ../patch.4.2.52.2

Gary

论坛徽章:
0
14 [报告]
发表于 2005-06-28 16:32 |只看该作者

我的openldap怎么不能通过make test

Also, if you are using Berkeley DB, to be sure, you should have "--enable-bdb" in your ./configure, right?

Of couse you can always enable multiple database backends.

Gary

论坛徽章:
0
15 [报告]
发表于 2005-07-07 14:34 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
16 [报告]
发表于 2005-07-08 10:04 |只看该作者

我的openldap怎么不能通过make test

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

论坛徽章:
0
17 [报告]
发表于 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 通过

论坛徽章:
0
18 [报告]
发表于 2005-07-16 10:12 |只看该作者

我的openldap怎么不能通过make test

我怎么连BDB都没有装得上,说是编译器路径没有找到

论坛徽章:
0
19 [报告]
发表于 2005-07-16 10:14 |只看该作者

我的openldap怎么不能通过make test

可能你比较背

论坛徽章:
0
20 [报告]
发表于 2005-07-17 09:53 |只看该作者

我的openldap怎么不能通过make test

Entering subdirectory man
make[2]: Entering directory `/tmp/openldap-2.1.19/doc/man'
Making depend in /tmp/openldap-2.1.19/doc/man
  Entering subdirectory man1
make[3]: Entering directory `/tmp/openldap-2.1.19/doc/man/man1'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.19/doc/man/man1'

  Entering subdirectory man3
make[3]: Entering directory `/tmp/openldap-2.1.19/doc/man/man3'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.19/doc/man/man3'

  Entering subdirectory man5
make[3]: Entering directory `/tmp/openldap-2.1.19/doc/man/man5'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.19/doc/man/man5'

  Entering subdirectory man8
make[3]: Entering directory `/tmp/openldap-2.1.19/doc/man/man8'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.19/doc/man/man8'

make[2]: Leaving directory `/tmp/openldap-2.1.19/doc/man'

make[1]: Leaving directory `/tmp/openldap-2.1.19/doc'


cd tests; make test
make[1]: Entering directory `/tmp/openldap-2.1.19/tests'
ln: `./data': cannot overwrite directory
make[1]: [test-bdb] Error 1 (ignored)
ln: `./schema': File exists
make[1]: [test-bdb] Error 1 (ignored)
Initiating LDAP tests for BDB...
>;>;>;>;>; Executing all LDAP tests...
>;>;>;>;>; Test Directory: .
>;>;>;>;>; Backend: bdb
>;>;>;>;>; Starting test000-rootdse ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 49: 20407 Segmentation fault      $SLAPD -f $DBCONF -h $MASTERURI -d $LVL $TIMING >;$MASTERLOG 2>;&1
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 57: kill: (20407) - No such process
ldap_bind: Can't contact LDAP server (81)
>;>;>;>;>; Test failed
>;>;>;>;>; ./scripts/test000-rootdse failed (exit 1)
make[1]: *** [test-bdb] Error 1
make[1]: Leaving directory `/tmp/openldap-2.1.19/tests'
make: *** [test] Error 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP