solaris 10上的openldap配置

时间:2016-04-14 17:31:03

标签: openldap

安装openldap时,我遇到错误并且编译停止,请提供建议。

Portfolio

我已将bdb配置如下:

cc -g -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb -I/sites/bdb/include -c ./../../../libraries/liblmdb/mdb.c -o mdb.o
"./../../../libraries/liblmdb/mdb.c", line 4625: warning: implicit function declaration: pthread_mutexattr_setrobust
"./../../../libraries/liblmdb/mdb.c", line 4625: undefined symbol: PTHREAD_MUTEX_ROBUST
"./../../../libraries/liblmdb/mdb.c", line 10002: warning: implicit function declaration: pthread_mutex_consistent
cc: acomp failed for ./../../../libraries/liblmdb/mdb.c
Makefile:309: recipe for target 'mdb.lo' failed
gmake[3]: *** [mdb.lo] Error 1
gmake[3]: Leaving directory '/sites/openldap-2.4.44/servers/slapd/back-mdb'
Makefile:541: recipe for target '.backend' failed
gmake[2]: *** [.backend] Error 1
gmake[2]: Leaving directory '/sites/openldap-2.4.44/servers/slapd'
Makefile:291: recipe for target 'all-common' failed
gmake[1]: *** [all-common] Error 1
gmake[1]: Leaving directory '/sites/openldap-2.4.44/servers'
Makefile:312: recipe for target 'all-common' failed
gmake: *** [all-common] Error 1
[/sites/openldap-2.4.44]

安装openldap:

cd /sites/db-4.8.30/build_unix/
../dist/configure --prefix=/sites/bdb
make
make install

我在最后一步遇到了错误。

以下是env

cd openldap-2.4.44/
./configure --prefix=/sites/openldap --enable-dynamic --enable-spasswd --enable-slapd  --enable-mdb --enable-monitor
make depend
make all

0 个答案:

没有答案