[Nut-upsuser] Makefile: SBINDIR=/usr/local/ups/sbin - can't change it....

2024-03-03 Thread Dan Grostick via Nut-upsuser
Building 2.8.1 from source. I have --sbindir=/usr in the 'newconfigure' file, 
but   Makefile contains SBINDIR = /usr/local/ups/sbin and that's where the 
files go.
I run autogen.sh and then bash newconfigure.
I don't know how to get Makefile SBINDIR to be /usr.

Dan


newconfigure
Description: newconfigure
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] NUT 2.8.1 build from source - upssched missing

2024-03-03 Thread Dan Grostick via Nut-upsuser
I removed the upsdrvctl  and .o files from the driver directory, Did another 
make and make install and that solved the problem.


From: Nut-upsuser 
 on 
behalf of Dan Grostick via Nut-upsuser 
Sent: Sunday, March 3, 2024 11:30 AM
To: nut-upsuser Mailing List 
Subject: [Nut-upsuser] NUT 2.8.1 build from source - upssched missing

PI OS - Debian12 - Raspberry PI 5 NUT 2.8.1

I'm building from source just downloaded from GITHUB.

The error when starting NUT:

 nut-monitor:  /usr/sbin/upssched not found

I did a 'find / ' and upssched is not in the filesystem.
I've done a make clean, make uninstall.
then autogen.sh, make, make install


  1.   is there an option to make that completely removes everything? In case 
there is some leftovers...
  2.   what am I missing?

Dan
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


Re: [Nut-upsuser] NUT 2.8.1 build from source - upssched missing

2024-03-03 Thread Jim Klimov via Nut-upsuser
That is odd.

I suppose you ran not quite "autogen.sh, make, make install" but
"autogen.sh, *configure*, make, make install", with the "configure" part
taking a ton of options to tune for your system. There are no particular
options for `upssched`, or put another way, at least it would get built
along with `upsmon`.

Hope this helps,
Jim Klimov


On Sun, Mar 3, 2024 at 5:32 PM Dan Grostick via Nut-upsuser <
nut-upsuser@alioth-lists.debian.net> wrote:

> PI OS - Debian12 - Raspberry PI 5 NUT 2.8.1
>
> I'm building from source just downloaded from GITHUB.
>
> The error when starting NUT:
>
> * nut-monitor:  /usr/sbin/upssched not found*
>
> I did a 'find / ' and upssched is not in the filesystem.
> I've done a make clean, make uninstall.
> then autogen.sh, make, make install
>
>
>1.  is there an option to make that completely removes everything? In
>case there is some leftovers...
>2.  what am I missing?
>
>
> Dan
> ___
> Nut-upsuser mailing list
> Nut-upsuser@alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser


[Nut-upsuser] NUT 2.8.1 build from source - upssched missing

2024-03-03 Thread Dan Grostick via Nut-upsuser
PI OS - Debian12 - Raspberry PI 5 NUT 2.8.1

I'm building from source just downloaded from GITHUB.

The error when starting NUT:

 nut-monitor:  /usr/sbin/upssched not found

I did a 'find / ' and upssched is not in the filesystem.
I've done a make clean, make uninstall.
then autogen.sh, make, make install


  1.   is there an option to make that completely removes everything? In case 
there is some leftovers...
  2.   what am I missing?

Dan
___
Nut-upsuser mailing list
Nut-upsuser@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser