Forum: CFEngine Help Subject: 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,23367#msg-23367
> On 09/02/2011 06:34 PM, no-re...@cfengine.com > wrote: > So it compiles, but does not link due to missing > dirfd. Please add the > following lines to pub/dirfd.c and try again: > > #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! wilma:/home/root/cfengine-3.2.0# /u06/cfengine-3.2.0/sbin/cf-promises -V @@@ @@@ cf-promises @ @@@ @ CFEngine Core 3.2.0 @ @@@ @ @ @@@ @ @ @ @@@ @ @ @ @ @ @ Copyright (C) Cfengine AS 2008-2011 _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine