help-cfengine
[Top][All Lists]
Advanced

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

Re: FAQ Answer: Compiling 2.0.3 on Red Hat Linux 7.2 (requires BerkeleyD


From: Allen Bettilyon
Subject: Re: FAQ Answer: Compiling 2.0.3 on Red Hat Linux 7.2 (requires BerkeleyDB 3.2 or later)
Date: 07 Aug 2002 10:08:53 -0600

I've brewed custom rpms on a system similar to redhat.  The build
portion of my spec file is as follows:


%build
./configure --with-berkeleydb=/usr --prefix=$RPM_BUILD_ROOT/usr 
make



Hope this helps.


-- Allen



On Tue, 2002-08-06 at 21:54, Kirk Bauer wrote:
> I have seen lots of people talk about this problem, but no solutions for
> anything after 2.0.1.  
> 
> So, here is my system:
>    cfengine 2.0.3
>    Red Hat Linux 7.2
>    db 3.2.9 
>       /lib/libdb-3.2.so
>       /usr/include/db.h
>       /usr/include/db3/db.h
> 
> The configure script fails:
>    checking for BerkeleyDB location... /usr
>    checking Berkeley DB Version... configure: error: This release of cfengine 
> requires BerkeleyDB 3.2 or later
> 
> Here is how I fixed the problem:
> 
>    1) I editied the configure script in the base directory.  I found two
>       sections like this:
> 
>     { { echo "$as_me:3445: error: This release of cfengine requires 
> BerkeleyDB 3.2 or later" >&5
> echo "$as_me: error: This release of cfengine requires BerkeleyDB 3.2 or 
> later" >&2;}
>    { (exit 1); exit 1; }; }
> 
>       And I changed it to this:
> 
>     { { echo "$as_me:3445: error: This release of cfengine requires 
> BerkeleyDB 3.2 or later" >&5
> echo "$as_me: error: This release of cfengine requires BerkeleyDB 3.2 or 
> later" >&2;}
>     }
> 
> 
>    2) I edited src/Makefile, searched for '-ldb3' and replaced all
>       occurences with '-ldb'
> 
> Just figured I would pass this info along.
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-cfengine





reply via email to

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