LinuxCNC on Debian 10 Buster quick and easy install
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
09 Oct 2020 00:56 #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
$ 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.
- Mduran
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
09 Oct 2020 01:02 - 09 Oct 2020 01:02 #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.
Last edit: 09 Oct 2020 01:02 by Mduran.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
09 Oct 2020 01:05 #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 or Create an account to join the conversation.
- Mduran
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
09 Oct 2020 01:34 #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 or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5714
- Thank you received: 2090
09 Oct 2020 01:41 #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
cd ~/linuxcnc-dev/src
./autogen.sh
./configure --with-realtime=uspace
make -j2
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Visitor
09 Oct 2020 01:43 #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 or Create an account to join the conversation.
- Mduran
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
09 Oct 2020 01:51 - 09 Oct 2020 01:51 #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
Last edit: 09 Oct 2020 01:51 by Mduran.
Please Log in or Create an account to join the conversation.
- BeagleBrainz
- Visitor
09 Oct 2020 03:16 - 09 Oct 2020 03:18 #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.
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.
Please Log in or Create an account to join the conversation.
- Mduran
- Offline
- Junior Member
Less
More
- Posts: 31
- Thank you received: 0
09 Oct 2020 17:42 #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 or Create an account to join the conversation.
- BeagleBrainz
- Visitor
09 Oct 2020 19:10 #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
git checkout 2.8
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds