cd tests; make test
make[1]: Entering directory `/data/zhanghb/openldap-2.2.15/tests'
make[2]: Entering directory `/data/zhanghb/openldap-2.2.15/tests'
Initiating LDAP tests for BDB...
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: (23015) - 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 `/data/zhanghb/openldap-2.2.15/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/data/zhanghb/openldap-2.2.15/tests'
make: *** [test] Error 2
谢谢各位大虾帮帮忙!作者: noway01 时间: 2004-08-17 17:14 标题: 新手问个老问题!关于openldap的编译问题 我也是一样的问题啊,请各位多多指教,急着用,谢谢!作者: py 时间: 2004-08-17 23:36 标题: 新手问个老问题!关于openldap的编译问题 建议你默认安装bdb
cd build_unix
../dist/configure
make
make install
在安装openldap的时候指出bdb的路径就可以了作者: hxnet88 时间: 2004-08-18 10:38 标题: 新手问个老问题!关于openldap的编译问题
原帖由 "py" 发表:
建议你默认安装bdb
cd build_unix
../dist/configure
make
make install
在安装openldap的时候指出bdb的路径就可以了
cd tests; make test
make[1]: Entering directory `/data/openldap-2.2.15/tests'
make[2]: Entering directory `/data/openldap-2.2.15/tests'
Initiating LDAP tests for BDB...
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: (28483) - 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 `/data/openldap-2.2.15/tests'
make[1]: *** [test] Error 2
make[1]: Leaving directory `/data/openldap-2.2.15/tests'
make: *** [test] Error 2