Jim Klimov
2022-Dec-22 10:57 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
Cheers, trying to recreate this issue over the holidays to the best extent I currently can (with an x86 VM) - that went well (problems reproduced). Tracking some detailed discussion in https://github.com/networkupstools/nut/issues/1736 Regarding the `--without-nut-scanner` (named so in the end) option - seems it was added in the master branch after 2.8.0 release. Jim On Sun, Dec 18, 2022 at 5:35 PM vom513 via Nut-upsuser < nut-upsuser at alioth-lists.debian.net> wrote:> Hello, > > Trying to build from source on Solaris 8/sparc. I grabbed the 2.8.0 > release tarball from github. > > All I really need is upsmon to talk to another nut instance on the > network. So I don?t need any kind of drivers built. > > Here is the error I?m getting: > > checking which drivers to build... ./configure: line 13084: syntax error > near unexpected token `(' > ./configure: line 13084: ` get_drvlist() (? > > Here was my command line (no idea if this is the right syntax to get it to > NOT build any drivers): > > ./configure --without-usb --without-serial --without-snmp --without-neon > --without-powerman --without-modbus --without-ipmi --without-linux_i2c > --without-macosx_ups > > Thanks in advance for any clue. > > > > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221222/81309e5f/attachment.htm>
Jim Klimov
2022-Dec-22 15:17 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
Prospective fixes posted to https://github.com/networkupstools/nut/pull/1738 - hoping the multi-platform CI would survive these changes elsewhere. Probably a few follow-up fixes will land over time... You can try to check out and build this branch : https://github.com/jimklimov/nut/tree/sol8 Default build with `./ci_build.sh` autoconfigured and passed... Ok, not *too* default - tweaks and general VM preparation referenced in https://github.com/networkupstools/nut/issues/1736 Notably, self-checks which execute `upsd` and `dummy-ups`, and query them with `upsc` (all within localhost) did pass. Hope this helps, Jim Klimov On Thu, Dec 22, 2022 at 11:57 AM Jim Klimov <jimklimov+nut at gmail.com> wrote:> Cheers, trying to recreate this issue over the holidays to the best extent > I currently can (with an x86 VM) - that went well (problems reproduced). > > Tracking some detailed discussion in > https://github.com/networkupstools/nut/issues/1736 > > Regarding the `--without-nut-scanner` (named so in the end) option - seems > it was added in the master branch after 2.8.0 release. > > Jim > > > On Sun, Dec 18, 2022 at 5:35 PM vom513 via Nut-upsuser < > nut-upsuser at alioth-lists.debian.net> wrote: > >> Hello, >> >> Trying to build from source on Solaris 8/sparc. I grabbed the 2.8.0 >> release tarball from github. >> >> All I really need is upsmon to talk to another nut instance on the >> network. So I don?t need any kind of drivers built. >> >> Here is the error I?m getting: >> >> checking which drivers to build... ./configure: line 13084: syntax error >> near unexpected token `(' >> ./configure: line 13084: ` get_drvlist() (? >> >> Here was my command line (no idea if this is the right syntax to get it >> to NOT build any drivers): >> >> ./configure --without-usb --without-serial --without-snmp --without-neon >> --without-powerman --without-modbus --without-ipmi --without-linux_i2c >> --without-macosx_ups >> >> Thanks in advance for any clue. >> >> >> >> _______________________________________________ >> Nut-upsuser mailing list >> Nut-upsuser at alioth-lists.debian.net >> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser >> >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20221222/8e04878d/attachment.htm>