help-cfengine
[Top][All Lists]
Advanced

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

Re: cfengine horror stories


From: Nate Campi
Subject: Re: cfengine horror stories
Date: Wed, 27 Nov 2002 17:13:40 -0800
User-agent: Mutt/1.3.28i

On Wed, Nov 27, 2002 at 04:13:05PM -0800, Nate Campi wrote:
> On Wed, Nov 27, 2002 at 11:11:03PM +0100, Mark.Burgess@iu.hio.no wrote:
> > A bug fix version (2.0.5pre2) is now available on the web site. 
> > (www.cfengine.org)
> > Hopefully no one else has discovered this the hard way.
> 
> It doesn't build on my debian gnu/linux 2.4.18 x86 box:
> 
>       gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include    -g -O2 -Wreturn-type
>       -Wmissing-prototypes -Wuninitialized -g -O2    -c `test -f 'varstring.c'
>       || echo './'`varstring.c
>       varstring.c: In function `ExpandVarstring':
>       varstring.c:199: parse error before `char'
>       varstring.c:205: `i' undeclared (first use in this function)
>       varstring.c:205: (Each undeclared identifier is reported only once
>       varstring.c:205: for each function it appears in.)
>       varstring.c:205: `j' undeclared (first use in this function)
>       varstring.c:222: `currentitem' undeclared (first use in this function)
>       varstring.c:259: `scanstr' undeclared (first use in this function)
>       varstring.c:411: `tloc' undeclared (first use in this function)
>       varstring.c:486: `name' undeclared (first use in this function)
>       varstring.c:578: `len' undeclared (first use in this function)
>       make[2]: *** [varstring.o] Error 1
>       make[2]: Leaving directory `/usr/src/cfengine-2.0.5pre2/src'
>       make[1]: *** [all] Error 2
>       make[1]: Leaving directory `/usr/src/cfengine-2.0.5pre2/src'
>       make: *** [all-recursive] Error 1
>       
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
> gcc version 2.95.4 20011002 (Debian prerelease)
> 
> I haven't tried on solaris yet.

Same thing on solaris:

test -f 'filenames.c' || echo './'`filenames.c
source='varstring.c' object='varstring.o' libtool=no \
depfile='.deps/varstring.Po' tmpdepfile='.deps/varstring.TPo' \
depmode=gcc /bin/sh ../depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.3.3//include
-I/usr/local/ssl//include    -g -O2 -Wreturn-type -Wmissing-prototypes
-Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.3.3//include   -c `test
-f 'varstring.c' || echo './'`varstring.c
varstring.c: In function `ExpandVarstring':
varstring.c:199: parse error before `char'
varstring.c:205: `i' undeclared (first use in this function)
varstring.c:205: (Each undeclared identifier is reported only once
varstring.c:205: for each function it appears in.)
varstring.c:205: `j' undeclared (first use in this function)
varstring.c:222: `currentitem' undeclared (first use in this function)
varstring.c:259: `scanstr' undeclared (first use in this function)
varstring.c:411: `tloc' undeclared (first use in this function)
varstring.c:486: `name' undeclared (first use in this function)
varstring.c:578: `len' undeclared (first use in this function)
make[2]: *** [varstring.o] Error 1
make[2]: Leaving directory `/usr/share/src/cfengine-2.0.5pre2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/cfengine-2.0.5pre2/src'
make: *** [all-recursive] Error 1

$ gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95/specs
gcc version 2.95 19990728 (release)

-- 
Nate Campi   http://www.campin.net 

"Smith & Wesson - the original point and click interface." 

Attachment: pgpUbjxlqWct1.pgp
Description: PGP signature


reply via email to

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