Tool offset patch

More
18 May 2013 05:42 #34296 by BigJohnT
Replied by BigJohnT on topic Re:Tool offset patch
You skipped several steps after cd src...

./autogen.sh
./configure --enable-run-in-place
make
sudo make setuid

You don't need to make clean on a fresh install.

JT

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

More
18 May 2013 05:51 - 18 May 2013 05:53 #34297 by DaOne
Replied by DaOne on topic Re:Tool offset patch
JT,

Here is the log.. still saying it can't find the file.
cnc@ubuntu:~/linuxcnc-dev/src$ ./autogen.sh
cnc@ubuntu:~/linuxcnc-dev/src$ ./configure --enable-run-in-place
checking libgl1-mesa-dri workaround... required - need to preload /usr/lib/libstdc++.so.6
checking build toplevel... /home/cnc/linuxcnc-dev
checking installation prefix... run in place
checking for grep... /bin/grep
checking for egrep... /bin/egrep
checking for RT dir... Using /usr/realtime-2.6.32-122-rtai/bin/rtai-config as the RT signature
checking for location of kernel headers... using value from RTS: /usr/src/linux-headers-2.6.32-122-rtai
checking for cc version... found gcc in rtai-config
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for usability of rdtscll from asm/msr.h... no
checking for usability of linux/hidraw.h... yes
checking for libmodbus3... no
checking for libmodbus2... no
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for egrep... (cached) /bin/egrep
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking /usr/src/linux-headers-2.6.32-122-rtai/include/linux/version.h usability... yes
checking /usr/src/linux-headers-2.6.32-122-rtai/include/linux/version.h presence... yes
checking for /usr/src/linux-headers-2.6.32-122-rtai/include/linux/version.h... yes
checking for kernel version string... 2.6.32-122-rtai
checking for kernel module extension... .ko
checking kernel build system... kbuild
checking for module installation directory... configuring for run-in-place
/home/cnc/linuxcnc-dev/rtlib
configure: WARNING: --enable-run-in-place will be removed soon.
Configure without specifying --prefix to get a run-in-place build.
checking for glib... yes - 2.24.1
checking for GTK 2.4.0 or above... yes - 2.20.1
checking for libgnomeprintui-2.2... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for install... /usr/bin/install
checking for sed... /bin/sed
checking for ps... /bin/ps
checking for kill... /bin/kill
checking for whoami... /usr/bin/whoami
checking for awk... /usr/bin/awk
checking for insmod... /sbin/insmod
checking for rmmod... /sbin/rmmod
checking for lsmod... /sbin/lsmod
checking for pidof... /bin/pidof
checking for ipcs... /usr/bin/ipcs
checking for fuser... /bin/fuser
checking for mandb... /usr/bin/mandb
checking for python... /usr/bin/python
checking whether to build documentation... no
checking for kernel math support... ok, using RTAI's libm kernel module
checking for adeos... not found
checking for rtai_hal... /usr/realtime-2.6.32-122-rtai/modules/rtai_hal.ko
checking for rtai_ksched... /usr/realtime-2.6.32-122-rtai/modules/rtai_ksched.ko
checking for rtai_fifos... /usr/realtime-2.6.32-122-rtai/modules/rtai_fifos.ko
checking for rtai_shm... not found
checking for rtai_sem... /usr/realtime-2.6.32-122-rtai/modules/rtai_sem.ko
checking for rtai_math... /usr/realtime-2.6.32-122-rtai/modules/rtai_math.ko
checking for rtai... not found
checking for rt_mem_mgr... not found
checking for rtai_sched... /usr/realtime-2.6.32-122-rtai/modules/rtai_sched.ko
checking for rtai_libm... not found
checking for rtl... not found
checking for mbuff... not found
checking for rtl_time... not found
checking for rtl_sched... not found
checking for rtl_posixio... not found
checking for rtl_fifo... not found
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for semtimedop... yes
checking for sincos function... yes
checking for __sincos... no
checking for tcl... /usr/lib/tcl8.5/tclConfig.sh found
checking for tk... /usr/lib/tk8.5/tkConfig.sh found
checking for BWidget using /usr/bin/tclsh8.5... found
checking for BLT using tclsh8.5... found
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/extensions/Xinerama.h usability... yes
checking X11/extensions/Xinerama.h presence... yes
checking for X11/extensions/Xinerama.h... yes
checking for XineramaQueryExtension in -lXinerama... yes
checking for X11/Xaw/XawInit.h... yes
checking for XawDialogGetValueString in -lXaw... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
Trying readline without -ltermcap
checking for readline in -lreadline... yes
Trying readline with -ltermcap
checking for readline in -lreadline... yes
Readline does not require -ltermcap
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for setlocale... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for gettext in -lintl... no
checking for xgettext... /usr/bin/xgettext
checking for xgettext tcl bug... xgettext version 0.17 OK
checking for msgfmt... /usr/bin/msgfmt
checking for --tcl support in msgfmt... yes
checking for Python support... yes
checking python version... OK
checking version of python libraries... python2.6
checking match between tk and Tkinter versions... 8.5
checking location of Python header files... /usr/include/python2.6
checking for Python headers... -I/usr/include/python2.6
checking for Python libraries... -lpthread -ldl  -lutil
checking whether the Boost::Python headers are available... no
configure: error: boost::python is required to build LinuxCNC
cnc@ubuntu:~/linuxcnc-dev/src$ make
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      configure     libnml              module_helper     tests
autom4te.cache  configure.in  Makefile            move-if-change
CodingStyle     doxconfig     Makefile.inc.in     po
config.h.in     emc           Makefile.modinc.in  rtapi
config.log      hal           modsilent.py        Submakefile.skel
cnc@ubuntu:~/linuxcnc-dev/src$ 

This stands out to me...

configure: error: boost::python is required to build LinuxCNC

Do I need to install python?

Thanks guys for all your help. I hate being a Newbie! :D
Last edit: 18 May 2013 05:53 by DaOne.

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

More
18 May 2013 05:57 #34300 by DaOne
Replied by DaOne on topic Re:Tool offset patch
Ok I figured it out...

Python was the issue and this fixed it...

sudo apt-get install libboost-python-dev

Make works now!

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

More
18 May 2013 06:00 #34302 by BigJohnT
Replied by BigJohnT on topic Re:Tool offset patch
YEA!

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

More
18 May 2013 06:23 #34303 by DaOne
Replied by DaOne on topic Re:Tool offset patch
Damn well it looks like the patch is not working. I added the line FEATURES = 64 to the RS274NGC section of my INI file as it says in the directions. I still get "tool 101 not found" when i type T0101 in MDI. I am using Gscreen - lathe sim to test this.

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

More
18 May 2013 06:57 #34307 by cmorley
Replied by cmorley on topic Re:Tool offset patch
Did the tool change right away (without M6) - if so the patch is working.

You must have a tool 1 and tool 10001 in the toolfile for the T0101 call to work.

(don't forget to hit 'apply' in the tool offset editor after editing.

Chris M

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

More
18 May 2013 07:00 #34308 by DaOne
Replied by DaOne on topic Re:Tool offset patch
I will give it a try Chris, I was trying the whole thing over again hoping I screwed up somewhere. :D Will report back in a couple minutes. Thanks!

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

More
18 May 2013 07:01 #34309 by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
Chris this version works better, at least not blocked by applying a compensation having some value in 1000n, grateful.!


Thanks.

Jorge Viloria

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

More
18 May 2013 07:07 #34310 by cmorley
Replied by cmorley on topic Re:Tool offset patch
hmm I didn't do anything to that patch other then update it so it applied cleanly.
Should be no different from the original.

If your interested in trying a experimental patch I have one available that switches to an INI switch and fixes the G10 problem.
(tool setting changes the wrong offset entry)

File Attachment:

File Name: lathe_styl...atch.zip
File Size:2 KB


Remember experimental - it has minimum testing.
If anyone tries it please let me know.

Chris M
Attachments:

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

More
18 May 2013 07:13 - 18 May 2013 07:16 #34311 by jlviloria
Replied by jlviloria on topic Re:Tool offset patch
Chris,

The version I had installed before had other things.

I will try this new version. you will be so kind as to explain briefly that's different

thanks,

Jorge Viloria
Last edit: 18 May 2013 07:16 by jlviloria.

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

Time to create page: 0.091 seconds
Powered by Kunena Forum