On 07 Aug 2001 10:32:20 +0200, Tarjei Huse wrote:
> 
> 
> > [EMAIL PROTECTED] wrote:
> >> Just wondering if theres a cyrus-redhat howto anywhere?
> >>
> > Not to my knowledge (for recent Cyrus). Here's what I do to install
> > IMAPd on RH 7.1:
> > 
> > Berkeley DB
> > -----------
> > # RH7.1 comes with db3/db3-devel RPMs that work fine.
> > #   Install manually if you like after removing
> > #   db3 RPMS
> I really would advise NOT to do this! Very many progs are linked against 
> teh db3 rpms, so removing them will cause problems!

Absolutely correct. Don't remove db3/db3-devel or you'll break many
things, including rpm.

> 
> > cd build_unix
> > ../dist/configure
> > make
> > make install
> > cp /usr/local/BerkeleyDB.3.2/include/* /usr/include
> > cp /usr/local/BerkeleyDB.3.2/lib/* /usr/lib
> >

Don't to this either. There is no confict with the system libs or
include files if you do:

  > cd /path-to/db-3.2.9/build_unix
  > ../dist/configure
  > make; make install

and tell configure about it with --with-dbdir=/usr/local/Berkeley-3.2.
Well, except for a small problem easily surmounted...

There's a problem with the way the IMAP configure script searches for
the Berkeley DB libraries that will bite you on RedHat. The default from
install looks successively at libdb-3.2, libdb3.2, libdb-3.1, libdb3.1,
libdb-3, libdb3, libdb for db_create. Since the install of the Berkeley
package creates /usr/local/Berkeley-3.2/lib/libdb.a, the system copy of
libdb-3.1 will be found first. The simple fix for that is to copy or
link /usr/local/Berkeley-3.2/lib/libdb.a to
/usr/local/Berkeley-3.2/lib/libdb-3.2.a.

> > SASL
> > ----
> > make clean
> > rm -f config.cache
> > ./configure --disable-krb4 --disable-gssapi --disable-cram
> >   --disable-digest --with-dblib=berkeley
> > make
> > make install
> > rm -f /etc/sasldb
> > utils/saslpasswd admin
> > # Select admin password when prompted
> > #   Do this even if not using sasldb
> > 

I don't particularly see in point in manually building SASL on RedHat
7.1. The system comes with 1.5.24 and the copy of sendmail furnished is
linked against that. Yes it might have a more authentication methods
that what the above will build, but that really doesn't hurt anything as
far as I know.

-- 
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Jim Levie                                  email:
[EMAIL PROTECTED]
 Dynetics Inc,  Huntsville, Al              Ph.    256.964.4337
 The opinions expressed above are just that...

Reply via email to