help-cfengine
[Top][All Lists]
Advanced

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

Re: how to compile cfengine 2.1.16 on solaris 10 Sparc


From: Gentoo
Subject: Re: how to compile cfengine 2.1.16 on solaris 10 Sparc
Date: Tue, 25 Oct 2005 21:13:30 +0800

I figured it out.

Thanks

On 10/25/05, Gentoo <debiansid@gmail.com> wrote:
but I still can not install cfengine


On 10/25/05, Gentoo < debiansid@gmail.com> wrote:
this program is OK .



On 10/25/05, David Masterson < dmasterson@vmware.com> wrote:
Test the following program with Berkeley DB 4.2:
 
#include <db.h>
#include <stdio.h>
int main(void)
{
    printf("%d.%d.%d ",DB_VERSION_MAJOR,DB_VERSION_MINOR,DB_VERSION_PATCH);
    if (DB_VERSION_MAJOR < 3 || (DB_VERSION_MAJOR == 3 && DB_VERSION_MINOR < 2))
        printf("bad\n");
    else
        printf("good\n");
}

If it prints out "bad", then there is a problem with your setup.  Do you have another version of "db.h" installed somewhere (/usr/include) and could the configure script be picking that one up?


From: help-cfengine-bounces+dmasterson=vmware.com@gnu.org [mailto:help-cfengine-bounces+dmasterson=vmware.com@gnu.org] On Behalf Of Gentoo
Sent: Monday, October 24, 2005 7:01 AM
To: Help-cfengine@gnu.org
Subject: how to compile cfengine 2.1.16 on solaris 10 Sparc

./configure --with-berkeleydb=/usr/local/BerkeleyDB.4.2
checking for BerkeleyDB location in /usr/local/BerkeleyDB.4.2... /usr/local/BerkeleyDB.4.2
checking Berkeley DB Version... configure: error: This release of cfengine requires BerkeleyDB 3.2 or later

I did install DB 4.2 into /usr/local/BerkeleyDB.4.2

so what shall I do?

Thanks for you help

--
Life is hard



--
Life is hard



--
Life is hard



--
Life is hard
reply via email to

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