On Fri, 28 May 2004, Kent L. Nasveschuk wrote: > This is what I added but I get the same db_version error :( > I have yet to get this to run, very frustrating. It obviously works > people use it. I'm so close on this... > > > case "x$BASH_VERSION" in > x) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- ${1+"$@"} ;; > *) exec perl -MCyrus::IMAP::Shell > -I/usr/lib/perl5/site_perl/5.8.0/i486-linux -e shell -- "$@" ;; > esac > echo "$0: how did I get here?" >&2 > exit 1
Kent, After reading the bug that you submitted, it looks like you might want to start from scratch with a fresh compile/install. I don't have a slackware system, but the following configure lines worked for me on a stock RH 8.0 install. # uname -a Linux localhost 2.4.20-24.8 #1 Mon Dec 1 14:35:45 EST 2003 i686 i686 i386 GNU/Linux # rpm -qa|grep db4 db4-4.0.14-14 db4-java-4.0.14-14 db4-devel-4.0.14-14 db4-utils-4.0.14-14 Using the stock Berkeley DB rpm that comes with rh8 (db4-4.0.14-14): $ ./configure --prefix=/usr/local/cyrus-2.2.4 --with-cyrus-prefix=/usr/local/cyrus-2.2.4 --enable-murder --without-ucdsnmp --enable-gssapi=/usr/kerberos Before compiling cyrus, I compiled and installed Berkley DB from source, added the following line to my /etc/ld.so.conf /usr/local/BerkeleyDB.4.2/lib and as root ran # ldconfig Using Berkeley DB 4.2 compiled from source: $ ./configure --prefix=/usr/local/cyrus-2.2.4-1 --with-cyrus-prefix=/usr/local/cyrus-2.2.4-1 --enable-murder --without-ucdsnmp --enable-gssapi=/usr/kerberos --with-bdb=/usr/local/BerkeleyDB.4.2 --with-bdb-libdir=/usr/local/BerkeleyDB.4.2/lib --with-bdb-incdir=/usr/local/BerkeleyDB.4.2/include After doing each of the above cyrus installs I created the appropriate symlinks for the cyrus perl modules. This for me made more sense than editing exec lines in multiple perl scripts: # ln -s /usr/local/cyrus-2.2.4-1/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/Cyrus # ln -s /usr/local/cyrus-2.2.4-1/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Cyrus HTH, Bret --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html