Sorry ... What I meant here is that I commented out this #define statement in the config.h that replaces malloc by rpl_malloc, and after doing so, the compilation succeeds for the rest of ganglia 3.0.1.

Then once done and compiled, it seems to work.

Also note that the incorrect CPU speed is not just a truncation of some such thing of the real speed value, because different machines with the same CPU speed give various different values as reported by ganglia.

On Apr 5, 2005, at 11:04 AM, Robert E. Parrott wrote:

Hi folks,

Trying to compile ganglia 3.0.1 on AIX 5.2 with gcc 3.4. Using --disable-shared --enable-static as required.

What I'm seeing is that in srclib/libmetrics, the configure scripts are replacing malloc by rpl_malloc in config.h. This breaks compilation, since "rpl_malloc" is not defined anywhere. I don't know if this replacement is necessary, but in either case compilation fails.

Once this was done, the metrics look good, except for the CPU speed, which reads "45.25 GHz" which should in reality be 1.45 GHz.

Haven't run it for long, so I'll let you know if it falls over.


rob




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general


Reply via email to