Cyrus SASL

[ korean simplified chinese english ]

*ダウンロード(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

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>