Compile Linux Kernel ,RTAI and LinuxCNC from Source Code

More
5 years 5 months ago - 4 years 9 months ago #209430 by Arthur_L
I like compile and install linuxcnc from the source code.I like hands-on, and I can enjoy the experience of compiling and running from the source code. Through this process, I can learn a lot. I don’t like the kind of deb packages that have been generated.
First, I want to compile and install the linux kernel and rtai from the source code. The linux kernel version I compiled is 4.14.111 and the rtai version is 5.2, but I get an error when compiling linuxcncs. The RTAI official website release version matches the Linux kernel version. My question is, does rtai need to be modified, in other words, linuxcnc needs a dedicated RTAI?
I don't have to use this version of the kernel and RTAI. I mean, I want to use the latest kernel and RTAI that can support linuxcnc to compile and run.
Last edit: 4 years 9 months ago by Arthur_L.

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

More
5 years 5 months ago #209434 by Bari
The only help available are the readme files posted here:
github.com/NTULINUX/RTAI

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

More
5 years 5 months ago #209435 by Arthur_L
Thanks for Reply.
1、I will download linux kernel (4.19.152) right now
2、I will download rtai right now from github.com/NTULINUX/RTAI
3、Fellow README.INSTALL
4 、I will replied for a minute

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

  • BeagleBrainz
  • Visitor
  • Visitor
5 years 5 months ago #209438 by BeagleBrainz
What's the issue with the deb packages, what is wrong with them, where & how do they need improving ?
Building the from source is a simple process. It doesn't give you an insight into how a package works.
They are used by hundreds of users with no issues.
I make deb packages from source for ease of installation, rather than having A RIP installation, plus the machine I build on is way way faster at compiling. If I want to know how Linuxcnc works, I use it what is was intended for, controlling a cnc machine, read the docs and have a look at the source.
Running a machine & reading docs will give you the best insight.
I could teach my mother, who is in her 60's how to compile from source, the only thing she will learn from that is how to build from source, not any insight into how it works.
If you really don't like deb packages, which seems strange, you can always go this way, www.linuxfromscratch.org/ , which I did once build a working Linuxcnc setup from, but when all is said & done, whilst it is fun, there really is no advantage.
After coming from Slackware & Redhat background, I really appreciate how easy it is to install software via deb packages.
If you really really want to cause yourself mental harm and waste hours chasing libraries and building from source, with no clear list of libraries and dependencies, install Slackware 14.2 and then install gitlab.

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

More
5 years 5 months ago #209440 by Arthur_L
I sorry,I may have expressed an error, I am not saying that deb is not good。I don’t know much about deb packages, I apologize for what I said。I just want to configure my own linux kernel in the future. It seems that the deb package cannot be compiled and configured.So,iI don't dislike it,but it may not meet my needs.At the same time, thank you very much for the contribution. I will pay attention to my way of speaking
The following user(s) said Thank You: BeagleBrainz

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

More
5 years 5 months ago #209442 by Arthur_L
At the same time, I just want to compile the three parts of kernel, rtai, and linuxcnc, just like my title says.I apologize again for the misunderstanding caused by my expression.
The following user(s) said Thank You: BeagleBrainz

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

Time to create page: 0.173 seconds
Powered by Kunena Forum