Building RTAI 5.2 Packages, some questions

More
26 Oct 2019 09:31 #148822 by macsddau@linuxcnc
Hi,

In one of my post I'm complain with latency. DomCa tell me that he's got best result with RTai.
Now, I'm trying to make a partition for LinuxCNC with RTai 5.2.
For this purpose I'm following this .

I start with the current LinuxCNC live install because I don't know from where to go.
For this time every things looks like good.

I'm about to "Make RTAI application packages". I don't what to do with these instructions :
Now set up debian. The NTULINUX repo now contains the magic sauce from: https://github.com/SebKuzminsky/rtai/tree/old-3.9-debs/debian

Consider changing the maintainer name in configure.in Create a git tag to have a release number: git tag -a 5.2.2-linuxcnc -m "experimental RTAI debs for LinuxCNC"

Can you explain what to do ?

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

More
26 Oct 2019 14:57 - 26 Oct 2019 15:00 #148832 by macsddau@linuxcnc
Get this error :
cnc@R883CNC:~/RTAI$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Error running autoreconf.

solved with
sudo ./autogen.sh
Last edit: 26 Oct 2019 15:00 by macsddau@linuxcnc.

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

More
26 Oct 2019 15:38 #148836 by macsddau@linuxcnc

Get this error :
cnc@R883CNC:~/RTAI$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
autom4te: cannot create autom4te.cache: No such file or directory
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Error running autoreconf.

solved with
sudo ./autogen.sh


Not a error. RTAI directory was were under root user. A chmod restore the normal situation.

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

More
26 Oct 2019 15:45 #148837 by macsddau@linuxcnc
Step by step ...

debian/update-dch-from-git
return this :
+ '[' '!' -d debian -o '!' -d base -o '!' -d testsuite ']'
+ echo 'this script must be run from the root of the source tree (the directory with debian and src in it)'
this script must be run from the root of the source tree (the directory with debian and src in it)
+ exit 1
I take a look on github.com/SebKuzminsky/rtai/tree/old-3.9-debs/debian . This git contains a directory named "base" that cannot be found in my RTAI directory.
Is it the origin of the error ?
Did I have to copy it from git and how to ?

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

More
29 Oct 2019 15:49 #149058 by andypugh
Are you aware of my precompiled RTAI repository?
github.com/andypugh/RTAI/releases
You need to expand "assets" to see the files.

That should get you straight to a working RTAI + LinuxCNC 2.8
The following user(s) said Thank You: macsddau@linuxcnc

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

More
20 Sep 2022 06:46 #252381 by macsddau@linuxcnc
Hi
A long time ago (2019), due to my lack of Linux knowlege, I wath thought it was necessary to compile RTAI for using it.
Reading again and again the LCNC documentation I found the simple way to get RTAI. All was writing in the manual.
linuxcnc.org/docs/stable/html/getting-st...#cha:Installing-RTAI
Now LinuxCNC works with RTAI !

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

More
20 Sep 2022 08:45 #252386 by andypugh
It is also possible to run the normal (uspace) version of LinuxCNC on an RTAI kernel.

If you install linuxcnc-uspace (which will be an officlal Debian package in the next Debian release) then also install the package linuxcnc-uspace-rtai (deb package here: www.linuxcnc.org/dists/buster/2.8-rtpreempt/binary-amd64/ ) then LinuxCNC will run using LXRT realtime in user space on the RTAI kernel.

This combination seems to give good latency in my testing, but does not support the Mesa ethernet cards (I have not investigated if this is a real issue or simply the driver running a too-naive check)
The following user(s) said Thank You: macsddau@linuxcnc

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

More
21 Sep 2022 05:25 #252471 by macsddau@linuxcnc
after yesterday announcement, downloaded and installed 2.8.4 rtai. Works fine!

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

Time to create page: 0.102 seconds
Powered by Kunena Forum