Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-09-06 Thread Mikhail Gusarov
On 06.09.2011 16:56, no-re...@cfengine.com wrote: >> #if defined(__hpux) || defined(_AIX) >> int dirfd(DIR *dirp) >> { >> return dirp->dd_fd != -1 ? dirp->dd_fd : ENOTSUP; >> } >> #endif > > Well, duh...I moved the changes to dirfd.c to the end of the file and now it > compiles and links on HP-UX

CFEngine Help: Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-09-06 Thread no-reply
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,23366#msg-23366 > On 09/02/2011 06:34 PM, no-re...@cfengine.com > wrote: > So it compiles, but does not li

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-09-02 Thread Mikhail Gusarov
On 09/02/2011 06:34 PM, no-re...@cfengine.com wrote: > CCLD cf-know > cc: warning 983: The -lc library specified on the command line is also added > automatically by the compiler driver. > ld: Unsatisfied symbol "dirfd" in file ./.libs/libpromises.a > This was with -Agcc. So it compiles, bu

Re: CFEngine Help: Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-09-02 Thread Mikhail Gusarov
On 08/26/2011 09:03 PM, no-re...@cfengine.com wrote: > I tried the -Agcc compiler option to enable GNU C dialect compatibility and > now the build bombs with ... > Making all in pub >CC getopt.lo > cc: error 1914: bad form for `-W' option -Agcc makes compiler look too much like gcc, so

CFEngine Help: Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-26 Thread no-reply
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 a

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-26 Thread Mikhail Gusarov
On 26.08.2011 15:14, no-re...@cfengine.com wrote: > Compile of r2997-r2997 fails on HP-UX :-((( 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. -- Mikhail Gusarov

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-25 Thread Mikhail Gusarov
On 25.08.2011 08:47, Erlend Leganger wrote: > That fix is for HP-UX, is the Solaris problem also fixed? Solaris one is in http://source.cfengine.com/browse/core/trunk/configure.ac?r1=2970&r2=2969&pathrev=2970&diff_format=u -- Mikhail Gusarov ___ Help

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-24 Thread Erlend Leganger
On 24 August 2011 21:22, Mikhail Gusarov wrote: > Fix committed to both trunk and 3.2.x branch, please try. That fix is for HP-UX, is the Solaris problem also fixed? - Erlend ___ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.o

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-24 Thread Mikhail Gusarov
On 22.08.2011 18:00, no-re...@cfengine.com wrote: > Same problem on HPUX. Editing configure and configure.ac as above made no > difference. Fix committed to both trunk and 3.2.x branch, please try. Here's diff for manual application: http://source.cfengine.com/browse/core/trunk/pub/dirfd.c?r1

Re: CFEngine Help: Re: Cannot compile cfengine-3.2.0.tar.gz on Solaris 10

2011-08-22 Thread Mikhail Gusarov
On 22.08.2011 18:00, no-re...@cfengine.com wrote: > Same problem on HPUX. Editing configure and configure.ac as above made no > difference. Yes, HP-UX is missing dirfd(3) completely. Going to fix it. -- Mikhail Gusarov ___ Help-cfengine mailing list