Forum: CFEngine Help Subject: Re: -Werror=implicit-function-declarations blocking "pub" implementations on HP-UX 11.11 Author: mvpel Link to topic: https://cfengine.com/forum/read.php?3,25818,25836#msg-25836
I was able to complete a successful build of v3.3.1 - I'm not sure if it runs yet, I'll try that later. I built Tokyo Cabinet as described in another thread in CFengine Help, and then installed the HP Porting and Archive Centre packages for "openssl," "zlib," "bzip2," as well as "pcre," which required "termcap" and "readline." I also have the HP OpenSSL package installed, so I'll probably do one more build with /opt/openssl/lib added to the runtime library search path, so it can work with either HP or PARC package. I configured as follows, using the AllianceONE GCC 4.6.3: env CC="/opt/hp-gcc/bin/gcc -static-libgcc" ./configure --with-pcre=/usr/local --with-tokyocabinet=/usr/local This compiler defaults to building PA-RISC 1.1 code, but since the PARC packages are all 2.0, I'm going to rebuild CFengine that way too. I then removed the "-Werror=implicit-function-declarations" from the Makefiles in src and pub, as mentioned above, and the "gmake -j8" build went through fine aside from some griping about char array indexes. The install seemed to go a little funny when /var/cfengine/lib/libpromises.la was not present - it apparently doesn't know it has to install that before it can re-link the executables in src/.libs, but re-running the gmake install seemed to cope with it. And then I followed Diego's instructions on page 16 of my spiffy new book, and... ... R: This host assumes the role of policy distribution host R: -> Updated local policy from policy server R: -> Started the server R: -> Started the scheduler -> Bootstrap to 138.127.133.21 completed successfully gbrhpq$ ps -afe | grep cf pelletm 22763 2412 1 17:38:21 pts/1 0:00 grep cf root 22757 1 0 17:38:01 ? 0:00 /var/cfengine/bin/cf-serverd root 22754 1 0 17:38:01 ? 0:00 /var/cfengine/bin/cf-execd gbrhpq$ Nice way to end the work week! _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine