Forum: Cfengine Help Subject: Re: compiling cfengine on AIX 6.1 Author: matter Link to topic: https://cfengine.com/forum/read.php?3,18917,18942#msg-18942
Seems people are having issues with AIX compilation. I have not had any in some time. A couple things I would suggest. Upgrade all supporting software (bison/flex/etc..). The IBM ones are old and a little buggy. Compile everything static, even the supporting software. Yes, I know it is a pain to compile all the prerequisites, but in the end it will save you a lot of time. I listed this before, but this is what I have for supporting software version: BerkeleyDB.4.8 OpenSSL 1.0.0a (no-rc5 no-idea no-mdc2) pcre-8.01 m4-1.4.13 bison-2.4 flex-2.5.35 Make sure that are first in the path for configure to pick them up. I tend to stick with the native compiler for portability. Using GCC compiles easier, but binaries are larger on AIX and require GCC standard library on the machine to run. Also, if you are compiling on AIX6.1 with a script or spec file, make sure to "unset RM" before the configure. Your issue in particular is bison, get that to at least 2.4. It is not lex'ing cf3parse.y correctly to produce a viable cf3parse.c. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine