LCNC 2.9.3 and Debian Bookworm Error : No module named 'OpenGL

More
2 years 1 month ago - 2 years 1 month ago #310470 by dashy81
Thanks Tommy, I have one working m/c did some 2 yrs back similia PC with mesa 7i96S. That was done via the direct installation of 2.8.x version. But somehow later to get it working with do'nt remember which gui, I had to do lot of stuff which I do not even remember now :-)
But basically had to switch to classic ladder from some other hal and build linuxcnc 2.9 on debian 10 as the said gui worked better in 2.9.

So this time I really want to spend more time on building and customizing lcnc and create a distribution with only the needed components.
Do'nt want the machine to look like a linux desktop but a custom professional look. Only gui starts on powerup like professional machine. No additional menu, cmd prompt or any other applications.

Yes you are right, But I am doing a Building for Run In Place build.

I still am unclear how can I generate a prempt rt image like the one you pointed and put it as a standalone install so that I can take that create a bootable usb and install it on any new computer. 
Last edit: 2 years 1 month ago by dashy81.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310472 by tommylight
Ok, still, if you want to run machines with the image you created, you will need the RT-Preempt kernel.
Or if you want to run machines from parallel port use the RTAI kernel.
In any case, after installing said kernel, do boot into it and remove the generic kernel.
The following user(s) said Thank You: dashy81

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #310473 by dashy81
I guess somewhere I read about installing the RT kernel first to be installed and then switching to that kernel. Thats here I think:7.1. Installing on Debian Bookworm (with Preempt-RT kernel)I think To create a image similiar to the one you pointed This process shall be followed.  That shall ensure that I can have an iso image which I can take to another PC and install directly on my actual machine running LCNC.

But at the moment I am following 2nd build type to create a debian package for me to install on the system I am running:
6.4.2 Building Debian Packages

After configuring and starting build, I get below error.

Build cmd: dpkg-buildpackage --pre-clean -j4 -b -uc

Code:
D: dh_python3 fs:400: package linuxcnc-uspace details = {'requires.txt': set(), 'egg-info': set(), 'dist-info': set(), 'nsp.txt': set(), 'shebangs': {/usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3, /usr/bin/python3}, 'public_vers': {Version('3')}, 'private_dirs': {}, 'compile': True, 'ext_vers': {Version('3.11')}, 'ext_no_version': set()} D: dh_python3 depends:117: generating dependencies for package linuxcnc-uspace D: dh_python3 depends:281: D={'python3:any', 'python3 (>= 3.11~)', 'python3 (<< 3.12)'}; R=[]; S=[]; E=[], B=[]; RT=[] make[1]: Leaving directory '/home/rkc/lcnc/linuxcnc-source-dir'    dh_missing -O-D/home/rkc/lcnc/linuxcnc-source-dir/src dh_missing: warning: usr/share/man/man1/millturngui.1 exists in debian/tmp but is not installed to anywhere     The following debhelper tools have reported what they installed (with files per package)      * dh_install: linuxcnc-uspace (259), linuxcnc-uspace-dev (13)      * dh_installdocs: linuxcnc-uspace (2), linuxcnc-uspace-dev (0)      * dh_installman: linuxcnc-uspace (276), linuxcnc-uspace-dev (116)     If the missing files are installed by another tool, please file a bug against it.     When filing the report, if the tool is not part of debhelper itself, please reference the     "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).       (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.gz)     Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built     If the omission is intentional or no other helper can take care of this consider adding the     paths to debian/not-installed. dh_missing: error: missing files, aborting make: *** [debian/rules:43: binary] Error 255

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum