Forum: CFEngine Help
Subject: Re: Cannot compile cfengine-3.2.0b3.tar.gz on Solaris 10
Author: alevin
Link to topic: https://cfengine.com/forum/read.php?3,23048,23054#msg-23054

compilation is successful if I define NAME_MAX  in src/dir.c:

          #define NAME_MAX 256

using  MAXNAMELEN  value from /usr/include/sys/param.h

  cat /usr/include/sys/param.h | grep MAXNAMELEN
      * MAXNAMELEN is the length (including the terminating null) of
    #define MAXNAMELEN      256


---
Alex

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to