- Thank you received: 0
How to build LinuxCNC on OpenBSD?
- landoneilers
- Topic Author
- New Member
-
Less
More
8 months 2 weeks ago #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 the
command 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
Code:
pidof
Code:
pgrep
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.
Code:
make
4. No idea about realtime on OpenBSD.
BTW:
On OpenBSD,
Code:
/bin/sh
Code:
KSH
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22009
- Thank you received: 3
8 months 2 weeks ago #343036
by tommylight
Replied by tommylight on topic How to build LinuxCNC on OpenBSD?
Do not make me regret this.
Please Log in to join the conversation.
- landoneilers
- Topic Author
- New Member
-
Less
More
- Thank you received: 0
8 months 2 weeks ago #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:
Code:
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-deps
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?
Please Log in to join the conversation.
Time to create page: 0.073 seconds
