help-cfengine
[Top][All Lists]
Advanced

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

Re: encrypt.c: In function `LoadSecretKeys':


From: Rune Mossige
Subject: Re: encrypt.c: In function `LoadSecretKeys':
Date: Thu, 6 Dec 2001 08:32:00 +0100
User-agent: Mutt/1.2.5i

I found out what I was missing...I had to also install the
openssl-devel-0.9.6b-8 package.

After that, it compiled fine, but failed to link...I then had
to 'ln -s /lib/libdb-3.2.so /lib/libdb3.so' and I am now ready for the
next
step, setting up some simple cfengine.conf files.

On (05/12/01 15:48), Rune Mossige wrote:
> X-Authentication-Warning: GSTESF.stavanger.Geco-Prakla.slb.com: runemo set 
> sender to address@hidden using -f
> From: Rune Mossige <address@hidden>
> To: address@hidden
> Subject: encrypt.c: In function `LoadSecretKeys':
> Content-Disposition: inline
> User-Agent: Mutt/1.2.5i
> Sender: address@hidden
> Errors-To: address@hidden
> X-BeenThere: address@hidden
> X-Mailman-Version: 2.0.5
> List-Help: <mailto:address@hidden>
> List-Post: <mailto:address@hidden>
> List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-cfengine>,
>       <mailto:address@hidden>
> List-Id: Users list for GNU cfengine  <help-cfengine.gnu.org>
> List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-cfengine>,
>       <mailto:address@hidden>
> List-Archive: <http://mail.gnu.org/pipermail/help-cfengine/>
> Date: Wed, 5 Dec 2001 15:48:09 +0100
> 
> I am trying to compile cfengine-2.0a15 on a RedHat 7.2 Linux
> box with kernel 2.4.16, but it fails with:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/db3  -I/usr/local/include
> -g -O2   -c `test -f log.c || echo './'`log.c
> source='encrypt.c' object='encrypt.o' libtool=no \
> depfile='.deps/encrypt.Po' tmpdepfile='.deps/encrypt.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/db3  -I/usr/local/include
> -g -O2   -c `test -f encrypt.c || echo './'`encrypt.c
> encrypt.c: In function `LoadSecretKeys':
> encrypt.c:104: `des_cblock' undeclared (first use in this function)
> encrypt.c:104: (Each undeclared identifier is reported only once
> encrypt.c:104: for each function it appears in.)
> encrypt.c:104: parse error before `)'
> encrypt.c: In function `cfencrypt':
> encrypt.c:154: `des_key_schedule' undeclared (first use in this
> function)
> encrypt.c:154: parse error before `ks1'
> encrypt.c:161: `C_Block' undeclared (first use in this function)
> encrypt.c:161: parse error before `)'
> encrypt.c:162: parse error before `)'
> encrypt.c:163: parse error before `)'
> encrypt.c:167: `ks1' undeclared (first use in this function)
> encrypt.c:167: `ks2' undeclared (first use in this function)
> encrypt.c:167: `ks3' undeclared (first use in this function)
> encrypt.c:167: parse error before `)'
> encrypt.c: In function `cfdecrypt':
> encrypt.c:179: `des_key_schedule' undeclared (first use in this
> function)
> encrypt.c:179: parse error before `ks1'
> encrypt.c:187: `C_Block' undeclared (first use in this function)
> encrypt.c:187: parse error before `)'
> encrypt.c:188: parse error before `)'
> encrypt.c:189: parse error before `)'
> encrypt.c:191: `ks1' undeclared (first use in this function)
> encrypt.c:191: `ks2' undeclared (first use in this function)
> encrypt.c:191: `ks3' undeclared (first use in this function)
> encrypt.c:191: parse error before `)'
> make[2]: *** [encrypt.o] Error 1
> make[2]: Leaving directory `/local/src/cfengine-2.0.a15/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/local/src/cfengine-2.0.a15/src'
> make: *** [all-recursive] Error 1
> 
> 
> Is there anything special I need on a RedHat 7.2 system in order to
> compile it? I ran configure with:
> ./configure --prefix=/local
> and nothing else. I had to install the db3-devel-3.2.9-4 RPM
> first. Without that, it complained that db3 was not installed.
> Is there anything else that I have missed?
> 
> -- 
> -------------------------------------------------------------------
>            (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
> Our ultimate goal is to make overloaded systems appear to be idle.
> High performance, High reliability, Low cost -------- Pick any two.
> -------------------------------------------------------------------
> Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
> Tel: (+47)51946869                             Mobile:(+47)90871024
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine
> 

-- 
-------------------------------------------------------------------
           (-: Hiroshima 45, Chernobyl 86, Windows 95 :-)
Our ultimate goal is to make overloaded systems appear to be idle.
High performance, High reliability, Low cost -------- Pick any two.
-------------------------------------------------------------------
Rune  Mossige,  Systems  Support  Engineer,  WesternGeco, Stavanger
Tel: (+47)51946869                             Mobile:(+47)90871024



reply via email to

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