Bug in Cyrus-2.2.6 configure (with suggested patch)

Paul Boven p.boven at chello.nl
Thu Jul 8 09:08:20 EDT 2004


L.S.,

While trying to build the latest Cyrus, I ran into a small problem with 
configure.

 From configure (line 6346 and onwards)
-----------------------------------------------
# Check whether --with-dbdir or --without-dbdir was given.
if test "${with_dbdir+set}" = set; then
   withval="$with_dbdir"
   with_bdb=$withval
fi;

case "$with_bdb" in
   no)
         use_berkeley="no"
         ;;
   yes)
         use_berkeley="yes"
         with_bdb_lib=none
         with_bdb_inc=none
         ;;

   *)
         use_berkeley="yes"
         with_bdb_lib="$with_bdb/lib"
         with_bdb_inc="$with_bdbval/include"
         ;;
----------------------------------------------
The last statement (with_bdb_inc="$with_bdbval/include") does not work 
because $with_bdbval does not exist. Changing it to $with_bdb fixes 
things. I've attached a patch for configure.in (trivial but untested 
because I don't have the whole automake/autoconf family setup right now)

Regards, Paul Boven.

*** configure.in.org    Thu Jul  8 15:05:27 2004
--- configure.in        Thu Jul  8 15:05:42 2004
***************
*** 186,192 ****
     *)
         use_berkeley="yes"
         with_bdb_lib="$with_bdb/lib"
!       with_bdb_inc="$with_bdbval/include"
         ;;
   esac

--- 186,192 ----
     *)
         use_berkeley="yes"
         with_bdb_lib="$with_bdb/lib"
!       with_bdb_inc="$with_bdb/include"
         ;;
   esac
---
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




More information about the Info-cyrus mailing list