On Mon, Oct 07, 2002 at 05:51:49PM -0400, Lester Vecsey ([EMAIL PROTECTED])
wrote:
>
> /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
This sounds like a gcc problem? I don't get any complaints on my AIX systems.
> 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.
AIX 5 has bos.pmapi, and 4.3 has a bff for pmapi that you can get from
alphaworks.ibm.com. Check your configure output.
There's a missing #ifdef in machine.c which I hadn't caught. (I have pmapi
installed, so I never got an error.) It's corrected in CVS, thanks for the
report.
> 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'
Never seen this. My AIX gmonds are running for about a month straight now.
Do you have a gmond.conf?
> 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.
Run with configure --disable-shared --enable-static. Libtool doesn't do
the shared libraries on AIX right. That should have been in a README, but
I don't see it. Added that too.
> Is it dieing with a core dump because there are no metrics monitored on aix
> as of yet?
AIX supports all of ganglia's metrics.
--
Preston Smith <[EMAIL PROTECTED]>
UNIX Analyst Purdue University Physics Computer Network
GPG Fingerprint: 6D27 5DAA F58D C42B 7A6B 8F48 04E4 2465 F353 03F6