Forum: Cfengine Help
Subject: Re: Successful 3.1.4 build on HP-UX 11.11
Author: mvpel
Link to topic: https://cfengine.com/forum/read.php?3,21894,21897#msg-21897

Thanks for the suggestion, Beto - unfortunately I'm out of luck in that regard 
since the Portability Package is only available for 11.23, not 11.11. Anyway, 
HP's support EOL for 11.11 isn't until the end of 2013.

Ran into another hitch in 3.1.5 - a dependency on unsetenv(), which is also 
included in the Portability Package. I just changed pub/unsetenv.c where it 
said:

#ifdef __sun

... to ...

#if defined(__sun) || defined(__hpux)

... and it seemed to compile okay. Also, there was a type mismatch for 
getsockname() when using GCC's socket.h...

server.c:412:38: warning: passing argument 3 of 'accept' from incompatible 
pointer type 
"expected 'socklen_t *' but argument is of type 'int *'

I've run into this before with ClamAV, and I'm still trying to find my notes 
about it. Something about _XOPEN or the like if I'm remembering correctly.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to