LinuxCNC on Debian 10 Buster quick and easy install

More
09 Oct 2020 00:56 #185415 by phillc54

$ 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


You only need to do the first two lines once to find missing dependencies. From then on only do the seconf two lines but you need ./configure --with-realtime=uspace on this line:
$ cd src / => ./autogen.sh => ./configure => make -j2 (j2 = dual processor speed)
so it would be:
$ cd src / => ./autogen.sh => ./configure --with-realtime=uspace => make -j2 (j2 = dual processor speed)

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

More
09 Oct 2020 01:02 - 09 Oct 2020 01:02 #185416 by Mduran
change the line from "./configure" to "./configure --with-realtime = uspace" as you mentioned and it compiles fine but when I do make it shows me the same error:

Makefile: 82: *** Makefile.inc must specify RTPREFIX and other variables.
Last edit: 09 Oct 2020 01:02 by Mduran.

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

More
09 Oct 2020 01:05 #185417 by phillc54
You cannot have spaces in that option, it must be ./configure --with-realtime=uspace. The only space is between the 'e' and the'-'

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

More
09 Oct 2020 01:34 #185418 by Mduran
Yes, I did it before, no more with the space between the 'e' and the '-' en './configure --with-realtime = uspace "and if you compile the command correctly, but when I do make I get the same as:

Makefile: 82: *** Makefile. inc must specify RTPREFIX and other variables.

Whoever did it first:
. / configure
And not
./configure --with-realtime = uspace

It will have something to do, that when I put make I keep getting the error?

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

More
09 Oct 2020 01:41 #185419 by phillc54
You cannot have a space either side of the = sign
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make -j2

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

More
09 Oct 2020 01:43 #185420 by BeagleBrainz
Hahaha Phil you beat me to it.
The following user(s) said Thank You: phillc54

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

More
09 Oct 2020 01:51 - 09 Oct 2020 01:51 #185421 by Mduran
If I am putting it without the spaces exactly like this

./configure --with-realtime=uspace

But the make still doesn't work
Last edit: 09 Oct 2020 01:51 by Mduran.

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

More
09 Oct 2020 03:16 - 09 Oct 2020 03:18 #185422 by BeagleBrainz
OK.

Clone Linuxcnc in to a completely new and separate directory, and checkout the branch you wish to build. We'll going to call it new-linuxcnc-dev. I have no idea what has happened, but lets start from scratch.
cd ~/new-linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make -j2

If that doesn't work you will have to supply more info about your system. ie what kernel are you using, I'm assuming you are using Buster. And can you also copy all text from the screen after you start make up to the point it fails.
Last edit: 09 Oct 2020 03:18 by BeagleBrainz.
The following user(s) said Thank You: Mduran

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

More
09 Oct 2020 17:42 #185498 by Mduran
uname -a:
Linux user 4.19.0-11-rt-amd64 # 1 SMP PREEMPT RT Debian 4.19.146-1 (2020-09-17) x86_64 GNU / Linux

distro:
Ubuntu-Buster

Linuxcnc:
2.8

I'm downloading branch 2.8 in zip format, from here:

github.com/LinuxCNC/linuxcnc/tree/2.8

Since if I clone it from github by DEFAULT this is the master branch and I don't know how to make it change version:

github.com/LinuxCNC/linuxcnc.git

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

More
09 Oct 2020 19:10 #185499 by BeagleBrainz
Change into the directory you have cloned into and
git checkout 2.8
The following user(s) said Thank You: Mduran

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

Time to create page: 0.178 seconds
Powered by Kunena Forum