Attempting apcupsd build

  • I am attempting to compile the apcupsd package for 8.2.4 using the cross compiler / build instructions on the wiki.

    My initial attempt to just pull the binary from raspbian did not work because it was linked with various libraries not present in LibreELEC. I don't need those libraries/features so I can --disable those features.

    I made some progress, but am stuck at:

    1. [email protected]:~/$ PROJECT=RPi2 ARCH=arm scripts/build apcupsd
    2. BUILD apcupsd (target)
    3. Executing (target): /home/build/ --host=armv7ve-libreelec-linux-gnueabi --build=x86_64-linux-gnu --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --disable-static --enable-shared --disable-snmp --disable-test --disable-modbus-usb --disable-modbus --disable-gapcmon --disable-apcagent
    4. configure: WARNING: unrecognized options: --disable-static, --enable-shared
    5. configure: error: cannot find install-sh or in /home/build/ "/home/build/"//home/build/

    Not really sure how to proceed at this point. The only file present in the above autoconf directory is config.log.

    Here is the apcupsd/ I created:

    Any suggestions would be appreciated, thanks.

  • Add function

    1. pre_configure_target() {
    2. # fails to build in subdirs
    3. cd $PKG_BUILD
    4. rm -rf ".$TARGET_NAME"
    5. }

    Blu-ray Disc Java menus support - forum thread, Github

    my lamp addon (unofficial/community) (limited no support)
    my touchscreen support and instructions by Grruhn (now touchscreen addon exists in repository)