On 2022-01-11, Pascal <obsd...@tutanota.com> wrote: > > I want to install yfklog software > ( https://fkurz.net/ham/yfklog.html ) on OpenBSD. I have no experience. The > author, Fabian Kurz, says in the installation manual: > > "Install the required packages: > > Perl > > DBI > > SQLite > > Curses > > Make > > libwww-perl > > On Ubuntu or Debian Linux, you can satisfy all requirements simply by running: > sudo apt-get install perl libdbd-sqlite3-perl libclass-dbi-sqlite-perl make > libsqlite3-0 libcurses-perl libwww-perl libnet-telnet-perl " > > > > Do these packets have equivalents on OpenBSD? How do I install them?
That part is easy enough: pkg_add p5-DBD-SQLite p5-Class-DBI-SQLite p5-libwww p5-Curses p5-Net-Telnet The problem is that yfklog requires Perl to be built differently than how it is done in OpenBSD base (with threads) and that isn't something that can be changed easily, AFAIK compiled modules from packages will not be compatible with a version of Perl built that way so you would need to compile a second copy of Perl separately, install to a different location, and fetch the various modules separately (packages will mostly not work), also some of them may need patching to work on OpenBSD. This is possible if you are stubborn and have time to spend on it, but likely to be a real pain, and will need to be re-done after many OS updates. Honestly for this software I would recommend running it on a Linux box (either a VM or on a small machine, any old raspberry pi is likely to be fast enough...)