[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Cannot find BerkelyDB" configure 2.0.1
From: |
Benjamin Herbert |
Subject: |
Re: "Cannot find BerkelyDB" configure 2.0.1 |
Date: |
Thu, 11 Apr 2002 09:42:55 -0500 (CDT) |
You should install db1, db2, and db3 with rpms. Thes are the Berkely DB
packages. Don't comment line 3462 in the configure script, just install
the packages above. You can find these packages on the Redhat CD's.
On Thu, 11 Apr 2002, Benny Kjellgren wrote:
> Hi.
>
> 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.
>
> If I make following change in 'configure' i works fine (line 3462 and 3463).
>
> 3458 done
> 3459 fi
> 3460 if test x"" = xyes ; then
> 3461 for v in db4 db3 db2 db; do
> 3462 # if test -d "/include/" ; then
> 3463 if test -d "/usr/include/" ; then
> 3464 BERKELEY_DB_LDFLAGS="-L/usr/local/lib"
> 3465 BERKELEY_DB_CFLAGS="-I/usr/local/include/"
> 3466 BERKELEY_DB_LIB="-l"
> 3467 echo ":3466: result: FreeBSD locations" >&5
> 3468 echo "FreeBSD locations" >&6
> 3469 break
> 3470 fi
>
> Is it a bug? Or do I something wrong?
>
> -benny
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine
>