At 02:28 AM 10/1/2024, Jim Klimov wrote:
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) 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!)

The above second document was the most helpful. There were quite a few packages that needed to be installed. Thank you!

script output ended with:
==================================================
nut-2.8.2.1082.1 archives ready for distribution:
nut-2.8.2.1082.1.tar.gz
==================================================
make[1]: Leaving directory '/home/blah/blah/nut'

It looks like all of the basics (and more) are there now.

Now to add in the changes...

Bill


  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 <[email protected]> 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
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev

Virus-free.www.avg.com
_______________________________________________
Nut-upsdev mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to