On Tue, 2006-05-02 at 09:08 -0500, Michael Grubb wrote: > On May 2, 2006, at 12:21 AM, Mark Burgess wrote: > > > Michael Grubb wrote: > >> 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-am > >> source='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). > > > > This is a problem in the library, not in cfengine I'm afraid. > > > > Am I Doing something wrong? Or is everyone having this issue? I'm > not sure where to start troubleshooting this particular problem if it > is only me.
It looks like you're using IBM's make, based on the XXXX-YYY error code prefixing the message. Try GNU make instead. I've partically built cfengine 2.1.18 on AIX using GCC, but cfservd won't run because I am using the IBM-supplied and xlC-compiled OpenSSL, which doesn't seem to work well with GCC. I started trying to build OpenSSL with GCC, but got distracted... Well, cfservd runs on my Linux master, so I'm okay for the moment. Hm, it looks like I needed the following patch to get ylwrap to run correctly (something about it running incorrectly with the supplied AIX shell; I don't recall any more): --- cfengine-2.1.18/src/Makefile.in.orig 2006-02-21 15:54:43.000000000 -0800 +++ cfengine-2.1.18/src/Makefile.in 2006-02-21 15:55:02.000000000 -0800 @@ -791,10 +791,10 @@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .l.c: - $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) + $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) .y.c: - $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) Wil -- Wil Cooley <[EMAIL PROTECTED]> Naked Ape Consulting, Ltd
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org http://cfengine.org/mailman/listinfo/help-cfengine