Tool offset patch
- LAIR82
- Offline
- Platinum Member
-
Less
More
- Posts: 336
- Thank you received: 9
18 May 2013 02:46 - 18 May 2013 02:47 #34276
by LAIR82
Replied by LAIR82 on topic Re:Tool offset patch
Tell me if i'm incorrect John,
Wes,
In the terminal go to the linuxcnc-dev/src directory, then do a "sudo make clean" then follow through with the normal,
./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid
This should be it, then you can,
. ./scripts/rip-environment
linuxcnc
Thanks
Rick
Wes,
In the terminal go to the linuxcnc-dev/src directory, then do a "sudo make clean" then follow through with the normal,
./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid
This should be it, then you can,
. ./scripts/rip-environment
linuxcnc
Thanks
Rick
Last edit: 18 May 2013 02:47 by LAIR82.
Please Log in or Create an account to join the conversation.
- DaOne
-
- Offline
- Elite Member
-
Less
More
- Posts: 196
- Thank you received: 6
18 May 2013 03:03 #34277
by DaOne
Replied by DaOne on topic Tool offset patch
I get...
cnc@ubuntu:~$ cd linuxcnc-dev/src
cnc@ubuntu:~/linuxcnc-dev/src$ sudo make clean
[sudo] password for cnc:
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@ubuntu:~/linuxcnc-dev/src$ ls
autogen.sh emc Makefile.inc.in move-if-change tests
CodingStyle hal Makefile.modinc.in po
configure.in libnml modsilent.py rtapi
doxconfig Makefile module_helper Submakefile.skel
cnc@ubuntu:~/linuxcnc-dev/src$
cnc@ubuntu:~$ cd linuxcnc-dev/src
cnc@ubuntu:~/linuxcnc-dev/src$ sudo make clean
[sudo] password for cnc:
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@ubuntu:~/linuxcnc-dev/src$ ls
autogen.sh emc Makefile.inc.in move-if-change tests
CodingStyle hal Makefile.modinc.in po
configure.in libnml modsilent.py rtapi
doxconfig Makefile module_helper Submakefile.skel
cnc@ubuntu:~/linuxcnc-dev/src$
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
Less
More
- Posts: 7000
- Thank you received: 1175
18 May 2013 03:50 #34282
by BigJohnT
Rick, AFAIK you don't need to say sudo make clean, just make clean. The only one that requires sudo is the make setuid. I'm assuming this is a RIP build without reading back over dozens of pages...
JT
Replied by BigJohnT on topic Re:Tool offset patch
Tell me if i'm incorrect John,
Wes,
In the terminal go to the linuxcnc-dev/src directory, then do a "sudo make clean" then follow through with the normal,
./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid
This should be it, then you can,
. ./scripts/rip-environment
linuxcnc
Thanks
Rick
Rick, AFAIK you don't need to say sudo make clean, just make clean. The only one that requires sudo is the make setuid. I'm assuming this is a RIP build without reading back over dozens of pages...
JT
Please Log in or Create an account to join the conversation.
- DaOne
-
- Offline
- Elite Member
-
Less
More
- Posts: 196
- Thank you received: 6
18 May 2013 03:52 #34283
by DaOne
Replied by DaOne on topic Re:Tool offset patch
Make clean gives me the same result. Man I feel lost on this one.
cnc@ubuntu:~/linuxcnc-dev/src$ make clean
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@ubuntu:~/linuxcnc-dev/src$
cnc@ubuntu:~/linuxcnc-dev/src$ make clean
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@ubuntu:~/linuxcnc-dev/src$
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Platinum Member
-
Less
More
- Posts: 336
- Thank you received: 9
18 May 2013 04:02 #34284
by LAIR82
Replied by LAIR82 on topic Re:Tool offset patch
Wes,
I would start with "git reset --hard origin/master" in the linuxcnc-dev directory, then your going to have a clean slate. At this point apply the patch. Then go through with compiling again.
I'm not sure what the error is, but I have been in this position, and this is how I got myself out of trouble and up and running.
Rick
I would start with "git reset --hard origin/master" in the linuxcnc-dev directory, then your going to have a clean slate. At this point apply the patch. Then go through with compiling again.
I'm not sure what the error is, but I have been in this position, and this is how I got myself out of trouble and up and running.
Rick
Please Log in or Create an account to join the conversation.
- jlviloria
- Offline
- Elite Member
-
Less
More
- Posts: 311
- Thank you received: 12
18 May 2013 04:11 #34288
by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
Rick
install this patch but does not meet Txxxx function, not to the tool change,
This version corrects the mistake Removes deleted from the table?
Thanks.
Jorge Viloria
install this patch but does not meet Txxxx function, not to the tool change,
This version corrects the mistake Removes deleted from the table?
Thanks.
Jorge Viloria
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Platinum Member
-
Less
More
- Posts: 336
- Thank you received: 9
18 May 2013 04:14 #34289
by LAIR82
Replied by LAIR82 on topic Re:Tool offset patch
The version I attached is what's running on my machine now, is there a newer version than what chris put out last week? I know he was looking into the issues but don't know if he put out a newer version.
Rick
Rick
Please Log in or Create an account to join the conversation.
- DaOne
-
- Offline
- Elite Member
-
Less
More
- Posts: 196
- Thank you received: 6
18 May 2013 04:37 #34290
by DaOne
Replied by DaOne on topic Re:Tool offset patch
Ok, I fully reinstalled LinuxCNC (From the live CD) then upgraded to master and did all the steps... still get the same issue when using "make clean". I attached my full terminal log so maybe you can spot what exactly I am doing wrong?
cnc@ubuntu:~$ git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
The program 'git' is currently not installed. You can install it by typing:
sudo apt-get install git-core
cnc@ubuntu:~$ sudo apt-get install git-core
[sudo] password for cnc:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
user-setup localechooser-data
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libdigest-sha1-perl liberror-perl
Suggested packages:
git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk
gitweb
The following NEW packages will be installed:
git-core libdigest-sha1-perl liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 178 not upgraded.
Need to get 5,688kB of archives.
After this operation, 11.9MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main liberror-perl 0.17-1 [23.8kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main libdigest-sha1-perl 2.12-1build1 [26.2kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main git-core 1:1.7.0.4-1ubuntu0.2 [5,638kB]
Fetched 5,688kB in 19s (294kB/s)
Selecting previously deselected package liberror-perl.
(Reading database ... 133788 files and directories currently installed.)
Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ...
Selecting previously deselected package libdigest-sha1-perl.
Unpacking libdigest-sha1-perl (from .../libdigest-sha1-perl_2.12-1build1_i386.deb) ...
Selecting previously deselected package git-core.
Unpacking git-core (from .../git-core_1%3a1.7.0.4-1ubuntu0.2_i386.deb) ...
Processing triggers for man-db ...
Setting up liberror-perl (0.17-1) ...
Setting up libdigest-sha1-perl (2.12-1build1) ...
Setting up git-core (1:1.7.0.4-1ubuntu0.2) ...
cnc@ubuntu:~$ git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
Initialized empty Git repository in /home/cnc/linuxcnc-dev/.git/
remote: Counting objects: 122925, done.
remote: Compressing objects: 100% (28550/28550), done.
remote: Total 122925 (delta 97145), reused 118704 (delta 93272)
Receiving objects: 100% (122925/122925), 63.39 MiB | 197 KiB/s, done.
Resolving deltas: 100% (97145/97145), done.
cnc@ubuntu:~$ cd linuxcnc-dev
cnc@ubuntu:~/linuxcnc-dev$ ls
app-defaults docs linuxcnc-wizard.gif share
bin include linuxcnc.xcf src
configs lathe_style_tool_change2.patch nc_files tcl
COPYING lib README tests
debian linuxcnc.gif rtlib TODO
directory.map linuxcncicon.png scripts VERSION
cnc@ubuntu:~/linuxcnc-dev$ git am --signoff lathe_style_tool_change2.patch
Applying: lathe_style_toolchange
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:41: trailing whitespace.
CHP((find_tool_pocket(settings, geo_offset_register, &pocket_number)));
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:45: trailing whitespace.
CHP((find_tool_pocket(settings, wear_offset_register, &pocket_number)));
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:50: trailing whitespace.
}
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:74: trailing whitespace.
}
warning: 4 lines add whitespace errors.
cnc@ubuntu:~/linuxcnc-dev$ cd src
cnc@ubuntu:~/linuxcnc-dev/src$ make clean
Makefile:55: Makefile.inc: No such file or directory
Makefile:66: *** Makefile.inc must specify RTPREFIX and other variables. Stop.
cnc@ubuntu:~/linuxcnc-dev/src$
Please Log in or Create an account to join the conversation.
- LAIR82
- Offline
- Platinum Member
-
Less
More
- Posts: 336
- Thank you received: 9
18 May 2013 05:15 #34292
by LAIR82
Replied by LAIR82 on topic Re:Tool offset patch
I will have to go over my notes on monday when I get back to work, and see if anything rings a bell.
Thanks
Rick
Thanks
Rick
Please Log in or Create an account to join the conversation.
- DaOne
-
- Offline
- Elite Member
-
Less
More
- Posts: 196
- Thank you received: 6
18 May 2013 05:26 #34294
by DaOne
Replied by DaOne on topic Re:Tool offset patch
Thanks Rick!
Please Log in or Create an account to join the conversation.
Time to create page: 0.108 seconds