Replies: 3 comments 1 reply
-
The make command needs to be executed in the top level directory of the git tree (where the configure.ac file is). I think the paths you have given in the commands are inconsistent, so I suggest the following:
|
Beta Was this translation helpful? Give feedback.
-
Thanks! I did some testing a bit after posting this but did not have time to come back and edit. I had added a cd / into my directory as it made the script a whole lot easier/better to work. As for the make command, did not want to bother you on the other thread but when I built it yesterday, it would not work. When I ran the make command with sudo, everything went further and I was able to run keepalived. Unsure if there is maybe some issues on my side but, unless this can cause a big issue, i guess I can keep it that way? |
Beta Was this translation helpful? Give feedback.
-
If make won't run as an ordinary user, then something is wrong. It might be that you have a file in the build tree that is owned by root, or by a user other than the one who is trying to build keepalived, and therefore don't have permission to delete or update the file. It shouldn't cause a problem build keepalived as root, but on the other hand something is wrong if you have to and it would be better to sort that out. Perhaps it might be easiest to start again. So logged is as your normal, non-root, user:
If that works you can remove you original /directory. If it doesn't work as a non-root user please post the error message(s) you are getting. |
Beta Was this translation helpful? Give feedback.
-
Hi!
To stay up to date with fixes etc, I moved, as per recommendations from acassen to pulling/building the git version.
Works much better than the snap variant!
My question now is, since this is a homelab system anyway, i can take the risk, what would be the best/easiest way to get my pi to check for updates on git and pull them? As I would prefer to stay updated versus checking manually from time to time.
Cronjob weekly with this: ?
git -C /directory/keepalived pull
sudo make -j6
sudo cp /directory/keepalived/keepalived /usr/sbin
sudo cp /directory/keepalived/doc/*-MIB.txt /usr/share/snmp.mibs
sudo systemctl restart keepalived
Thanks for any advice !
Beta Was this translation helpful? Give feedback.
All reactions