@Alan
Few days ago, I have stumbled by calling “halcompile”, while trying making changes in userkin.comp
The $ sudo apt-get install linux-cnc will not work with our new kernel: Linux linuxcnc29 5.15.84-rt54-v8+ #1 SMP PREEMPT_RT Fri Dec 23 20:39:48 CET 2022 aarch64 GNU/Linux,
thus, we need to bring latest source from GitHub
With lovely receipt of installation brought by Alan, and already dependencies in our system in place the recipe for building linuxcnc-dev is below.
####################
Here are the steps:
Ideally like before git the branch in your /home/pi directory
$ git clone
github.com/LinuxCNC/linuxcnc.git
linuxcnc-dev
#after you git go to src
$ cd linuxcnc-dev/src
$ ./configure --help
$ ./autogen.sh
# To check what options are available invoke configure with –help
$ ./configure –help
#I have decided to use only additional three parameters
$ ./configure --with-realtime=uspace --with-boost=yes --with-libusb-1.0
$ make -j4
$ sudo make setuid
$ source ../scripts/rip-environment
$ runtests
$ linuxcnc
Above last cmd will invoke build “in place” a new version of linuxcnc.
LINUXCNC - 2.10.0~pre0
Note:
Linuxcnc-dev 2.10.0~pre0 is confined in own directory and is not interfering with previous deb install
Worth to mention to novice members that selection between versions is easy.
A fresh terminal window without setting rip-environment
$ linuxcnc
Brings LINUXCNC - 2.9.0~pre1
However, after dwelling into subfolder scripts of linuxcnc-dev and setting source like below
$ source rip-environment
Linuxcnc-dev 2.10.0~pre0 will be chosen instead.
I must admit when I started working with linuxcnc it was confusing at the beginning.
Alan perhaps you can complement your instructions with my notes, so everything will be more compact.
Thanks
RMS