- Posts: 5712
- Thank you received: 0
LinuxCNC on Debian 10 Buster quick and easy install
6 years 3 weeks ago #185415
by phillc54
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)
Replied by phillc54 on topic LinuxCNC on Debian 10 Buster quick and easy install
Mike duran wrote: $ 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 to join the conversation.
6 years 3 weeks ago #185416
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
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.
Makefile: 82: *** Makefile.inc must specify RTPREFIX and other variables.
Please Log in to join the conversation.
6 years 3 weeks ago #185417
by phillc54
Replied by phillc54 on topic LinuxCNC on Debian 10 Buster quick and easy install
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 to join the conversation.
6 years 3 weeks ago #185418
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
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?
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 to join the conversation.
6 years 3 weeks ago #185419
by phillc54
Replied by phillc54 on topic LinuxCNC on Debian 10 Buster quick and easy install
You cannot have a space either side of the = sign
Code:
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make -j2
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 3 weeks ago #185420
by BeagleBrainz
Replied by BeagleBrainz on topic LinuxCNC on Debian 10 Buster quick and easy install
Hahaha Phil you beat me to it.
Please Log in to join the conversation.
6 years 3 weeks ago #185421
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
If I am putting it without the spaces exactly like this
./configure --with-realtime=uspace
But the make still doesn't work
./configure --with-realtime=uspace
But the make still doesn't work
Please Log in to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 3 weeks ago #185422
by BeagleBrainz
Replied by BeagleBrainz on topic LinuxCNC on Debian 10 Buster quick and easy install
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.
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.
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.
Code:
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.
Please Log in to join the conversation.
6 years 3 weeks ago #185498
by Mduran
Replied by Mduran on topic LinuxCNC on Debian 10 Buster quick and easy install
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
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 to join the conversation.
- BeagleBrainz
- New Member
-
Less
More
- Thank you received: 0
6 years 3 weeks ago #185499
by BeagleBrainz
Replied by BeagleBrainz on topic LinuxCNC on Debian 10 Buster quick and easy install
Change into the directory you have cloned into and
Code:
git checkout 2.8
Please Log in to join the conversation.
Time to create page: 0.501 seconds
