[Nut-upsdev] Getting distcheck-light error on SSL

Jim Klimov jimklimov+nut at gmail.com
Tue Oct 1 08:28:24 BST 2024


Hello,

  First of all, great to hear you plan to "do some driver work", that's
always welcome :)

  As for "neither ... found", you are probably missing development library
packages with headers and pkg-config info, e.g. `libssl-dev libnss3-dev`
(Debian-ish) or `openssl-devel nss-devel` (RedHat-ish).

  As
https://github.com/networkupstools/nut/wiki/Building-NUT-for-in%E2%80%90place-upgrades-or-non%E2%80%90disruptive-tests
page (could also help in your quest, if your starting point were packaged
NUT and so user accounts, some configs and permissions, etc. are already in
place) says,

> The
https://github.com/networkupstools/nut/blob/master/docs/config-prereqs.txt
document (also as a rendered page on NUT website
<https://networkupstools.org/docs/user-manual.chunked/_build_prerequisites_to_make_nut_from_scratch_on_various_operating_systems.html>)
details tools and dependencies that were added on NUT CI build
environments, which now cover many operating systems. This should provide a
decent starting point for the build on yours (PRs to update the document
are welcome!)

  That said, `make distcheck-light` aims to pass on systems without
everything plus a kitchen sink installed (primarily without documentation
tools though - they have a huge footprint, carrying in X11 and TeX to
render PDF), so maybe its definition in `/Makefile.am` misses a
`--with-ssl=auto` bit. Gotta revise that (or can be monkey-patched locally
in your system at least).

Hope this helps,
Jim Klimov



On Tue, Oct 1, 2024 at 9:05 AM William R. Elliot <bill at wreassoc.com> wrote:

> Hello all,
>
> I am setting up a linux VM to do some driver work in NUT. After
> running autogen.sh and configure successfully (I think) but before
> making any changes I wanted to make sure I could run 'make
> distcheck-light' and get a successful result.
>
> Unfortunately, the make stops with an error because "Neither Mozilla
> NSS nor OpenSSL was found...". What is needed to get past this error?
> Is there a way to disable the SSL check when running make? Am I
> missing a package?
>
> Thank you,
>
> Bill
>
>
> --
> This email has been checked for viruses by AVG antivirus software.
> www.avg.com
>
> _______________________________________________
> Nut-upsdev mailing list
> Nut-upsdev at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20241001/11207202/attachment.htm>


More information about the Nut-upsdev mailing list