You are not logged in.
Pages: 1
Hi, I'm used to using LibreNMS and also UPS-apcups: https://docs.librenms.org/Extensions/Ap … ups-apcups .
Unfortunately I miss the Perl module "JSON". I googled and it advised me to do an installation of "cpan JSON.pm" ... this one does start, but stops:
Can't locate Canary/Stability.pm in @INC (you may need to install the Canary::Stability module) (@INC contains: /usr/lib/perl5/5.36/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.36/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.36/core_perl /usr/share/perl5/core_perl .) at Makefile.PL line 4.
BEGIN failed--compilation aborted at Makefile.PL line 4.
Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=site]
MLEHMANN/JSON-XS-4.03.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OKI'm attaching the full log: https://0x0.st/s/m6XoSTG9qQvZOqdpxA5AhA/Hqcp.log
I think I'm missing another module. Isn't there a better/more elegant solution?
Thank you
Last edited by vecino (2023-05-23 15:24:27)
Offline
You should only listen to random google results after checking the repositories: https://archlinux.org/packages/extra/any/perl-json/ or the AUR: https://wiki.archlinux.org/title/Arch_User_Repository
In case the software you are actually trying to use doesn't start with those installed you should post the errors from there.
Last edited by V1del (2023-05-23 06:38:25)
Offline
I have no experience with this at all. I did try searching first via pacman -Ss json but it returned many results. I didn't realize that there is a perl-json directly in the repository.
Thanks for the directions - I'll give it a try.
Offline
@V1del
Thank you very much - for the umpteenth time you have given me good advice. Great community here. I'm glad for that.
Offline
Pages: 1