Hi Jeff,

agreed, getting Ganglia on AIX to compile is a little bit more difficult than on a Linux distribution but it is not that hard either if you know some of the obstacles you could run into:

First of all, you need some RPMs from the AIX Toolbox for Linux Applications, you'll find them here:
http://www.ibm.com/servers/aix/products/aixos/linux/

Secondly, you need a working rrdtool (for gmetad) for AIX, this one you could get from my personal AIX Open Source repository at: http://www.perzl.org/aix/ or http://www.perzl.org/aix/index.php?n=Main.Rrdtool

Thirdly,
you need a clean AIX compile environment (I use the IBM XLC/C++ compiler in version 7 on AIX 5.1 ML 04 as the lowest version of AIX I want to go). This is not so easy to get right. Please check my website at http://www.perzl.org/aix/ where you'll find a description of my compile environment.

Fourth,
please check out some of the patches and the SPEC file I use for compiling Ganglia from my website at http://www.perzl.org/ganglia/. The SPEC file (contained in the SRC RPM) has all the "magic tricks" I apply to get Ganglia compile on AIX.I have also documented my compile environment used for Ganglia on this website, so hopefully you'll find some useful information there.

Then, once you have setup your environment correctly, getting Ganglia to compile should work

The only really difficult point is then - in my opinion - to get everything right with shared libraries on AIX. This is certainly a point where AIX is quite different than other Unixes and Linux. However, once understood it is not so difficult again :-) , I have spent quite some time in my life on this topic so I know what I'm talking about :-) .

Regards,
Michael

Jeff Haferman wrote:
Don't know exactly why you are getting that error, but ganglia on AIX is a bit of an art... I've done it a few times now and even though I know what I'm doing, it still takes me about a good solid 8 hours to do it from scratch. The good news is that it does work.

See the following site:
http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/ganglia

There are links to some AIX binaries there, but you may still want to build from scratch, in which case you will want to make sure you have all the prerequisites installed, many of these can
be found at:
http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/aixopen
(make sure you compile your PHP as they recommend if you want to have the full functionality of ganglia; you won't get a pie chart to display on your ganglia page if your PHP isn't built correctly).

JH


On 10/18/07, *Anthony Fiore* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi All,

     I've a ton of different things to try and work through this issue
    I'm having with configure on an AIX 5.3 ML4 system using gcc to
    try and compile Ganglia 3.0.5.

    First, I'm running the configure command as shown:

    ./configure --disable-shared --enable-static --prefix=/usr/local
    CFLAGS="-I/opt/freeware/include"
    CPPFLAGS="-I/opt/freeware/include" LDFLAGS="-L/opt/freeware/lib"
    --with-gmetad

    All goes well until this step:

    "checking for rrd_create in -lrrd... no
    rrd lib not found
    checking rrd.h usability... yes
    checking rrd.h presence... yes
    checking for rrd.h... yes

    The Ganglia Meta Daemon uses the Round-Robin Database Tool (rrdtool)
    for storing historical information.  You have chosen to compile the
    monitoring core with gmetad but librrd.a could not be found.  Please
    visit _http://www.rrdtool.org/ _ <http://www.rrdtool.org/>,
    download rrdtool and then try again

    NOTE: the rrdtool library (librrd) will NOT need to be installed on
    every machine running gmetad only the machine you are compiling
    gmetad
    on since librrd is statically linked."

    Now mind you - rrd.h is located in /opt/freeware/include and
    librrd.a is located in /opt/freeware/lib, and I've tried copying
    them to /usr/include and /usr/lib with no success.

    Does anyone have any hints or tips they could share with me on
    this issue am I missing something?

    Thanks in advance,
    Anthony





    * CONFIDENTIALITY NOTE: The information contained in this email or
    fax is
    intended only for the use of the individual or entity to whom it
    is addressed.
    If you are not the intended recipient, you are hereby notified
    that any
    disclosure, copying, distribution, printing or other use of, or
    any action
    taken in reliance upon, the contents of this email or fax and the
    information
    contained therein is strictly prohibited. Before opening or using
    attachments,
    check them for viruses and defects.  Our liability to you for
    viruses or
    defects associated with any email or fax is strictly limited to
    resupplying any
    affected attachments.  If you have received this communication in
    error,
    please immediately notify the sender by telephone at
    (646) 264-6217 and
    delete the original message. Thank you.*


    -------------------------------------------------------------------------
    This SF.net email is sponsored by: Splunk Inc.
    Still grepping through log files to find problems?  Stop.
    Now Search log events and configuration files using AJAX and a
    browser.
    Download your FREE copy of Splunk now >> http://get.splunk.com/
    _______________________________________________
    Ganglia-general mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/ganglia-general
    <https://lists.sourceforge.net/lists/listinfo/ganglia-general>


------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
------------------------------------------------------------------------

_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to