系统软件版本
Os:CentOS6.3
Gcc:4.1.2
BerkeleyDB:4.8.24
Openldap :2.4.44
必备软件
GCC
BerkeleyDB
openssl(installed by default)
问题与解决方案
(1)不装GCC,执行./configure时,
出现错误:
1
| configure: error: Unable to locate cc(1) or suitable replacement. Check PATH or set CC.
|
解决方法:
install gcc
1
| [root@localhost openldap-2.4.19]
|
(2)不装BerkeleyDB,执行./configure时,
出现错误:
1
| configure: error: BDB/HDB: BerkeleyDB not available
|
解决方法:
1 2 3 4 5 6
| [root@localhost BerkeleyDB] [root@localhost BerkeleyDB] [root@localhost db-4.8.24] [root@localhost db-4.8.24] [root@localhost db-4.8.24] [root@localhost db-4.8.24]
|
1 2 3
| [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44]
|
安装 openldap
1 2 3 4 5
| [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44] [root@localhost openldap-2.4.44]
|
注意make test会进行很长一段时间,需要耐性等待
待续……