help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Cannot find BerkelyDB" configure 2.0.1


From: John Sechrest
Subject: Re: "Cannot find BerkelyDB" configure 2.0.1
Date: Fri, 12 Apr 2002 09:47:18 -0700

 
 I was having this same problem yesterday on a 7.2 machine.

 I just made this change and it works for me. I am now on to step two.




"Benny Kjellgren" <benny.kjellgren@genuity.se> writes:

 % > On a machine where I have compiled v2.0.0 with no problem.
 % > Now says "Cannot find BerkelyDB" when I try to compile
 % > v2.0.1 (running 'configure'. The machine is a RedHat 7.0.
 % 
 % Now I have done som debuging. I have made following changes in 'configure' 
soo it works for me. Line 3180 is replaced with line 3181. Line 3190 is new.
 % 
 % $ nl configure | sed -n '3470,3487p'
 % 3177         done
 % 3178         if test x"$BERKELEY_DB_LIB" = x ; then
 % 3179             for v in db4 db3 db2 db; do
 % 3180                 #if test -d "$BERKELEY_DB_DIR/$v" ; then
 % 3181                 if test -d "/usr/include/$v" ; then
 % 3182                     if test -f "/usr/include/$v/$v" ; then
 % 3183                        BERKELEY_DB_CFLAGS="-I/usr/include/$v"
 % 3184                        BERKELEY_DB_LIB="-l$v"
 % 3185                     else
 % 3186                        BERKELEY_DB_CFLAGS="-I/usr/include/$v"
 % 3187                        BERKELEY_DB_LIB="-ldb"
 % 3188                     fi
 % 3189                     echo "$as_me:3481: result: Linux locations" >&5
 % 3190                     echo "$as_me:9999: result: $BERKELEY_DB_DIR" >&5
 % 3191 echo "${ECHO_T}Linux locations" >&6
 % 3192                     break
 % 3193                 fi
 % 3194             done
 % 
 % $ egrep '3481|9999' config.log
 % configure:3481: result: Linux locations
 % configure:9999: result: yes
 % 
 % If $BERKELEY_DB_DIR = yes (9999) then the test in line 3180 will be
 % 
 % if test -d "yes/$v" ; then
 % 
 % -benny
 % 
 % _______________________________________________
 % Help-cfengine mailing list
 % Help-cfengine@gnu.org
 % http://mail.gnu.org/mailman/listinfo/help-cfengine

-----
John Sechrest          .         Helping people use
CTO PEAK -              .           computers and the Internet
Public Electronic         .            more effectively
Access to Knowledge,Inc       .                      
1600 SW Western, Suite 180       .            Internet: sechrest@peak.org
Corvallis Oregon 97333               .                  (541) 754-7325
                                            . http://www.peak.org/~sechrest



reply via email to

[Prev in Thread] Current Thread [Next in Thread]