Cfengine Help: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-06-03 Thread no-reply
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

Cfengine Help: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-06-02 Thread no-reply
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

Re: Cfengine Help: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-17 Thread Mikhail Gusarov
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

Cfengine Help: Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-17 Thread no-reply
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

Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-12 Thread Mikhail Gusarov
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

Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-12 Thread Mikhail Gusarov
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) >

Re: Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-12 Thread Mikhail Gusarov
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? __

Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-12 Thread no-reply
Forum: Cfengine Help Subject: Re: Successful 3.1.4 build on HP-UX 11.11 Author: davidlee Link to topic: https://cfengine.com/forum/read.php?3,21894,21913#msg-21913 You say: > Ran into another hitch in 3.1.5 - a dependency on unsetenv(), which is also > included in the Portability Package. I just

Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-11 Thread no-reply
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

Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-11 Thread no-reply
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,21896#msg-21896 Looks like the proper way to handle the setlinebuf() issue for HP-UX with autoconf is this, from the 3.1.5 source: *** configure.ac.ori

Cfengine Help: Re: Successful 3.1.4 build on HP-UX 11.11

2011-05-11 Thread no-reply
Forum: Cfengine Help Subject: Re: Successful 3.1.4 build on HP-UX 11.11 Author: Beto Link to topic: https://cfengine.com/forum/read.php?3,21894,21895#msg-21895 Man, that is some ancient OS you got there. BTW, setlinebuf is included in the free Portability Package for 11i v2 With the Portability