git problem installation patch
14 Nov 2012 03:26 #26544
by jlviloria
git problem installation patch was created by jlviloria
I have already installed git
and have applied the patch, but I get this:
Configurando git-gui (1:1.7.0.4-1ubuntu0.2) ...
Configurando gitk (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: 112583, done.
remote: Compressing objects: 100% (26669/26669), done.
remote: Total 112583 (delta 88820), reused 108081 (delta 84939)
Receiving objects: 100% (112583/112583), 60.93 MiB | 202 KiB/s, done.
Resolving deltas: 100% (88820/88820), done.
cnc@ubuntu:~$ cd linuxcnc-dev
cnc@ubuntu:~/linuxcnc-dev$ git am --signoff 0001-Fanuc-style-tool-change-for-Lathes.-On-Fanuc-control.patch
Applying: Fanuc-style tool change for Lathes. On Fanuc-controlled lathes (as well Fanuc-like lathes like Haas, Okuma, and likely others). tool changes are not commanded with an M6, and offsets are not applied with G43. Rather the T word both commands a tool change and applies offsets. The offsets on Fanuc lathe controls are stored in two separate registers: geometry and wear. The wear offset register has IDs in the 1-99 range, the geometry offset register has IDs in the 10001 - 10099 range. A T word followed by one or two digits causes a tool change and applies only the geometry offsets. A T word with three or four digits also applies the wear offsets.
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:41: trailing whitespace.
CHP((find_tool_pocket(settings, geo_offset_register, &index)));
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:45: trailing whitespace.
CHP((find_tool_pocket(settings, wear_offset_register, &index)));
/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$
I can do to solve this problem?
then I should do? to see the tool table as fanuc?
and have applied the patch, but I get this:
Configurando git-gui (1:1.7.0.4-1ubuntu0.2) ...
Configurando gitk (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: 112583, done.
remote: Compressing objects: 100% (26669/26669), done.
remote: Total 112583 (delta 88820), reused 108081 (delta 84939)
Receiving objects: 100% (112583/112583), 60.93 MiB | 202 KiB/s, done.
Resolving deltas: 100% (88820/88820), done.
cnc@ubuntu:~$ cd linuxcnc-dev
cnc@ubuntu:~/linuxcnc-dev$ git am --signoff 0001-Fanuc-style-tool-change-for-Lathes.-On-Fanuc-control.patch
Applying: Fanuc-style tool change for Lathes. On Fanuc-controlled lathes (as well Fanuc-like lathes like Haas, Okuma, and likely others). tool changes are not commanded with an M6, and offsets are not applied with G43. Rather the T word both commands a tool change and applies offsets. The offsets on Fanuc lathe controls are stored in two separate registers: geometry and wear. The wear offset register has IDs in the 1-99 range, the geometry offset register has IDs in the 10001 - 10099 range. A T word followed by one or two digits causes a tool change and applies only the geometry offsets. A T word with three or four digits also applies the wear offsets.
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:41: trailing whitespace.
CHP((find_tool_pocket(settings, geo_offset_register, &index)));
/home/cnc/linuxcnc-dev/.git/rebase-apply/patch:45: trailing whitespace.
CHP((find_tool_pocket(settings, wear_offset_register, &index)));
/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$
I can do to solve this problem?
then I should do? to see the tool table as fanuc?
Please Log in or Create an account to join the conversation.
14 Nov 2012 03:39 - 14 Nov 2012 03:39 #26546
by BigJohnT
Replied by BigJohnT on topic git problem installation patch
Just ignore the warning.
I think you have to put something in the ini file for the patch to work.
John
I think you have to put something in the ini file for the patch to work.
John
Last edit: 14 Nov 2012 03:39 by BigJohnT.
Please Log in or Create an account to join the conversation.
14 Nov 2012 03:42 - 14 Nov 2012 04:08 #26547
by jlviloria
Replied by jlviloria on topic git problem installation patch
friend after I apply the patch. I need other step?
I must open the 2.6.0pre version? because it opens the version 2.5.0?
thanks.
I must open the 2.6.0pre version? because it opens the version 2.5.0?
thanks.
Last edit: 14 Nov 2012 04:08 by jlviloria.
Please Log in or Create an account to join the conversation.
14 Nov 2012 04:38 #26552
by VNR
Replied by VNR on topic git problem installation patch
Has compilado e instalado ?
De memoria, puede no ser "exactamente" asi:
cd src
./autogen.sh
./configure --prefix=/usr/bin
make
sudo make install
OJO, el --prefix=/usr/bin/ reemplazara tu LinuxCNC actual, hay otra forma que es
cd src
./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid
cd ..
. scripts/linuxcnc-environment
linuxcnc
Saludos,
Victor
De memoria, puede no ser "exactamente" asi:
cd src
./autogen.sh
./configure --prefix=/usr/bin
make
sudo make install
OJO, el --prefix=/usr/bin/ reemplazara tu LinuxCNC actual, hay otra forma que es
cd src
./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid
cd ..
. scripts/linuxcnc-environment
linuxcnc
Saludos,
Victor
The following user(s) said Thank You: jlviloria
Please Log in or Create an account to join the conversation.
14 Nov 2012 04:58 - 14 Nov 2012 05:24 #26554
by jlviloria
Replied by jlviloria on topic git problem installation patch
victor
acabo de hacer el primer procedimiento y ahora linuxcnc no me abre.
que puede haber mal?
gracias
cnc@ubuntu:~$ linuxcnc
LINUXCNC - 2.5.0
Error in startup script: couldn't load file "/usr/lib/tcltk/linuxcnc/bin/../linuxcnc.so": /usr/lib/tcltk/linuxcnc/bin/../linuxcnc.so: undefined symbol: _ZN7IniFile4FindEPKcS1_i
while executing
"load [file join [file dirname [info script]] linuxcnc[info sharedlibextension]]"
(file "/usr/lib/tcltk/linuxcnc/bin/../linuxcnc.tcl" line 59)
invoked from within
"source [file join [file dirname [info script]] .. linuxcnc.tcl]"
(file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 29)
acabo de hacer el primer procedimiento y ahora linuxcnc no me abre.
que puede haber mal?
gracias
cnc@ubuntu:~$ linuxcnc
LINUXCNC - 2.5.0
Error in startup script: couldn't load file "/usr/lib/tcltk/linuxcnc/bin/../linuxcnc.so": /usr/lib/tcltk/linuxcnc/bin/../linuxcnc.so: undefined symbol: _ZN7IniFile4FindEPKcS1_i
while executing
"load [file join [file dirname [info script]] linuxcnc[info sharedlibextension]]"
(file "/usr/lib/tcltk/linuxcnc/bin/../linuxcnc.tcl" line 59)
invoked from within
"source [file join [file dirname [info script]] .. linuxcnc.tcl]"
(file "/usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl" line 29)
Last edit: 14 Nov 2012 05:24 by jlviloria.
Please Log in or Create an account to join the conversation.
14 Nov 2012 06:50 #26559
by jlviloria
Replied by jlviloria on topic git problem installation patch
It manages to open linuxcnc 2.6.0-pre. but opened only for the terminal. this is correct?
anyone can help me with the part of INI.
I think it is not hard but it looks like I'm not doing well. I'm testing with sim-lathe. to see if the tool-table but nothing changes.
My understanding is only add the line FEATURES = 64 to the RS274NGC section of your INI file
this is correct?
ini file
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
FEATURES = 64
PARAMETER_FILE = linuxcnc.var
anyone can help me with the part of INI.
I think it is not hard but it looks like I'm not doing well. I'm testing with sim-lathe. to see if the tool-table but nothing changes.
My understanding is only add the line FEATURES = 64 to the RS274NGC section of your INI file
this is correct?
ini file
[TASK]
TASK = milltask
CYCLE_TIME = 0.010
[RS274NGC]
FEATURES = 64
PARAMETER_FILE = linuxcnc.var
Please Log in or Create an account to join the conversation.
14 Nov 2012 14:29 #26572
by cmorley
Replied by cmorley on topic git problem installation patch
yes thats it.
then go to MDI and try T02 (assuming you have a tool 2 in the tool file)
If the machine does a tool change (without using M6) then its working
then go to MDI and try T02 (assuming you have a tool 2 in the tool file)
If the machine does a tool change (without using M6) then its working
Please Log in or Create an account to join the conversation.
14 Nov 2012 18:02 #26578
by VNR
Sorry i did a mistake in the --prefix parameter, i was not in my machine when i wrote that procedure, to fix it you must do:
cd linuxcnc-dev/src
make clean
./autogen.sh
./configure --prefix=/usr
make
sudo make install
check the DATE with: ls -l /usr/bin/linuxcnc
running /usr/bin/linuxcnc you should see "LINUXCNC - 2.6.0~pre" or similar, and will pop up the configurator selector
Sorry for the mistake,
Victor
Replied by VNR on topic git problem installation patch
(Escribo en ingles por si alguien quiere responder tambien)victor
acabo de hacer el primer procedimiento y ahora linuxcnc no me abre.
que puede haber mal?
gracias
Sorry i did a mistake in the --prefix parameter, i was not in my machine when i wrote that procedure, to fix it you must do:
cd linuxcnc-dev/src
make clean
./autogen.sh
./configure --prefix=/usr
make
sudo make install
check the DATE with: ls -l /usr/bin/linuxcnc
running /usr/bin/linuxcnc you should see "LINUXCNC - 2.6.0~pre" or similar, and will pop up the configurator selector
Sorry for the mistake,
Victor
The following user(s) said Thank You: jlviloria
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds