I've come across some AIX compile issues with cfengine 2.1.20 on AIX 5.3
1) PCRE support won't compile complains about RE_INTERVALS:./configure --prefix=/usr/local/cfengine --with-berkeleydb=/var/ cfengine/lib/db --with-openssl=/var/cfengine/lib/ssl --with-pcre=/var/ cfengine/lib/pcre --enable-static --disable-shared
I get this when I run make: Making all in src make all-amsource='cfagent.c' object='cfagent.o' libtool=no DEPDIR=.deps depmode=aix /bin/sh ../depcomp cc -DHAVE_CONFIG_H -I. - I. -I. -I/var/cfengine/lib/db/include -I/var/cfengine/lib/ssl/ include -D_THREAD_SAFE -I/var/cfengine/lib/pcre/include -w - D_THREAD_SAFE -g -I/var/cfengine/lib/db/include -D_THREAD_SAFE -g -I/var/cfengine/lib/db/include -c cfagent.c "cfagent.c", line 225.1: 1506-045 (S) Undeclared identifier re_syntax_options. "cfagent.c", line 225.22: 1506-045 (S) Undeclared identifier RE_INTERVALS. "cfagent.c", line 225.1: 1506-045 (S) Undeclared identifier re_syntax_options.
make: 1254-004 The error code from the last command is 1.This is much the same error I get on other platforms (HP-UX 11i v1, Solaris, and I believe Tru64).
2) The IBM version of lex won't work, GNU Flex is required, when the % a and %p options are tweaked in cflex.l to larger values I get a Table size overflow error.
3) GNU Bison will not work, when cfparse.y is processed GNU Bison exits 141 immediately, haven't been able to figure the cause of this one out, as it gives no errors.
4) The IBM C compiler doesn't like the C++ style comments in the nameinfo.c file, they should be changed to C style comments.
If anyone has any ideas on #1 and 3, I'd be glad to hear them. I've attached a patch to address #4.
nameinfo.patch
Description: Binary data
Regards, Michael Grubb, CISSP
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine