Hi Jim,
Just a quick note to thank you and Steve for your replies to my questions
regarding compiling ganglia v2.5.2 on Solaris 8.
I'm using a pre-compiled version of the gcc compilers and I don't know if it
supports 64-bit. I'll
take a closer look. If not, I'll try and find a version that compiles
64-bit code and try compiling ganglia again. I may or may not put anymore
effort
into getting ganglia to compile using the Sun Forte compilers.
As for the machines I'm attempting to monitor, they're all Solaris boxes
running Solaris 8 (64-bit kernel). We have a small Beowulf cluster (Red Hat on
Intel)
as well that is part of the mix but the goal is to find one tool to monitor both
environments.
Thanks everyone!
Gary...
Jim Rowan wrote:
...
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...