Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11
Author: mvpel
Link to topic: https://cfengine.com/forum/read.php?3,21916,22367#msg-22367
Ok, on further examination it still needs the unsetenv and setlinebuf tweaks,
and the XOPEN_SOURCE warning is
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11
Author: mvpel
Link to topic: https://cfengine.com/forum/read.php?3,21916,22366#msg-22366
How very peculiar - I just did a vanilla build of 3.1.5 on HP-UX 11.11 with the
GCC CFLAG option of -mpa-risc-2-0 in
On 17.05.2011 21:44, no-re...@cfengine.com wrote:
> On another point, I'm not quite sure where to handle the
> _XOPEN_SOURCE_EXTENDED thing to fix the "socklen_t" vs. "int" warning in
> client_protocol.c and server.c - we'd probably want to check for the presence
> of the socklen_t type, but th
Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11
Author: mvpel
Link to topic: https://cfengine.com/forum/read.php?3,21916,22031#msg-22031
I ran a configure and build with the AC_REPLACE_FUNC configure.ac change for
setlinebuf(), and everything worked as
On 05/12/2011 12:30 PM, no-re...@cfengine.com wrote:
>> 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(__hpu
On 05/11/2011 06:52 PM, no-re...@cfengine.com wrote:
> 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)
>
On 05/11/2011 06:10 PM, no-re...@cfengine.com wrote:
> Looks like the proper way to handle the setlinebuf() issue for HP-UX with
> autoconf is this, from the 3.1.5 source:
Thank you. Slightly different solution (using AC_REPLACE_FUNC) is
implemented in r2307, could you try it?
__