2009年9月10日 星期四

LDAP安裝筆記

#安裝openldap23 & 24
cvsup -g -L 2 /root/ports-supfile
#ports-all
ports-net
ports-devel
ports-security

error log:
openldap-sasl-server cannot install: unknown LIBTOOL version: 22
根據失敗的訊息發現部分相依程式版本不對,再根據該程式的目錄去做 cvsup
基本上 make reinstall應該就可以順利安裝

===> An older version of net/openldap23-server is already installed (openldap-server-2.3.43)
You may wish to ``make deinstall'' and install this port again
by ``make reinstall'' to upgrade it properly.
If you really wish to overwrite the old port of net/openldap23-server
without deleting it first, set the variable "FORCE_PKG_REGISTER"
in your environment or the "make install" command line.
#make install FORCE_PKG_REGISTER="yes"

error log:(我決定裝現在最新版本OpenLDAP24)
OpenLDAP versions mismatch: openldap23-client is installed
最後把23版重新再裝一次然後再deinstall
openldap23-server #make reinstall
openldap23-server #make deinstall
openldap24-server #make install
最後終於成功可以裝24版

沒有留言:

熱門文章