gcc --version
2.9-aix43-010414

I installed 2.9-aix51-020209 as well, but ran into the following problems:


/usr/lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix43-010414/include/pthread.h,
    line +166 had to be changed to #define PTHREAD_ONCE_INIT { 0,0,0,0 }

The stock pthread.h has that define spread out over multiple lines and upon
compiling the ganglia-monitor-core it complains about a missing space
problem after PTHREAD_ONCE_INIT

Second problem, gmond/machine.c line 29 had to be commented out.. it
references pmapi.h which I don't have on my machine, not sure what it is.

Compile proceeded fine after that point and I'm able to run ./gmond with
debug_level 1, however it dies with a seg fault after 'gmond initialized
cluster hash'

Additionally, running from the installed location of /usr/sbin/gmond from
any other path gives the following results:

exec(): 0509-036 Cannot load program /usr/sbin/gmond because of the
following errors:
        0509-150   Dependent module
../lib/.libs/libganglia.a(libganglia.so.1) could not be loaded.
        0509-022 Cannot load module
../lib/.libs/libganglia.a(libganglia.so.1).
        0509-026 System error: A file or directory in the path name does not
exist.

So for some reason when it got linked it referenced the ../lib/.libs
directory inside of the ganglia source tree, instead of /usr/lib where
libganglia files got installed to.

Is it dieing with a core dump because there are no metrics monitored on aix
as of yet?

Lester



Reply via email to