...

>I'm really just looking for general gotchas and tips for compiling
ganglia
>on Solaris 8; ideally using Sun's Forte Developer compilers.  I was
able
>to successfully compile gmond using gcc v2.95.3 but the gmond binary
would
>not start.  I've narrowed this problem down to the fact that this
system is
>running a 64-bit kernel and gmond is looking for 32-bit kernel
parameters
>judging by the gmond (gmond -d5) error - "gmond: /dev/ksyms is not a
32-bit
>kernel namelist".

Yes, that (probably) means that gcc built a 32 bit binary.  You need it
to be 64 bits, and that won't happen by default unless the person that
built gcc arranged it to be so.  If gcc was built with multi-lib (which
would be the default on this platform, at least with new versions of
gcc), you can tell it to build a 64 bit version.  (I forget how, but
info gcc will tell you..)

When we got solaris 8/9, I carefully avoided this whole mess by building
gcc so that it builds 64 bit binaries by default...   In that context,
ganglia builds with a simple configure/make/make install.

When you do eventually get it built, be aware that some of the metrics
that it reports aren't actually collected.  You get a flat line. :(


>Back to Solaris 8 and Forte compilers and 64-bit compiling and linking.
>Any
>comments and/or suggestions for compiling ganglia on Solaris using a
64-bit
>kernel would be greatly appreciated.

Sorry, don't have that compiler...



Reply via email to