- Posts: 381
- Thank you received: 126
LinuxCNC on Debian 10 Buster quick and easy install
- seuchato
- Offline
- Platinum Member
-
Less
More
6 years 2 months ago #178591
by seuchato
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
Irak
Thanks a ton. Did my installs always as root. A decent password is there. Thanks also for he hint on modifying /etc/sudoers.d/local. I will consider that for my son, who is using my cnc's too.
greez
chris
Thanks a ton. Did my installs always as root. A decent password is there. Thanks also for he hint on modifying /etc/sudoers.d/local. I will consider that for my son, who is using my cnc's too.
greez
chris
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
6 years 2 months ago #178593
by andypugh
But does LinuxCNC still work with sudo disabled?
(I don't know the answer, I have not done the experiment).
LinuxCNC needs to be able to load and unload kernel modules. For that reason, (at least with a run-in-place self-compiled version) it needs to be setuid root in order to work with access to hardware such as the PCI bus.
Replied by andypugh on topic LinuxCNC on Debian 10 Buster quick and easy install
lrak wrote: Non of those steps require sudo. They work just fine with a root password
But does LinuxCNC still work with sudo disabled?
(I don't know the answer, I have not done the experiment).
LinuxCNC needs to be able to load and unload kernel modules. For that reason, (at least with a run-in-place self-compiled version) it needs to be setuid root in order to work with access to hardware such as the PCI bus.
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
6 years 1 month ago #184097
by seuchato
Replied by seuchato on topic LinuxCNC on Debian 10 Buster quick and easy install
Andy
Had the stock iso installed this weekend. I guess I was somehow not clear when stating that I always set a root passwd. I do so *after* the standard grafical install. Thus sudo is not being disabled and LinuxCNC runs just fine.
Besides: Excellent work with 2.8.0 iso! Thanks a ton!
greez
chris
Had the stock iso installed this weekend. I guess I was somehow not clear when stating that I always set a root passwd. I do so *after* the standard grafical install. Thus sudo is not being disabled and LinuxCNC runs just fine.
Besides: Excellent work with 2.8.0 iso! Thanks a ton!
greez
chris
Please Log in or Create an account to join the conversation.
- Mduran
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
6 years 3 weeks ago #185412
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
Hi, I am trying to install linuxcnc from the github repository
github.com/LinuxCNC/linuxcnc/tree/2.8
, since I want to install ethercat to my pc, and the image that you put 'http: // buildbot. linuxcnc.org/ stretch 2.8-rtpreempt 'does not work for me for this, at the moment of wanting to build linuxcnc as cnc from the git repository
1. Install linuxcnc
$ linuxcnc / debian / => ./configure uspace => cd ..
$ linuxcnc / => dpkg-checkbuilddeps => sudo apt-get install ..... until you are done.
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = dual processor speed)
$ sudo make setuid
When I try to make the src folder I get the following error in console:
"Makefile: 82: *** Makefile.inc must specify RTPREFIX and other variables."
Do you have any idea why it happens or information about where they talk about it?
since i searched and the information i found is from linuxcnc 2.6
(old ubuntu 12.04.5 LTS linuxcnc 2.7 user)
1. Install linuxcnc
$ linuxcnc / debian / => ./configure uspace => cd ..
$ linuxcnc / => dpkg-checkbuilddeps => sudo apt-get install ..... until you are done.
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = dual processor speed)
$ sudo make setuid
When I try to make the src folder I get the following error in console:
"Makefile: 82: *** Makefile.inc must specify RTPREFIX and other variables."
Do you have any idea why it happens or information about where they talk about it?
since i searched and the information i found is from linuxcnc 2.6
(old ubuntu 12.04.5 LTS linuxcnc 2.7 user)
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
-
Less
More
- Posts: 5711
- Thank you received: 2100
6 years 3 weeks ago #185413
by phillc54
Replied by phillc54 on topic LinuxCNC on Debian 10 Buster quick and easy install
you need ./configure --with-realtime=uspace
linuxcnc.org/docs/master/html/code/build...cnc.html#Quick-Start
linuxcnc.org/docs/master/html/code/build...cnc.html#Quick-Start
Please Log in or Create an account to join the conversation.
- Mduran
- Offline
- Junior Member
-
Less
More
- Posts: 31
- Thank you received: 0
6 years 3 weeks ago - 6 years 3 weeks ago #185414
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
hi phillc54, the command you show me when you enter it shows me the following error:
"configure: error: invalid variable name:"
linuxcnc dependencies already installed them all as mentioned on the page, as mentioned here:
$ linuxcnc / debian / => ./configure uspace => cd ..
$ linuxcnc / => dpkg-checkbuilddeps => sudo apt-get install ..... until you are done.
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = dual processor speed)
$ sudo make setuid
all the steps served me just the error occurs at the time of make.
"configure: error: invalid variable name:"
linuxcnc dependencies already installed them all as mentioned on the page, as mentioned here:
$ linuxcnc / debian / => ./configure uspace => cd ..
$ linuxcnc / => dpkg-checkbuilddeps => sudo apt-get install ..... until you are done.
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = dual processor speed)
$ sudo make setuid
all the steps served me just the error occurs at the time of make.
Last edit: 6 years 3 weeks ago by Mduran.
Please Log in or Create an account to join the conversation.
Time to create page: 0.706 seconds