Jim Klimov
2022-Dec-18 21:34 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
Don't have a SPARC machine anymore, but it is regularly tested on illumos (which is ages newer than Sol8)... wondering if I can get an x86 vm running with it... In the meanwhile, add some `-D` options to the launched program so it is more verbose. Is that other NUT (upsd) listening not on localhost? Are firewall permissions allowing the connection? Does the built `upsc` client connect? Certainly older NUT did work for me on the platform (both ARCHes). For the nut-scanner there's a configure option (to disable). Wondering what's with perl script - probably wants dependencies not present/functional in that distro. Jim On Sun, Dec 18, 2022, 22:21 vom513 via Nut-upsuser < nut-upsuser at alioth-lists.debian.net> wrote:> > > On Dec 18, 2022, at 3:00 PM, vom513 <vom513 at gmail.com> wrote: > > > > So with a bit of hacking and tweaking, I think I?m really close to > having the build finish successfully. I make it to a part with nut-scanner > and I get this: > > > > Regenerating the USB helper files in SRC dir. > > Can't use an undefined value as a symbol reference at ../tools/ > nut-usbinfo.pl line 237. > > So I got past this - threw a hail mary and put an exit 0 at the top of > this perl script. Seemed to work fine, it kept going and finished the > build. > > So now I have it installed (again - only using upsmon) and it won?t > connect to my remote NUT instance. It doesn?t even seem to try to connect > (ran tcpdump on the remote box). > > It seems like it doesn?t know how to open a socket on Solaris ? Anyone > have any ideas ? > > Thanks. > > > _______________________________________________ > 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/20221218/4949d0e3/attachment.htm>
vom513
2022-Dec-18 21:56 UTC
[Nut-upsuser] Compiling on Solaris 8 sparc - configure errors
> On Dec 18, 2022, at 4:34 PM, Jim Klimov <jimklimov+nut at gmail.com> wrote: > > Don't have a SPARC machine anymore, but it is regularly tested on illumos (which is ages newer than Sol8)... wondering if I can get an x86 vm running with it... > > In the meanwhile, add some `-D` options to the launched program so it is more verbose. Is that other NUT (upsd) listening not on localhost?Thanks for the reply and info. I will do this and see if there?s any clues in the debug output. Yes the other upsd is listening on the lan as well. I have an ESXi server talking to it just fine.> Are firewall permissions allowing the connection? >Yes.> Does the built `upsc` client connect?No - same error ?Unknown error?. This is what makes me think there is some common code that?s unable to open sockets on Solaris.> Certainly older NUT did work for me on the platform (both ARCHes). > > For the nut-scanner there's a configure option (to disable). Wondering what's with perl script - probably wants dependencies not present/functional in that distro.Do you know what option this is ? I probably scrolled past it, but I did look for something to disable it.