How to proper compile, built, and install linuxCNC

More
4 years 9 months ago - 4 years 9 months ago #231709 by Matt Hat
How to include files like rot4thaxiskins.c into a build?
I guess my build is still missing references to rot4thaxiskins.c in e.g. some header files?

Copy to linuxcnc-dev/scr/emc/kinematics not sufficient.What else to do?

I found a workaround for the compilation. I made a .tar copy and extracted all file to my RT machine. Then I use ./rip-environment linux to run /src/scripts/linuxcnc with reference to myMachini.ini including a loadrt rot4thaxiskins.c in the myMachine.hal --> cannt find module rot4axiskin in /usr/realtime..../modules/linuxcnc
There are file with extension .ko
There obviously is no rot4thaxiskins.ko landed there - since all files are in the development folder /src/ and not in home/../usr/

 
Last edit: 4 years 9 months ago by Matt Hat.

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

More
4 years 9 months ago #231715 by robertspark
you want to run lcnc master on wheezy?

is that even possible given the major change to python 3 throughout lcnc 2.9?

plus gtk 3 change etc

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

  • ALittleOffTheRails
  • New Member
  • New Member
More
4 years 9 months ago #231722 by ALittleOffTheRails
Replied by ALittleOffTheRails on topic How to proper compile, built, and install linuxCNC
My guess is that you are building on a later Debian system ?

I would suggest if you want to build Debian Wheezy packages you will have to build on a Debian Wheezy machine (unless of course you know how to sort things out). Not only to resolve the the issue with dpkg, but also with library versions.

Whilst not Linuxcnc related this does discuss the issue.
github.com/RobertCNelson/bb-kernel/issues/55

Actually a google search of contents not understood data member control.tar.xz comes up with a number of results.

Now the python3 issue is going to be a whole different kettle of fish.

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

More
4 years 9 months ago #231770 by Matt Hat
I am testing both option:
1) Building on Ubuntu 20.4 debian packages, source from /linuxcnc-dev/debian using
Code:
./configure uspace
. That works. The debian packages install with gdebi on the same OS Ubuntu 20.4. This however are not real-time kernels, only simulated axis, as I understood.
2) I copy linuxcnc-dev files to a debian wheezy, trying to build there 'live'. Due to the python issues, building does not yet run. ./configure will report the missing packages, or version conflicts. I am not experienced enough to fix this. I might consider a  2nd python installation, but last time I tried this, I messed things up. I am having python 2.7.3 on the wheezy installation. I would need to install something like python 3.6 to build linuxcnc?

I am thankful for solutions in either direction. 1) Build wheezy packages on a later OS, or 2), make it compile on the  wheezy by fixing the remaining dependencies.

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

More
4 years 9 months ago - 4 years 9 months ago #231772 by Matt Hat
I dont know how critical the gtk issue is. The ./configure suggests to use option
--disable-gtk to skip the parts of linuxCNC that depend on GTK. How much does it depend on it? It is checking for GTK3.22.4 or above. Can that be installed on a debian wheezy?

If anyone knows, on which system this have been compiled? wiki.linuxcnc.org/cgi-bin/wiki.pl?Rot4thaxiskins
Last edit: 4 years 9 months ago by Matt Hat.

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

More
4 years 9 months ago #231799 by rodw
I'm pretty sure that as suggested earlier it won't be possible to compile master on Wheezy.
I was even forced to upgrade Mint 17.3 to keep using master branch and there was no Mint version that satisfied the python 3 version dependency.
So I moved to Debian 11 which did not include python 2.7 at all 
There will be too many missing dependencies that cannot be satisfied.
The following user(s) said Thank You: Matt Hat

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

Time to create page: 0.249 seconds
Powered by Kunena Forum