On Tue, Oct 27, 2009 at 09:52:52AM +0000, Paul Sobey wrote:

> /usr/include/sys/feature_tests.h:336:2: error: #error "Compiler or options 
> invalid; UNIX 03 and POSIX.1-2001 applications       require the use of 
> c99"
> make[2]: *** [getopt1.o] Error 1
> 
> Googling leads me to try compiling with CFLAGS="-std=gnu99" per:
> 
> http://bugzilla.ganglia.info/cgi-bin/bugzilla/show_bug.cgi?id=215

this is a bug on the autoconf from CentOS 4 which is used to build the
release packages, therefore you can also workaround the issue by
rebootstrapping the package or making your own with a better version
of the autotools.  for simplicity I'd uploaded an unofficial release
package for 3.1.4 bootstrapped on fedora rawhide in :

  http://sajino.sajinet.com.pe/ganglia/ganglia-3.1.4.tar.gz

> If do that, compilation fails building against Python 2.6.2 (built with 
> same toolchain):

once you use "-std=gnu99" is no longer the same toolchain and therefore
building python with the same standard support should solve your problem.

Carlo

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to