Hi all,

 I'm trying to get ganglia 2.5.6 to work on Solaris SPARC 64 bit.

 The machine is an Ultra-60 running Solaris 8 2/02 s28s_u7wos_08a,
 and I'm using the Sun Forte 6.2 compiler.

 Configuration:

 RRD=/usr/local/rrdtool

 CC="cc -Xa -xtarget=ultra -xarch=v9 -fast" \
 CPPFLAGS="-I$RRD/include" LDFLAGS="-L$RRD/lib" \
  ./configure --with-gmetad

 To compile, "-Wall -D__STDC__ -D_POSIX_C_SOURCE=199506L" needs to be
 removed from CFLAGS (-Wall is a gcc option; __STDC__ is already defined;
 compilation fails when _POSIX_C_SOURCE=199506L is defined).

 Now, when I try to run gmond, I get this, regardless whether it is run
 as root or non-root:

# ./gmond
gmond: /dev/ksyms is not a 32-bit kernel namelist
kvm_open: No such file or directory
*** kvm_open() failed, are you running gmond as root?
kvm_nlist: Bad address
Segmentation Fault
# 

 Any suggestions? (Please don't suggest gcc3 - I can't even get it installed,
 and the unprofessional attitude of the gcc developers wrt fixing bugs in
 their build system doesn't exactly help). Which Solaris platforms are
 people here using, if any?

 Thanks.


Reply via email to