Bernard Li wrote:
> Hi Paul:
>
> Have you tried these OpenCSW packages:
>
> http://mirror.opencsw.org/testing.html
>
> Or is there a specific reason why you would want to build Ganglia yourself?
>
>   
Also see:

scripts/build-solaris.sh  (I added this recently on 3.1)

and

https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/pkg/ganglia/branches/ganglia-3.1.4-rc/Makefile

shows how I build the CSW packages


> Thanks,
>
> Bernard
>
> On Tue, Oct 27, 2009 at 2:52 AM, Paul Sobey <bud...@the-annexe.net> wrote:
>   
>> I'm having problems building this on Solaris 10 with python gmetrics (using
>> newly built GCC 4.4.1). Trying to compile gmond with no options to configure
>> gives the following:
>>
>> if gcc -DHAVE_CONFIG_H -I. -I. -I..
>> -I/opt/ganglia-client-3.1.4/include/apr-1
>> -I/opt/ganglia-client-3.1.4/include -I/opt/gcc-solarisld-4.4.1/include-I..
>> -I. -I../include/ -D_LARGEFILE64_SOURCE
>> -DSYSCONFDIR='"/opt/ganglia-client-3.1.4/etc"' -g -O2 -fno-strict-aliasing
>> -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=200112L -DHAVE_STRERROR -MT
>> getopt1.o -MD -MP -MF ".deps/getopt1.Tpo" -c -o getopt1.o getopt1.c; \
>>        then mv -f ".deps/getopt1.Tpo" ".deps/getopt1.Po"; else rm -f
>> ".deps/getopt1.Tpo"; exit 1; fi
>> In file included from /usr/include/iso/ctype_iso.h:30,
>>                 from /usr/include/ctype.h:18,
>>                 from getopt.h:34,
>>                 from getopt1.c:25:
>> /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
>>
>> If do that, compilation fails building against Python 2.6.2 (built with same
>> toolchain):
>>
>>  gcc -DHAVE_CONFIG_H -I. -I. -I../../..
>> -I/opt/ganglia-client-3.1.4/include/apr-1
>> -I/opt/ganglia-client-3.1.4/include/python2.6
>> -I/opt/ganglia-client-3.1.4/include -I/opt/gcc-solarisld-4.4.1/include
>> -D_LARGEFILE64_SOURCE -I../../../include -I../../../lib -std=gnu99
>> -fno-strict-aliasing -Wall -D__EXTENSIONS__ -D_POSIX_C_SOURCE=200112L
>> -DHAVE_STRERROR -MT mod_python.lo -MD -MP -MF .deps/mod_python.Tpo -c
>> mod_python.c  -fPIC -DPIC -o .libs/mod_python.o
>> In file included from /usr/include/limits.h:18,
>>                 from
>> /opt/gcc-solarisld-4.4.1/lib/gcc/i386-pc-solaris2.10/4.4.1/include-fixed/limits.h:122,
>>                 from
>> /opt/gcc-solarisld-4.4.1/lib/gcc/i386-pc-solaris2.10/4.4.1/include-fixed/syslimits.h:7,
>>                 from
>> /opt/gcc-solarisld-4.4.1/lib/gcc/i386-pc-solaris2.10/4.4.1/include-fixed/limits.h:11,
>>                 from
>> /opt/ganglia-client-3.1.4/include/python2.6/Python.h:19,
>>                 from mod_python.c:34:
>> /usr/include/sys/feature_tests.h:332:2: error: #error "Compiler or options
>> invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX
>> applications"
>>
>>
>> Any ideas how I can get it to build?
>>
>> Cheers,
>> Paul
>>
>>
>>
>> On Mon, 26 Oct 2009, Bernard Li wrote:
>>
>>     
>>> Dear all:
>>>
>>> Ganglia 3.1.4 is ready for testing at:
>>>
>>> http://ganglia.info/testing/
>>>
>>> The RPMs were built on CentOS x86.  To build for your specific
>>> platform, please use:
>>>
>>> rpmbuild -tb ganglia-3.1.4.tar.gz
>>>
>>> Combined changelog for 3.1.4 and 3.1.3 (since 3.1.3 was never released):
>>>
>>>  3.1.4:
>>>
>>>  * gmond: Limit the use of APR_POLLSET_THREADSAFE to Linux >= 2.6
>>>  * gmond: improve/revert setuid behavior in configure script
>>>
>>>  3.1.3:
>>>
>>>  * gmond: Fix the allow_extra_data configuration directive(BUG199)
>>>  * gmond: Ensure that a complete XML dump is delivered before closing
>>> the send socket. Submitted by: Jerry <adawzq 126 com>
>>>  * gmond: add bind and bind_hostname parameters for udp_send_channel()
>>>  * gmetad: BUG232: eliminate case-sensitive hostname bug, user can
>>> choose to maintain legacy behavior though
>>>  * gmond: BUG237: revise fix for segfault on Solaris where first CPU
>>> not in slot 0
>>>  * gmond: support for HUP signal on platforms with execve
>>>  * gmond: delay daemonization until after other initialization steps are
>>> done
>>>  * gmond: status module: return gmond version info as string metrics
>>>  * gmond: Check return status of apr_pollset_create.  Use
>>> APR_POLLSET_THREADSAFE on Linux.
>>>  * build: various configure options: Solaris 8 with Sun Studio 11
>>> support, extra modules for static linking, default setuid, release
>>> number, build multicpu and status during static builds, support for
>>> SYSCONFDIR (BUG16)
>>>  * RPM: include status module, allow packager to supply own gmond.conf
>>>  * build: Look in lib64 rather than lib for apr, confuse and expat on
>>> x86_64 Linux builds
>>>  * Bug fixes and Enhancements
>>>
>>> Please test and let us know if you encounter any issues.
>>>
>>> Thanks again for your continued support.
>>>
>>> Cheers,
>>>
>>> Bernard
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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-general mailing list
>>> ganglia-gene...@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>>>
>>>       
>
> ------------------------------------------------------------------------------
> 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
>   

------------------------------------------------------------------------------
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