For When You Can't Have The Real Thing
[ start | index | login ]
start > cyrus > sasl


Created by dave. Last edited by dave, 14 years and 200 days ago. Viewed 1,981 times. #3
[diff] [history] [edit] [rdf]
Customer Information (brains):

# export PATH=/opt/sfw/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin
# ././configure --prefix=/usr --disable-cram --disable-digest --disable-otp --with-dblib=none --disable-krb4 --disable-gssapi --disable-anon --without-des


  • --prefix=/usr because /usr/local is nfs-mounted and brains doesn't have write access to it
  • --disable-$phoo because we are just using the system login through PAM and therefore don't need any fancy password encryption
  • --with-dblib=none again because all we are doing is PAM and the db setup is problematic unless you hand hold it (see Previous Information, below)
  • --without-des because we don't need it and it requires openssl (which we don't have because we don't need it)
Head Office Update: we are no longer using x1. Jupiter has RH9 installed which includes a SASL.

Previous information:

Building SASL on x1:

./configure --without-openssl -with-bdb=/usr/local/Berkeley.4.1 --with-bdb-incdir=/usr/local/Berkeley.4.1/include CC=gcc

The gotcha here is twofold:

  • sasl will use ndbm if the Berkeley stuff isn't explicitly specified
  • db.h won't get found unless you explicitly specity the include directory
Remember to create the symbolic link from /usr/lib/sasl2 aimed at /usr/local/lib/sasl2.
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt