I have identified a couple of packages which are prerequisites for compiling
synchronet on linux that you might want to add to the list:
sudo
libcap2-bin
Good morning,
I have identified a couple of packages which are prerequisites for compiling synchronet on linux that you might want to add to the list:
sudo
libcap2-bin
recently added a new VM install for testing purposes and, upon attempting
to compile sbbs I received errors regarding these two packages being missing. I sure would have assumed that sudo would be included in even a very base install of any distribution but I guess not! :)
sudoThanks, but neither of those should be required for compiling synchronet on linux.
libcap2-bin
On 05-13-20 13:10, echicken wrote to Dumas Walker <=-
libcap2-bin
That appears to already be in the 'Recommended' section of the prerequisites page. Presumably you need it when building sbbs with the 'setcap' flag, which is optional.
Re: New Prerequisites
By: Digital Man to Dumas Walker on Wed May 13 2020 10:16 am
Hey DM,
sudoThanks, but neither of those should be required for compiling synchronet on linux.
libcap2-bin
I did a new build yesterday that failed because I didnt have sudo installed.
Linking gcc.linux.x64.exe.release/umonitor
make[2]: Leaving directory '/opt/sbbs/src/sbbs3/umonitor'
sudo setcap 'cap_net_bind_service=+ep' gcc.linux.x64.exe.release/sbbs make[1]: Leaving directory '/opt/sbbs/src/sbbs3'
Is there something I need to trigger to stop the sudo setcap?
I build (with a clean source) using:
make RELEASE=1 USE_DOSEMU=1 NO_X=1 JSINCLUDE=/usr/include/js JSLIB=mozjs185 SBBSDIR=/opt/sbbs install
sudo
I guess that's ... technically a package. Are there distros out there that don
just have this present on a normal install?
libcap2-bin
That appears to already be in the 'Recommended' section of the prerequisites p
e. Presumably you need it when building sbbs with the 'setcap' flag, which is tional.
sudoThanks, but neither of those should be required for compiling synchronet on li
libcap2-bin
x.
sudoThanks, but neither of those should be required for compiling synchronet on li
libcap2-bin
x.
Well, they are. :)
Ever since I pulled my first copy of 3.18 from cvs, all compiles have asked for the sudo password about 2/3rds through the process. Without sudo it will stop with an error before it can ask. Without libcap2-bin, it will stop right after you enter the password.
That happens with the following make command line:
make install SYMLINK=1 USE_DOSEMU=1
I pulled the GNUmakefile for the install in question on May 13th (yesterday), but that is not the first time it has happened.
I don't otherwise use setcap with sbbs. There could be something in the config files I pulled down with it (fresh install, all stock) that might currently be pointed to use setcap, but I have not been intentionally specifying it anywhere for my compiles.
The two linux OSes in question are Ubuntu Bionic Beaver and Devuan Ascii.
I understand. But you don't *have* to use the install/GNUmakefile to get/build >bbs. In fact, there are instructions for doing just that here: >http://wiki.synchro.net/install:nix#non-cvs
I understand. But you don't *have* to use the install/GNUmakefile to get/build >bbs. In fact, there are instructions for doing just that here: >http://wiki.synchro.net/install:nix#non-cvs
But isn't the cvs method the preferred method of installation? :)
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 240 |
Nodes: | 10 (0 / 10) |
Uptime: | 23:01:09 |
Calls: | 1,461 |
Calls today: | 1 |
Files: | 3,366 |
Messages: | 359,685 |