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: Fri, 7 Dec 2001 15:09:35 +0100
User-agent: Mutt/1.2.5i

This one was solved by installing the openssl-devel RPM. This case
closed.

On (07/12/01 14:33), Eric Methorst wrote:
> From: Eric Methorst <address@hidden>
> To: Rune Mossige <address@hidden>
> Cc: address@hidden
> Subject: Re: encrypt.c: In function `LoadSecretKeys':
> 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: Fri, 7 Dec 2001 14:33:26 +0100 (CET)
> 
> Do you have theinclude files (and sources) for openssl?
> As the file encrypt.c states in the beginning, it'll try to include
> certain files from the openssl library  (see the include <openssl/des.h>)
> That is where the 'des_cblock' is defined.
>  
> Thus at least this file should be present in /usr/include (or wherever
> RetHat places the standard include files)
> You will probable neet to install openssl (see the cfengine website for a
> link)
> Good Luck,
> Eric Methorst
> 
> On Wed, 5 Dec 2001, Rune Mossige wrote:
> 
> > 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
> > 
> 
> 
> _______________________________________________
> 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]