I tried again with both: ./configure --prefix=/usr -with-bdb-incdir=/usr/include/db3.1 and ./configure --prefix=/usr --with-bdb-incdir=/usr/include/db3.1 --with-sasl=/usr
Now I get (respectively): checking for crypt in -lcrypt... yes checking for sasl/sasl.h... yes checking for sasl/saslutil.h... yes checking for prop_get in -lsasl2... no configure: error: Cannot continue without libsasl2. Get it from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/. and ... checking for crypt... no checking for crypt in -lcrypt... yes checking for sasl/sasl.h... no configure: error: Cannot continue without libsasl2. Get it from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/. My sasl.h is indeed in /usr/include/sasl and not /usr/include/sasl2. So the tail of my config.log is confusing (basically can't find <sasl/sasl.h> from usr/include: ... configure:5780: checking for crypt in -lcrypt configure:5799: gcc -o conftest -Wall -g -O2 -I/usr/include/db3.1 -L/usr/local/lib -Wl,-rpath,/usr/local/lib conftest. c -lcrypt -lssl -lcrypto -ldb-3.1 1>&5 configure:6372: checking for sasl/sasl.h configure:6382: gcc -E -I/usr/include/db3.1 -I/usr/include conftest.c >/dev/null 2>conftest.out cpp0: warning: changing search order for system directory "/usr/include" cpp0: warning: as it has already been specified as a non-system directory configure: failed program was: #line 6377 "configure" #include "confdefs.h" #include <sasl/sasl.h> Evan > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Etienne Goyer > Sent: Sunday, June 01, 2003 3:01 PM > To: [EMAIL PROTECTED] > Subject: Re: Cyrus 2.1.13 and cygwin? > > > On Sat, May 31, 2003 at 02:02:08PM -0500, Evan Easton wrote: > > Does anyone know if cyrus can be built and run on cygwin in > W2K or XP? > > Not seeing any indication that others are doing it, I > decided to try? > > I managed to build and install cyrus-sasl-2.1.13 into /usr, but > > configure of imapd > > (2.1.13) is failing. > > > > ./configure --prefix=/usr -with-bdb-incdir=/usr/include/db3.1 > > --with-sasl=/usr/include/sasl > > I don't think you would need to pass "--with-sasl" argument > to ./configure if sasl is in /usr. You may want to try > without it. Also, > are your shared SASL lib in /usr/lib/sasl2 ? > > -- > Etienne Goyer Linux Québec Technologies Inc. > http://www.LinuxQuebec.com [EMAIL PROTECTED] >