Hi all: Trunk currently fails to build on Mac OS X 10.6.4.
./configure gives the following warning: checking rpc/xdr.h presence... yes configure: WARNING: rpc/xdr.h: present but cannot be compiled configure: WARNING: rpc/xdr.h: check for missing prerequisite headers? configure: WARNING: rpc/xdr.h: see the Autoconf documentation configure: WARNING: rpc/xdr.h: section "Present But Cannot Be Compiled" configure: WARNING: rpc/xdr.h: proceeding with the preprocessor's result configure: WARNING: rpc/xdr.h: in the future, the compiler will take precedence checking for rpc/xdr.h... yes make bombs with: In file included from ../include/ganglia.h:4, from hash.c:7: /usr/include/rpc/xdr.h:131: error: expected specifier-qualifier-list before 'bool_t' /usr/include/rpc/xdr.h:169: error: expected declaration specifiers or '...' before '*' token /usr/include/rpc/xdr.h:169: error: 'bool_t' declared as function returning a function /usr/include/rpc/xdr.h: In function 'xdr_getint32': /usr/include/rpc/xdr.h:218: error: 'const struct xdr_ops' has no member named 'x_getlong' /usr/include/rpc/xdr.h:219: error: 'FALSE' undeclared (first use in this function) /usr/include/rpc/xdr.h:219: error: (Each undeclared identifier is reported only once /usr/include/rpc/xdr.h:219: error: for each function it appears in.) /usr/include/rpc/xdr.h:221: error: 'TRUE' undeclared (first use in this function) [snip] Looks like on Mac OS X, rpc/xdr.h does not include rpc/types.h. Adding this in both include/ganglia.h and include/gm_metric.h fixes the issue. I guess we should do the same fix in Bugzilla #264 to get rid of the configure warning as well? Cheers, Bernard ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers