- Posts: 403
- Thank you received: 0
Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
-
Less
More
9 years 6 months ago #91174
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
EDIT: Did you install the 3.4.9 kernel headers?
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.
9 years 6 months ago #91188
by probamo
Replied by probamo on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 0
9 years 6 months ago #91189
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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:
4)
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"
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.
9 years 6 months ago #91192
by probamo
Replied by probamo on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
@cncnoob
here are the files according to last recommendation. I deleted linuxcnc-dev, rebooted system, use recommended commands in Terminal.
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.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 0
9 years 6 months ago #91195
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
Then inside the linuxcnc-dev/src directory execute:
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.
9 years 6 months ago #91197
by probamo
Replied by probamo on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 0
9 years 6 months ago #91199
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
This is on your currently running pc right? Not a Virtual machine?
Please Log in to join the conversation.
9 years 6 months ago #91200
by probamo
Replied by probamo on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
9 years 6 months ago #91202
by probamo
Replied by probamo on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
Terminated again
Attachment not found
Please Log in to join the conversation.
- cncnoob1979
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 403
- Thank you received: 0
9 years 6 months ago #91203
by cncnoob1979
Replied by cncnoob1979 on topic Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb
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.
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
