Archive for 2004年07月06日 (火)

OpenLDAP client

[ korean simplified chinese english ] [2004/07/06 (火)の記事一覧]

configure

$ ./configure --without-cyrus-sasl --without-tls --disable-slapd \
--without-threads --disable-slurpd

参考までに、serverはこれでいけると思う。

$ env CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB.4.2/include" \
LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB.4.2/lib" \
./configure --enable-ldbm

OpenSSL 0.9.7d 32bit

[ korean simplified chinese english ] [2004/07/06 (火)の記事一覧]
$ ./Configure solaris-sparcv9-gcc shared
$ make
$ make test
$ su
# make install

Cyrus SASL (32bit)

[ korean simplified chinese english ] [2004/07/06 (火)の記事一覧]

makeではなく、gmakeを明示しないと、エラーがでてコンパイルできなかった。

$ ./configure --enable-login --enable-anon=no \
 --enable-plain --with-ldap=/usr/local --enable-cram=yes \
 --enable-gssapi=no --disable-krb4 \
 --with-openssl=/usr/local/ssl \
 --with-dblib=berkeley --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib \
 --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include
$ gmake
$ su
# gmake install

Postfix

[ korean simplified chinese english ] [2004/07/06 (火)の記事一覧]

最近のPostfixは、Solaris付属のLIBLDAPは使用できなくなっているのだろうか。
OpenLDAPを使って、再構築.

configure :

$ gmake tidy
$ gmake makefiles CCARGS="-DHAS_LDAP" AUXLIBS="-lldap -llber"

make :

$ LD_RUN_PATH=/usr/local/lib gmake
$ su
# gmake upgrade