I am trying to build LCNC version 2.9.3 from source on Debian Bookworm.
Facing below issue seems related to OPENGL. Checked a few threads but the issue as per them shall have been fixed by now.
Just wondering if I am missing something obvious.
- Configured for ./configure --with-realtime=uspace
- All build deps are satisfied.
- No issues during build .
Here's the logs on running LCNC from cmdline.
rkc@debian:~/lcnc/linuxcnc-source-dir/bin$ linuxcnc
LINUXCNC - 2.9.3
Machine configuration directory is '/home/rkc/lcnc/linuxcnc-source-dir/configs/sim/axis/ngcgui'
Machine configuration file is 'ngcgui.ini'
Starting LinuxCNC...
libnml/buffer/shmem.cc 320: Shared memory buffers toolCmd and toolCmd may conflict. (key=1004(0x3EC))
libnml/buffer/shmem.cc 320: Shared memory buffers toolSts and toolSts may conflict. (key=1005(0x3ED))
libnml/buffer/shmem.cc 320: Shared memory buffers emcError and emcError may conflict. (key=1003(0x3EB))
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX non-realtime
Found file(LIB): /home/rkc/lcnc/linuxcnc-source-dir/lib/hallib/basic_sim.tcl
setup_kins: cmd=loadrt trivkins
Traceback (most recent call last):
File "/home/rkc/lcnc/linuxcnc-source-dir/bin/axis", line 24, in <module>
from OpenGL.GL import *
ModuleNotFoundError: No module named 'OpenGL'
Shutting down and cleaning up LinuxCNC...
link (updating variable file): No such file or directory
task: 140 cycles, min=0.000008, max=0.001132, avg=0.000969, 0 latency excursions (> 10x expected cycle time of 0.001000s)
Note: Using POSIX non-realtime
LinuxCNC terminated with an error. You can find more information in the log:
/home/rkc/linuxcnc_debug.txt
and
/home/rkc/linuxcnc_print.txt