- 论坛徽章:
- 0
|
openldap 安装时 执行 make test 出错! 高手请进.
You must install OpenLDAP depending components first, i.e. OpenSSL 0.9.7X, Berkeley DB 4.2.52 + 2 patches and Cyrus-SASL 2.1.2X.
# cat tests/testrun/slapd.1.log
Most likely "make test" failed due to mismatch Cyrus-SASL.
If so, reconfigure using something like the following (one line):
#env LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/sasl2:/usr/local/BerkeleyDB.4.2/lib:/usr/local/ssl/lib" LDFLAGS="-L/usr/local/lib -L/usr/local/lib/sasl2 -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/lib/sasl2 -R/usr/local/BerkeleyDB.4.2/lib -R/usr/local/ssl/lib" CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB.4.2/include -I/usr/local/ssl/include" ./configure --enable-bdb --enable-ldbm --enable-ldap --enable-meta --enable-crypt --with-tls --with-cyrus-sasl
And then re-do "make" and "make test" again
Gary |
|