[Nut-upsdev] 2.8.3 build fail

Greg Troxel gdt at lexort.com
Sun May 18 15:04:26 BST 2025


gene heskett via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:

> Jim, unpacked, tried the INSTALL procedure, first as me, failed due to
> perms error, then did "make clean" then prefaced that command line
> with sudo. Again died, perms error:
>
>  make[3]: Nothing to be done for 'install-exec-am'.
>  /usr/bin/mkdir -p '/usr/local/ups/include'
> /usr/bin/mkdir: cannot create directory ‘/usr/local/ups’: Permission denied
> make[3]: *** [Makefile:615: install-includeHEADERS] Error 1
> make[3]: Leaving directory '/home/gene/src/nut-2.8.3/include'
> make[2]: *** [Makefile:739: install-am] Error 2
> make[2]: Leaving directory '/home/gene/src/nut-2.8.3/include'
> make[1]: *** [Makefile:732: install] Error 2
> make[1]: Leaving directory '/home/gene/src/nut-2.8.3/include'
> make: *** [Makefile:1030: install-recursive] Error 1
>
> Do I need to sudo everything on debian bookworm? Did that got
> instructs to sudo make install-as-root, failed:

I am assuming that you configured --prefix=/usr/local/ups

So

  sudo make install

led to permission denied?  That seems odd.

What does

  sudo mkdir /usr/local/ups

say?  Is this is normal local fs, vs nfs?




More information about the Nut-upsdev mailing list