Archive for 2004-07

段位認定試験

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

第45回 段位認定問題/応募完了

歯の治療

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

きょうは治療費をただにしてもらった。
後日、東京医科歯科大でアレルギー検査をうけるようすすめられる。

夜中に警察を呼んでみた

[ korean simplified chinese english ] [2004/07/11 (日)の記事一覧]
公園で多数が集合して騒いでいた。神田警察署に電話したら、パトカー2台ほか警察官10名集結。

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

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

OpenSSL 0.9.7d 32bit

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

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

Cyrus SASL

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

*ダウンロード(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.18.tar.gz)なんどやっても、configureに失敗する理由は、OpenSSLを64ビットELFでつくったためだった。そこで、gccのオプションに-m64をつけることに。

$ gzip -cd cyrus-sasl-2.1.18.tar.gz | tar -xvf -
$ cd  cyrus-sasl-2.1.18
$ make distclean
$ rm config.cache
$ CC="gcc -m64" MAKE=gmake LD_LIBRARY_PATH=/usr/local/ssl/lib \
 LIBS="-lssl -lcrypto" \
 LD_RUN_PATH=/usr/local/ssl/lib \
 LDFLAGS="-L/usr/local/ssl/lib -R/usr/local/ssl/lib "
$ export CC MAKE LIBS LD_LIBRARY_PATH LD_RUN_PATH LDFLAGS
$ ./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=DIR/usr/local/BerkeleyDB.4.2/include
$ gmake