LinuxCNC on Debian 10 Buster quick and easy install

More
6 years 2 months ago #178591 by seuchato
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

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

More
6 years 2 months ago #178593 by andypugh

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.

More
6 years 1 month ago #184097 by seuchato
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

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

More
6 years 3 weeks ago #185412 by Mduran
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)

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

More
6 years 3 weeks ago #185413 by phillc54

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

More
6 years 3 weeks ago - 6 years 3 weeks ago #185414 by Mduran
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.
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
Powered by Kunena Forum