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

More
9 years 6 months ago #91174 by cncnoob1979
Probamo,

You need to go into options in the terminal. Then select unlimited buffer. Attach the entire session as a text file so I can see the entire build process and your commands.

Run a make clean in the source code directory prior to attempting another build. Anytime you have a failed build wether a program or kernel; you must run a make clean to remove the previous configuration.

Please attach as a text file. Don't just paste here in the forum because it will be quite long. Go through the entire process again.

Check build dependencies prior then;
Run these in the source directory.
Code:
make clean git pull git checkout 2.7


make[2]: Entering directory '/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.o
/usr/src/linux-headers-3.4-9-common-rtai/scripts/Makefile.build:307: recipe for target '/home/dejan/linuxcnc-dev/src/emc/kinematics/5axiskins.o' failed



EDIT: Did you install the 3.4.9 kernel headers?

Please Log in to join the conversation.

More
9 years 6 months ago #91188 by probamo
Hereafter are two files. One related building kernel, the other one git linuxcnc according to Post 3. The same termination occurred :(

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #91189 by cncnoob1979
probamo,

Do this please: Only run these commands one time - do not repeat them.

1)Delete linuxcnc-dev folder and everything inside of it

2)Reboot the machine

3)Open a new terminal and issue these commands from your home folder:
Code:
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev

4)
Code:
sudo apt-get update cd linuxcnc-dev cd debian ./configure -r cd .. dpkg-checkbuilddeps

5)Do nothing else and post the txt file like you did before.

6) Post the image file of your sources listed in synaptic package manager. You have multiple entries listed in there; should only have one "deb linuxcnc.org/ precise base 2.7-rtai"

Please Log in to join the conversation.

More
9 years 6 months ago #91192 by probamo
@cncnoob

here are the files according to last recommendation. I deleted linuxcnc-dev, rebooted system, use recommended commands in Terminal.

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #91195 by cncnoob1979
Thanks!

Please open a new terminal and post the output as before. Do not do anything else. We have to trouble shoot what's going on here :)

Now remove the additional repository you have there. *delete it* (Kernel listing)

Execute these one at a time please.
Code:
sudo apt-key adv --keyserver hkp://keys.gnupg.net --recv-key 3cb9fd148f374fef sudo add-apt-repository "deb http://linuxcnc.org/ precise base 2.7-rtai" sudo apt-get update sudo apt-get install linux-headers-3.4-9-rtai-686-pae sudo apt-get install rtai-modules-3.4-9-rtai-686-pae sudo apt-get dist-upgrade

Then inside the linuxcnc-dev/src directory execute:
Code:
git checkout 2.7 debuild -uc -us

Please Log in to join the conversation.

More
9 years 6 months ago #91197 by probamo
Made the first set of commands. Enclosed is outcome. Now I am running the second set of commands and coma back as soon as process is finished.


Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #91199 by cncnoob1979
This is on your currently running pc right? Not a Virtual machine?

Please Log in to join the conversation.

More
9 years 6 months ago #91200 by probamo
No on Virtual machine. I am on PC LMint 18.1 MATE, recently upgraded from 17.3. Does make any change if I would be in Cinnamon? With RTAI kernel in place, Cinnamon was not able to be loaded fully, but reporting an error. With Mate in place, no error was reported with mention kernel!

Please Log in to join the conversation.

More
9 years 6 months ago #91202 by probamo
Terminated again :(

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #91203 by cncnoob1979
I have not tested this on Cinnamon but should work for you. I had trouble on a VM. I would suggest that we do not build a deb in that case. If: this build fails, lets see if we can do a RIP on it.

I do not believe it will be successful on a VM. But if you want to try it again Install a clean version of 18.1 x32. Then try the process again.

Please Log in to join the conversation.

Time to create page: 0.129 seconds
Powered by Kunena Forum