Hi, I must thank you for the patch, but am I patching it wrongly?
Heres what I do:
#patch configure.in cyrus-sasl.DB3.patch
patching file configure.in
Hunk #3 FAILED at 235.
1 out of 3 hunks FAILED -- saving rejects to file configure.in.rej
[root@mailserver cyrus-sasl-1.5.24]# øess configure.in.rej
bash: øess: command not found
[root@mailserver cyrus-sasl-1.5.24]# less configure.in.rej
***************
*** 229,234 ****
    berkeley)
      SASL_DB_BACKEND="db_${dblib}.lo"
      AC_DEFINE(SASL_BERKELEYDB)
      ;;
    *)
      AC_MSG_WARN([Disabling SASL authentication database support])
--- 235,247 ----
    berkeley)
      SASL_DB_BACKEND="db_${dblib}.lo"
      AC_DEFINE(SASL_BERKELEYDB)
+     for db3loc in ${prefix} /usr/local /usr
+     do
+       if test -d ${db3loc}/include/db3; then
+        CPPFLAGS="-I${db3loc}/include/db3 $CPPFLAGS"
+        break
+       fi
+     done
      ;;
    *)
      AC_MSG_WARN([Disabling SASL authentication database support])

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Scot W.
> Hetzel
> Sent: 20. mars 2001 17:12
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Improved DB3 detection (was Re: what does this mean. )
>
>
> From: <[EMAIL PROTECTED]>
> > I've been having problems with cyrus and RH 7 for the last
> few days now.
> > When I try to configure, I get this message, could it be part of the
> > problem? And, if so, how do I solve this problem?
> >
> > checking for db_create in -ldb-3... no    <--- could this be some
> > linkmisstake?
> > checking for db_create in -ldb... yes
> >
> It's telling you that it didn't find a DB3 library named
> libdb-3.[a,so] on
> your system, and instead used the libdb.[a,so] library.
>
> The current DB3 checks in "configure" are incomplete for both
> the cyrus-sasl
> & cyrus-imapd sources.  I have improved the check so that it
> can detect
> alternate names used by the DB3 libraries (see attached
> patches) and add the
> appropriate include paths.  You will need to run "autoconf" to rebuild
> "configure" from "configure.in".
>
> Scot
>
>
>

Reply via email to