Forum: CFEngine Help Subject: Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,23163,23240#msg-23240
> Please try to compile using gcc. The code in > question uses anonymous > unions, which are common extension, but seems to > be not in HP-UX > compiler. See the INSTALL file for details. We don't use and have never used gcc on HP-UX because the HP compiler generates code optimized for Itanium. I tried the -Agcc compiler option to enable GNU C dialect compatibility and now the build bombs with . . . config.status: creating masterfiles/Makefile config.status: creating src/conf.h config.status: src/conf.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands Making all in pub CC getopt.lo cc: error 1914: bad form for `-W' option gmake[1]: *** Error 1 gmake: *** Error 1 I've been building cfengine since 3.0.1 on HP-UX using the HP compiler and never had this problem before. Why use compiler extensions in cfengine that aren't compatible on all the platforms cfengine runs on? _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine