[Top][All Lists]

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

Re: cfengine 2.1 configure problem on linux Redhat 9

From: Eric Sorenson
Subject: Re: cfengine 2.1 configure problem on linux Redhat 9
Date: Mon, 28 Jul 2003 12:49:45 -0700 (PDT)

On Wed, 23 Jul 2003, Alex Zlatsin wrote:

> Found the configure problem when running cfengine 2.1.0a6 configure on
> linux RH9. Error: Berkeleydb not found, but it was installed, version
> 4.0.
> The fix is to change line 7577 in configure file to:
>  if test -f "$d/include/$v/db.h" -a -f "$d/lib/lib$" ; then
> from:
>  if test -f "$d/include/$v/db.h" ; then

Par for the course for BerkeleyDB there are a couple of different
problems with it on rh9, one of which I believe is redhat's fault and
not autoconf/ I get the message :

configure: error: This release of cfengine requires BerkeleyDB 3.2 or later

Even though both db4 and db4-devel are installed.  Is this the
same thing you're seeing?  The problematic test is this one:

++ echo configure:7658: 'gcc -o conftest -pthread -g -O2
-I/usr/include/db4 -pthread     conftest.c -lm  -ldb4 >&5'

The '-ldb4' option is (reasonably, I think) derived from the fact that
the include files are located in '/usr/include/db4'. However this doesn't 
work because there is no file or symlink in ld's search path that
is named ''.  

I'll open a bug on about this, it's annoying.


    Eric Sorenson - EXPLOSIVE Networking -

reply via email to

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