[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cfengine 2.0.8 fails to compile on AIX 4.3.3 , Solaris 8 , IRIX 6.5.
From: |
Mark . Burgess |
Subject: |
Re: Cfengine 2.0.8 fails to compile on AIX 4.3.3 , Solaris 8 , IRIX 6.5.19 |
Date: |
Fri, 5 Sep 2003 08:10:23 +0200 (MEST) |
This is because you do not have flex/bison. You can try editing cflex.l.in to
increase the memory allocations in lex, but I would just install GUU flex/bison
since tehse are much better programs.
M
On 4 Sep, Garrett, Matt M SITI-ITDIEEE wrote:
> Folks
>
> I have been trying to compile cfengine 2.0.8 on the following hardware
> platforms
>
> AIX 4.3.3
> Solaris 8
> IRIX 6.5.19
>
> I get the following compile error's for AIX
>
> source='errors.c' object='errors.o' libtool=no
> depfile='.deps/errors.Po' tmpdepfile='.deps/errors.TPo' depmode=aix /bin/sh
> ../depcomp cc -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/openssl/include
> -D_THREAD_SAFE -w -D_THREAD_SAFE -g -I/usr/local/BerkeleyDB.4.1/include
> -D_THREAD_SAFE -g -I/usr/local/BerkeleyDB.4.1/include -c `test -f 'errors.c'
> || echo './'`errors.c
> /bin/sh ../ylwrap `test -f 'cflex.l' || echo './'`cflex.l lex.yy.c
> cflex.c -- lex
> got /tmp/cfengine-2\.0\.8/src/
> Error: 1285-311 There are too many transitions.
> 627/2000 nodes(%e); 9575/12000 positions(%p); 858/2000 (%n); 152732
> transitions
> 208/1000 packed char classes(%k)
> 16001/16000 packed transitions(%a)
> 0/30000 output slots(%o)
>
> make: 1254-004 The error code from the last command is 1.
>
>
>
> I get the following compile error's for Solaris
>
> cfagent.o init.o do.o alerts.o wrapper.o report.o client.o ip.o process.o
> ifconf.o image.o item.o item-ext.o item-file.o 2Dlist.o globals.o classes.o
> misc.o parse.o functions.o edittools.o patches.o install.o link.o tidy.o
> filedir.o eval.o modes.o chflags.o locks.o mount.o macro.o filenames.o
> varstring.o wildcard.o cfparse.o comparray.o read.o checksums.o proto.o
> filters.o copy.o repository.o rotate.o errors.o cflex.o net.o df.o log.o
> crypto.o popen.o popen_def.o sensible.o acl.o dce_acl.o nameinfo.o
> strategies.o methods.o package.o -lfl -lfl -ldb -lcrypto -L../pub -lpub
> -lpthread -lnsl -lsocket -lm -lelf -lsec
> ld: elf error: file cfagent: elf_update: Memory allocation error: output file
> space: Resource temporarily unavailable
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `cfagent'
> Current working directory /tmp/cfengine-2.0.8/src
> *** Error code 1
>
>
> I have sucesfuly compiled on IRIX 6.5.19
> However when a 2.0.7p3 Sun Solaris server 8 tries to connect it failes.
>
> Below is a copy of the cfservd on the IRIX client
> It seems it is not able to work out the subnet mask , which should have been
> 255.255.255.0
>
> IP address mismatch between client's assertion (134.142.190.3) and socket
> (255.2
> 55.255.255) - untrustworthy connection
> cfservd: Host authorization/authentication failed or access denied
> Transaction Send[t 64][Packed text]
> Attempting to send 72 bytes
> SendSocketStream, sent 72
> cfservd: From (host=?,user=?,ip=255.255.255.255)
>
> cfengine 2.0.7p3 compiled fine on all the above systems , and this is what is
> been used at the moment in production.
> Any idea's
>
> Thanks
>
> Matt
>
>
>
> Matthew Garrett
> Unix System Support
> Shell Information Technology International Limited
> Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom
>
> Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
> Email: Matt.M.Garrett@is.shell.com
> Internet: http://www.shell.com
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272 Email: Mark.Burgess@iu.hio.no
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~