On 08/22/2011 12:56 PM, Erlend Leganger wrote:

> Seems as dirfd is referenced, even though configure finds that I don't
> have dirfd on my system.

Yes, it looks like pub/dirfd.c does not get compiled in due to typo in 
configure.ac.

> checking for dirfd... no
> checking for dirfd macro... no

but

> make[1]: Entering directory `/tmp/cfsrc/cfengine-3.2.0/pub'
>    CC     getopt.lo
>    CC     getopt1.lo
>    CC     snprintf.lo
>    CC     strnlen.lo
>    CC     strndup.lo
>    CCLD libcfpub.la <http://libcfpub.la>
> make[1]: Leaving directory `/tmp/cfsrc/cfengine-3.2.0/pub'

Please try to change the line

   if test x$DIRFD_MACRO_FOUND != x; then

to

   if test x$DIRFD_MACRO_FOUND = x; then

in configure.ac, rerun ./autogen.sh and see whether it works for you.

-- 
Mikhail Gusarov
Software Engineer
CFEngine AS

Nydalsveien 33
0484 Oslo
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to