- Posts: 148
- Thank you received: 0
Building RTAI 5.2 Packages, some questions
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
7 years 5 days ago #148822
by macsddau@linuxcnc
Building RTAI 5.2 Packages, some questions was created 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 :
Can you explain what to do ?
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 :
Code:
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 to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
7 years 5 days ago #148832
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Get this error :
solved with
Code:
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
Code:
sudo ./autogen.sh
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
7 years 5 days ago #148836
by macsddau@linuxcnc
Not a error. RTAI directory was were under root user. A chmod restore the normal situation.
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
macsddau@linuxcnc wrote: Get this error :
Code: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 withCode:sudo ./autogen.sh
Not a error. RTAI directory was were under root user. A chmod restore the normal situation.
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
7 years 5 days ago #148837
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
Step by step ...
return this :
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 ?
Code:
debian/update-dch-from-git
Code:
+ '[' '!' -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
Is it the origin of the error ?
Did I have to copy it from git and how to ?
Please Log in to join the conversation.
7 years 2 days ago #149058
by andypugh
Replied by andypugh on topic Building RTAI 5.2 Packages, some questions
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
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
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
4 years 1 month ago #252381
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
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 !
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 to join the conversation.
4 years 1 month ago #252386
by andypugh
Replied by andypugh on topic Building RTAI 5.2 Packages, some questions
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)
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)
Please Log in to join the conversation.
- macsddau@linuxcnc
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
4 years 1 month ago #252471
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Building RTAI 5.2 Packages, some questions
after yesterday announcement, downloaded and installed 2.8.4 rtai. Works fine!
Please Log in to join the conversation.
Time to create page: 0.414 seconds
