help-cfengine
[Top][All Lists]
Advanced

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

Compile problem on redhat 7.3


From: Zeev Fisher
Subject: Compile problem on redhat 7.3
Date: Tue, 27 Apr 2004 22:53:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)

Hi,

My BerkelyDB( 4.1.24 )  is installed at /usr/local but i got the following errors ( although configure options were set to /usr/local - ./configure --prefix=/usr/local/tools/cfengine/2.1.5 --with-berkeleydb=/usr/local --with-openssl=/usr/local )

checking Berkeley DB Version... configure: error: This release of cfengine requires BerkeleyDB 3.2 or later

Then i followed this link :

http://groups.google.com/groups?q=configure+BerkeleyDB+cfengine+--prefix%3D/usr/local&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Pine.LNX.4.44.0208062334330.13323-100000%40kaybee.org&rnum=10

which advised to "
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;}
}

"

I did that and indeed it solved it but now when i try to compile with make i get :

Making all in pub
make[1]: Entering directory `/tmp/cfengine-2.1.5/pub'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/tmp/cfengine-2.1.5/pub'
Making all in src
make[1]: Entering directory `/tmp/cfengine-2.1.5/src'
make  all-am
make[2]: Entering directory `/tmp/cfengine-2.1.5/src'
source='do.c' object='do.o' libtool=no \
depfile='.deps/do.Po' tmpdepfile='.deps/do.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -I/usr/local/include  -pthread  -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -g -O2 -I/usr/local/include   -pthread -g -O2 -I/usr/local/include -c do.c
do.c: In function `CheckRequired':
do.c:1077: warning: passing arg 2 of pointer to function from incompatible pointer type
do.c:1077: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
do.c:1077: too few arguments to function
make[2]: *** [do.o] Error 1
make[2]: Leaving directory `/tmp/cfengine-2.1.5/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/cfengine-2.1.5/src'
make: *** [all-recursive] Error 1


I don't know if the error relates to the fix for
BerkeleyDB but anyway , is anybody has a clue for me what to do here ?



Thanks !


-- 
Zeev Fisher - Unix System Administrator
Marvell Semiconductor Israel Ltd
Moshav Manof, D.N. Misgav 20184, ISRAEL
Email    -  address@hidden
Tel      -  + 972 4 9091402
Cell     -  + 972 54 995402
Fax      -  + 972 4 9091501
WWW Page:     http://www.marvell.com

------------------------------------------------------------------------
This message may contain confidential, proprietary or legally privileged
information. The information is intended only for the use of the individual
or entity named above. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination, distribution
or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify us
immediately by telephone, or by e-mail and delete the message from your
computer.

reply via email to

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