How to build LinuxCNC on OpenBSD?
- landoneilers
-
Topic Author
- Visitor
-
16 Feb 2026 00:27 #343032
by landoneilers
How to build LinuxCNC on OpenBSD? was created by landoneilers
I have grown to like OpenBSD with its well thought through update commands and all.
Additionally, the absurdly high security makes using an outdated system less of an issue.
OpenBSD also comes with 3 (admittedly highly primitive) GUI options, which is a plus.
I managed to get the ./configure script to run with the attached script.
Due to a lack of thecommand on OpenBSD, I got AI to make a script to emulate it using (see attached file for details).
However, there are currently 4 issues:
1. Lack of tclx package (ostensibly a runtime dependency of LinuxCNC) on OpenBSD for some reason.
2. Lack of a libmodbus package on OpenBSD for some reason (functionality likely is reduced).
3.refuses to work.
4. No idea about realtime on OpenBSD.
BTW:
On OpenBSD,=
Additionally, the absurdly high security makes using an outdated system less of an issue.
OpenBSD also comes with 3 (admittedly highly primitive) GUI options, which is a plus.
I managed to get the ./configure script to run with the attached script.
Due to a lack of the
pidofpgrepHowever, there are currently 4 issues:
1. Lack of tclx package (ostensibly a runtime dependency of LinuxCNC) on OpenBSD for some reason.
2. Lack of a libmodbus package on OpenBSD for some reason (functionality likely is reduced).
3.
make4. No idea about realtime on OpenBSD.
BTW:
On OpenBSD,
/bin/shKSHPlease Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21379
- Thank you received: 7290
16 Feb 2026 00:52 #343036
by tommylight
Replied by tommylight on topic How to build LinuxCNC on OpenBSD?
Do not make me regret this.
Please Log in or Create an account to join the conversation.
- landoneilers
-
Topic Author
- Visitor
-
16 Feb 2026 14:53 - 16 Feb 2026 15:45 #343050
by landoneilers
Replied by landoneilers on topic How to build LinuxCNC on OpenBSD?
First run the installdeps script.
Then run:
This all works fine.
However, when I try to run gmake or remake (which is apparently just gmake with better debug output), it fails with an error partway.
Does anyone know why?
Does anyone know how to fix it and get it to compile?
Then run:
export AUTOMAKE_VERSION=1.18
export AUTOCONF_VERSION=2.72
./autogen.sh
export CPPFLAGS="-I/usr/X11R6/include"
export LDFLAGS="-L/usr/X11R6/lib"
./configure --without-libmodbus --with-tclConfig=/usr/local/lib/tcl/tcl8.6/tclConfig.sh --with-tkConfig=/usr/local/lib/tcl/tk8.6/tkConfig.sh --disable-check-runtime-depsThis all works fine.
However, when I try to run gmake or remake (which is apparently just gmake with better debug output), it fails with an error partway.
Does anyone know why?
Does anyone know how to fix it and get it to compile?
Last edit: 16 Feb 2026 15:45 by landoneilers. Reason: The editor broke all my code formatting the first time.
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds