[RFC] Build ELKS in OpenBSD #1894
Replies: 2 comments 4 replies
-
Thanks for the figuring out how to get ELKS built on OpenBSD. We can leave this discussion open so that others can use it.
Not sure on that, perhaps OpenBSD's
Is ncurses not available as a package-installed library on OpenBSD? |
Beta Was this translation helpful? Give feedback.
-
Silly question, but it seems you are quite the BSD person. Do you know if this can be built on NetBSD as well, or would instructions be modified? My understanding (which is usually 15% correct) is that NetBSD is "lighter weight" for low-end systems. |
Beta Was this translation helpful? Give feedback.
-
Since I switched to OpenBSD (7.5) on my main PC, I thought to try to build ELKS there...and somehow got it going! My image folder is populated 🥇
There were several quirks obviously, but it might be of interest to get OpenBSD and maybe also other BSDs supported either by a README/WIKI or even better by having this supported in the build itself?
Here are the manual things I had to do:
flex
,bison
,bash
,gmake
#/bin/bash
is sometimes hardcoded in ELKS, to avoid any hassle I created a symlink from /usr/local/bin/bash where bash lives in the OpenBSD worldalias make='gmake'
xxd
from github, built it (just one source file) and add the executable somewhere in my $PATH
until ... done
" in tools/Makefile since it was looping endlessly wgetting stuff. Why? Not found out yet (see below)make
make config
, sincemake menuconfig
needs ncursesAfter
tools/build.sh
I had to manually do this (reason? unknown):Diff:
Beta Was this translation helpful? Give feedback.
All reactions