On Mon, 26 Nov 2001, Thomas C. Meggs wrote:

>
> So no suggestions on this? =/ I'm definitely stuck.
>
Here's what I did. I did not have need fo kerberos support but the system
was Solaris with OpenSSL in /usr/local/ssl and BerkeleyDB in
/usr/local/BerkeleyDB.3.3

SASL-library:
cd cyrus-sasl-1.5.27
env LIBS="-lpam -lxnet" \
CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include" \
LDFLAGS="-R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/BerkeleyDB.3.3/lib"
\
./configure \
--prefix=/usr/local \
--enable-static \
--enable-shared \
--with-pam \
--with-saslauthd=/var/state/saslauthd1 \
--with-rc4=/usr/local/ssl \
--with-des=/usr/local/ssl \
--disable-krb4 \
--disable-gssapi
make

the installation with root account:
make install
chmod 755 /usr/local/lib/sasl

Cyrus IMAP 2.0.16:
env LIBS="-lpam" \
CPPFLAGS="-I/usr/local/BerkeleyDB.3.3/include" \
LDFLAGS="-R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/BerkeleyDB.3.3/lib"
\
./configure \
--with-cyrus-prefix=/usr/local/cyrus \
--with-statedir=/var/state/saslauthd \
--with-dbdir=/usr/local/BerkeleyDB.3.3 \
--with-perl=perl \
--with-tcl=/usr/local \
--with-auth=unix \
--without-krb \
--with-openssl=/usr/local/ssl \
--without-zephyr \
--without-notify \
--with-idle=idled \
--enable-murder \
--enable-netscapehack \
--with-sasl=/usr/local \
--without-libwrap \
--without-ucdsnmp
make depend

Before the real compile I had to change few lib paths in perl related
makefiles. add few library searchpath to makefiles in the line:
'LIBS'  => something
add a few dirs to searchpath:
'LIBS'      => ["-L/usr/local/BerkeleyDB.3.3/lib
-R/usr/local/BerkeleyDB.3.3 -ldb-3.3 -L/usr/local/ssl/lib and here is the
rest of the original line.

These are the files:
imap/Makefile.PL sieve/acap/Makefile.PL sieve/managesieve/Makefile.PL

After those fixes give the command:
make all
and proceed as usual.

> --tom
>
> -----
> Thomas C. Meggs
> Assistant UNIX System Administrator
> Physics and Astronomy Network Infrastructure and Computing
> UNC Chapel Hill
> http://www.panic.unc.edu/
>
> Regards,
> Tom
>

-- 
  -- Leena Heino ([EMAIL PROTECTED])

Reply via email to