(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Installation : (Category) Platform Hints : (Category) Hewlett-Packard Tru64 UNIX : (Answer) "NGROUPS" is not declared. (undeclared) on v4.0 1091 Tru64 (probably a BUG)
This is almost a bug for sure in openlap.. when you try to build on Tru64 you get:
  Entering subdirectory libraries
Making all in /Tools/install/openldap-2.1.16/libraries
  Entering subdirectory liblutil
cc -g -I../../include -I../../include -c getpeereid.c cc: Error: /usr/include/sys/ucred.h, line 86: In the declaration of "cr_groups", "NGROUPS" is not declared. (undeclared)
        gid_t   cr_groups[NGROUPS];     /* additional groups */
--------------------------^ *** Exit 1 Stop. *** Exit 1 Stop. *** Exit 1
NGROUPS is defined in sys/param.h BUT param.h is NOT included!!! even though configure picked it up correctly and put: /* Define if you have the <sys/param.h> header file. */ #define HAVE_SYS_PARAM_H 1
in portable.h
The fix is to add:
#include "ac/param.h"
to the C file involved.. in this case it's getpeereid.c once you add that include file (which is shipped with openlap) then it includes the param.h.
not sure how to report a bug, but at least it's here for future use...
enjoy!
stormy1777@yahoo.com
[Append to This Answer]
Previous: (Answer) Why am I having problems installing on Tru64 v5.x ?
This document is: http://www.openldap.org/faq/index.cgi?file=877
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org