Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Add apcupsd to toolkit

    Posted Mon May 20, 2019 04:13 PM

    Originally posted by: Jim51


    Suggest adding apcupsd to the toolkit.  This tool is a very handy tool for shutting down systems when connected to a APC UPS.  .  


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: Add apcupsd to toolkit

    Posted Wed May 22, 2019 11:42 AM

    Originally posted by: AyappanP


    This is a very easy package to build. 

    All you need is to have gcc, g++ rpms installed. 

    export PATH=/opt/freeware/bin:$PATH

    Remove the following three lines from this apcupsd source file " src/lib/getopt.c ". 

    #ifndef _NO_PROTO
    #define _NO_PROTO
    #endif
     

    Then run

    ./configure 

    make 

    make install DESTDIR=/usr/local

     


    #AIX-Open-Source-Software
    #AIXOpenSource