Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
8 years 8 months ago #106088 by shortcircuit48
I changed the first line of the Kernel build wget ftp://ftp.kernel.org/pub/linux/kernel/v4.x/linux-4.8.11.tar.xz "

to "wget www.kernel.org/pub/linux/kernel/v4.x/linux-4.8.11.tar.xz "

All appeared to go ok but I am static at "make config". A config file appeared I have saved but not sure where to go now???? I think it may be patience

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

More
8 years 8 months ago #106093 by shortcircuit48
Terminal says "configuration written to .config"

I tried to close the terminal but warning appeared of process in progress.

Hope my bumbling along will help others

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

More
8 years 8 months ago - 8 years 8 months ago #106094 by cncnoob1979
Hey!

Look at this video it goes step by step to building the Linux kernel.

Go step for step in the guide. Have you tried reading Post 1? I give a lot of explanations in that one.

Basically you have to configure the kernel then tell it to build. In post 2 I'm showing you how to make a Debian package so you can install it easy.

You may have to do a bit of research to get some of the basics of Linux. The link I posted was imo a good video.



You have to;
download kernel source
Download the real time patch (same version as kernel) 4.8.11-xx ..
Patch the kernel with the patch
Configure the kernel
Build the kernel
Install the kernel deb file

Reboot choose rt kernel.

Download linuxcnc
Configure linuxcnc
Download / install anything it Requires
Build linuxcnc
Install linuxcnc deb file.
Last edit: 8 years 8 months ago by cncnoob1979.

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

More
8 years 8 months ago - 8 years 8 months ago #106095 by shortcircuit48
I am very much a novice and decided I was going to succeed. Yes I have read post #1 and followed it line by line but not being that experience did not appreciate the errors in the Kernel build instructions. Since amended them, as logged, have progressed. Came out of the make config file and amended the make -j4 jeb-pkg, to just -j4, as original would not run' as suggested in the helpful video. At moment it is churning away. Not sure how long this will take????

If there are 4000+ files it could take some time. The instructions are preceded with "CC". ???
Last edit: 8 years 8 months ago by shortcircuit48. Reason: more info

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

More
8 years 8 months ago #106107 by shortcircuit48
I am at the last hurdle
hamish@hamish-Presario-CQ57-Notebook-PC ~ $ . scripts/rip-environment
bash: scripts/rip-environment: No such file or directory

Where do I run this?

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

More
8 years 8 months ago #106109 by rodw
try running it from the ~/linuxcnc-dev folder (assuming that's where you installed the source code)

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

Time to create page: 0.281 seconds
Powered by Kunena Forum