How to proper compile, built, and install linuxCNC

More
4 years 9 months ago #231672 by Matt Hat
I would like to compile and built linuxCNC on a secondary Linux Debian PC and then transport it to the real-time installation.

I did my best to follow
linuxcnc.org/docs/html/code/building-linuxcnc.html

I am heading for a setup as described in
wiki.linuxcnc.org/cgi-bin/wiki.pl?Rot4thaxiskins

I am uncertain how to compile it properly. I have simply added
rot4thaxiskins.c to linuxcnc-dev/scr/emc/kinematics
uncertain though, if that's a legitimate approach.

then I am running: dpkg-buildpackage -b -uc
I do not see obvious errors, assuming things are going right. Output at end is
Code:
dpkg-genchanges --build=binary >../linuxcnc_2.9.0~pre0_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-buildpackage: warning: not signing UNRELEASED build; use --force-sign to override in the lower folder, cd .. I get linuxcnc_2.9.0~pre0_amd64.buildinfo linuxcnc_2.9.0~pre0_amd64.changes linuxcnc-doc-en_2.9.0~pre0_all.deb linuxcnc-doc-es_2.9.0~pre0_all.deb linuxcnc-doc-fr_2.9.0~pre0_all.deb linuxcnc-doc-zh-cn_2.9.0~pre0_all.deb linuxcnc-uspace_2.9.0~pre0_amd64.deb linuxcnc-uspace-dbgsym_2.9.0~pre0_amd64.ddeb linuxcnc-uspace-dev_2.9.0~pre0_amd64.deb

How to proceed from here? How to install it properly on a other machine with RREEMPT-RT kernel and linuxCNC 2.7.14 whezzy already running fine?

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

More
4 years 9 months ago #231687 by Matt Hat
The .deb archives contain the folders
control.tar.xz
data.tar.xz
Any attempt with dpkg to install gives some "contents not understood data member control.tar.xz

Any suggestions to fix this?

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

More
4 years 9 months ago #231690 by rodw
try gdebi
you get this far it should work

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

More
4 years 9 months ago - 4 years 9 months ago #231698 by Matt Hat
Yes I tried gdebi on the .deb files with same result. Same response for other packages. dpkg 1.16.18 seems not be able to decompress .xz build in Ubunto 20.04.

The built in /src actually runs, but I do not yet get so far on my real-time setup.
I am working to install all packages to run directly in /src on a x386 wheezy 2.4.14 but some packages cannot be found on the outdated from the freexian repo.

I am missing
dh-python, python3.2 not sufficient, some OpenGL support missing
make on linuxcnc will complain and ask for exclusion of OpenGL in built.

Also missing:
libepoxy-dev
python3-xlib
tcl8.6-dev
tk8.6-dev
asciidoc-dblatex

I do not like the idea to mess with the python installation; do not want to mess-up the installation.
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 #231699 by rodw
Life will be a lot easier if you upgrade to 64  bit hardware and a later operating system.
Wheezy is in the land of the dinosaurs. Dead and extinct.

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

More
4 years 9 months ago #231706 by Matt Hat
Yes, I like dinosaurs too. I will consider to move to raspi4 in future. For now, I need support of the parallel port with no mesa cards etc.

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

Time to create page: 0.130 seconds
Powered by Kunena Forum