avc@avc:~/LinuxCncRip/scripts$ . ./rip-environment avc@avc:~/LinuxCncRip/scripts$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat' Machine configuration file is 'maquinaEthercat.ini' Starting LinuxCNC... Found file(REL): ./maquinaEthercat.hal Note: Using POSIX non-realtime Failed to get reference clock time: Input/output error Warning: Missing required specifier (has angular joint or axis): [DISPLAY]MAX_ANGULAR_VELOCITY or [TRAJ]MAX_ANGULAR_VELOCITY See the 'INI Configuration' documents note: MAXV max: 5.000 units/sec 300.000 units/min note: LJOG max: 5.000 units/sec 300.000 units/min note: LJOG default: 0.250 units/sec 15.000 units/min note: AJOG max: 1.000 units/sec 60.000 units/min note: AJOG default: 1.000 units/sec 60.000 units/min Warning: Forward kinematics must handle duplicate coordinate letters:yy Note: number of [TRAJ]COORDINATES=xyyza exceeds [KINS]JOINTS=4 Note: Individual axis homing is not currently supported for KINEMATICS_IDENTITY with duplicate axis letter note: jog_order='XYZA' note: jog_invert=set([]) task: main loop took 0.141299 seconds Failed to get reference clock time: Input/output error Failed to get reference clock time: Input/output error Failed to get reference clock time: Input/output error Shutting down and cleaning up LinuxCNC... task: 12454 cycles, min=0.000049, max=0.141299, avg=0.001073, 1 latency excursions (> 10x expected cycle time of 0.001000s) Note: Using POSIX non-realtime avc@avc:~/LinuxCncRip/scripts$ sudo uname -a [sudo] password for avc: Linux avc 4.19.0-14-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.171-2 (2021-01-30) x86_64 GNU/Linux avc@avc:~/LinuxCncRip/scripts$ cd.. bash: cd..: command not found avc@avc:~/LinuxCncRip/scripts$ cd .. avc@avc:~/LinuxCncRip$ cd debian avc@avc:~/LinuxCncRip/debian$ ./configure uspace ./configure: line 282: control: Permission denied ./configure: line 297: control: Permission denied ./configure: line 298: control: Permission denied cp: cannot create regular file 'linuxcnc-uspace-dev.files': Permission denied ./configure: line 307: rules: Permission denied chmod: changing permissions of 'rules': Operation not permitted ./configure: line 310: linuxcnc-uspace.files: Permission denied ./configure: line 318: linuxcnc-doc-en.files: Permission denied ./configure: line 318: linuxcnc-doc-fr.files: Permission denied ./configure: line 318: linuxcnc-doc-es.files: Permission denied ./configure: line 318: linuxcnc-doc-cn.files: Permission denied successfully configured for 'uspace-Debian-10'-'uspace'.. avc@avc:~/LinuxCncRip/debian$ sudo ./configure uspace successfully configured for 'uspace-Debian-10'-'uspace'.. avc@avc:~/LinuxCncRip/debian$ cd .. avc@avc:~/LinuxCncRip$ cd src/ avc@avc:~/LinuxCncRip/src$ sudo ./autogen.sh avc@avc:~/LinuxCncRip/src$ sudo ./configure --with-realtime=uspace checking for g++... g++ 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 g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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 boost/lockfree/queue.hpp usability... yes checking boost/lockfree/queue.hpp presence... yes checking for boost/lockfree/queue.hpp... yes checking whether g++ supports C++11 features by default... yes checking build toplevel... /home/avc/LinuxCncRip checking installation prefix... run in place checking for grep... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/grep -E checking for pkg-config... /usr/bin/pkg-config checking for gcc... gcc 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 rpc/rpc.h usability... yes checking rpc/rpc.h presence... yes checking for rpc/rpc.h... yes checking for rtai-config... none checking for xeno-config... none checking for realtime API(s) to use... uspace checking whether to enable userspace PCI access... yes checking for libudev... yes - version 241 checking for cc version... not specified checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... gcc -E checking for usability of linux/hidraw.h... yes checking for usability of rpc/rpc.h... yes checking for libmodbus3... yes - version 3.1.4 checking for libusb-1.0... yes checking for module installation directory... configuring for run-in-place /home/avc/LinuxCncRip/rtlib checking for glib... yes - 2.58.3 checking for GTK 2.4.0 or above... yes - 2.24.32 checking for libgnomeprintui-2.2... no -- printing from classicladder will not be possible 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... /usr/bin/sed checking for ps... /usr/bin/ps checking for kill... /usr/bin/kill checking for whoami... /usr/bin/whoami checking for awk... /usr/bin/awk checking for insmod... /usr/sbin/insmod checking for rmmod... /usr/sbin/rmmod checking for lsmod... /usr/sbin/lsmod checking for pidof... /usr/bin/pidof checking for ipcs... /usr/bin/ipcs checking for fuser... /usr/bin/fuser checking for yapps... no checking for yapps2... /usr/bin/yapps2 checking for mandb... /usr/bin/mandb checking for intltool-extract... /usr/bin/intltool-extract checking for yapps... (cached) /usr/bin/yapps2 checking for python... /usr/bin/python checking whether to build documentation... no checking sys/io.h usability... yes checking sys/io.h presence... yes checking for sys/io.h... yes 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 optreset... no checking for library containing dlopen... -ldl checking for library containing clock_nanosleep... none required checking for tcl... /usr/lib/tcl8.6/tclConfig.sh found checking for tk... /usr/lib/tk8.6/tkConfig.sh found checking whether to check for runtime dependencies... yes checking for BWidget using /usr/bin/tclsh8.6... found checking for BLT using tclsh8.5... not found checking for img::png using /usr/bin/tclsh8.6... found checking for tclX using /usr/bin/tclsh8.6... found checking for python pango and cairo modules... 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 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 whether readline license is compatible with GPL-2... 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 msgfmt... /usr/bin/msgfmt checking python version... OK checking version of python libraries... python2.7 checking match between tk and Tkinter versions... 8.6 checking location of Python header files... /usr/include/python2.7 checking for Python headers... -I/usr/include/python2.7 checking for Python libraries... -lpthread -ldl -lutil checking whether the Boost::Python headers are available... yes checking for boost::python shared library... -lboost_python checking /usr/include/python2.7/Python.h usability... yes checking /usr/include/python2.7/Python.h presence... yes checking for /usr/include/python2.7/Python.h... yes checking for site-package location... /usr/lib/python2.7/dist-packages checking GL/gl.h usability... yes checking GL/gl.h presence... yes checking for GL/gl.h... yes checking GL/glu.h usability... yes checking GL/glu.h presence... yes checking for GL/glu.h... yes checking for glBegin in -lGL... yes checking for working GLU quadrics... yes checking for Xmu headers... checking X11/Xmu/Xmu.h usability... yes checking X11/Xmu/Xmu.h presence... yes checking for X11/Xmu/Xmu.h... yes configure: creating ./config.status config.status: creating ../scripts/rtapi.conf config.status: creating ../scripts/linuxcnc config.status: creating ../scripts/halrun config.status: creating ../scripts/rip-environment config.status: creating ../scripts/haltcl config.status: creating ../scripts/halcmd_twopass config.status: creating ../scripts/realtime config.status: creating ../scripts/linuxcnc_var config.status: creating Makefile.inc config.status: creating Makefile.modinc config.status: creating ../tcl/linuxcnc.tcl config.status: creating ../lib/python/nf.py config.status: creating ../scripts/linuxcncmkdesktop config.status: creating ../share/applications/linuxcnc-latency.desktop config.status: creating ../share/applications/linuxcnc.desktop config.status: creating ../share/desktop-directories/linuxcnc-cnc.directory config.status: creating ../share/desktop-directories/linuxcnc-ref.directory config.status: creating ../share/desktop-directories/linuxcnc-doc.directory config.status: creating ../share/menus/CNC.menu config.status: creating config.h config.status: config.h is unchanged ###################################################################### # LinuxCNC - Enhanced Machine Controller # ###################################################################### # # # LinuxCNC is a software system for computer control of machine # # tools such as milling machines. LinuxCNC is released under the # # GPL. Check out http://www.linuxcnc.org/ for more details. # # # # # # It seems that ./configure completed successfully. # # This means that RT is properly installed # # If things don't work check config.log for errors & warnings # # # # Next compile by typing # # make # # sudo make setuid # # (if realtime behavior and hardware access are required) # # # # Before running the software, set the environment: # # . (top dir)/scripts/rip-environment # # # # To run the software type # # linuxcnc # # # ###################################################################### avc@avc:~/LinuxCncRip/src$ sudo make Reading 198/198 dependency files Done reading dependencies Reading 214/214 realtime dependency files Done reading realtime dependencies Compiling hal/user_comps/mb2hal/mb2hal.c Compiling hal/user_comps/mb2hal/mb2hal_init.c Compiling hal/user_comps/mb2hal/mb2hal_modbus.c Compiling hal/user_comps/mb2hal/mb2hal_hal.c Linking mb2hal Compiling hal/classicladder/arithm_eval.c Compiling hal/classicladder/arrays.c Compiling hal/classicladder/calc.c Compiling hal/classicladder/calc_sequential.c Compiling hal/classicladder/classicladder.c Compiling hal/classicladder/classicladder_gtk.c Compiling hal/classicladder/config.c Compiling hal/classicladder/config_gtk.c Compiling hal/classicladder/drawing.c Compiling hal/classicladder/drawing_sequential.c Compiling hal/classicladder/edit.c Compiling hal/classicladder/edit_gtk.c Compiling hal/classicladder/edit_sequential.c Compiling hal/classicladder/editproperties_gtk.c Compiling hal/classicladder/emc_mods.c Compiling hal/classicladder/files.c Compiling hal/classicladder/files_project.c Compiling hal/classicladder/files_sequential.c Compiling hal/classicladder/manager.c Compiling hal/classicladder/manager_gtk.c Compiling hal/classicladder/protocol_modbus_master.c Compiling hal/classicladder/protocol_modbus_slave.c Compiling hal/classicladder/serial_linux.c Compiling hal/classicladder/socket_modbus_master.c Compiling hal/classicladder/socket_server.c Compiling hal/classicladder/spy_vars_gtk.c Compiling hal/classicladder/symbols.c Compiling hal/classicladder/symbols_gtk.c Compiling hal/classicladder/vars_names.c Compiling hal/classicladder/vars_access.c Compiling hal/utils/miscgtk.c Linking classicladder Compiling hal/utils/meter.c Linking halmeter Compiling hal/utils/scope.c Compiling hal/utils/scope_horiz.c Compiling hal/utils/scope_vert.c Compiling hal/utils/scope_trig.c Compiling hal/utils/scope_disp.c Compiling hal/utils/scope_files.c Linking halscope Compiling emc/usr_intf/axis/extensions/emcmodule.cc Linking python module linuxcnc.so ./config.status --file=../docs/man/man1/linuxcnc.1:../docs/src/man/man1/linuxcnc.1.in config.status: creating ../docs/man/man1/linuxcnc.1 Updating 'whatis' database Purging old database entries in /home/avc/LinuxCncRip/src/../docs/man... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man... Updating index cache for path `/home/avc/LinuxCncRip/src/../docs/man/man1'. Wait...done. Checking for stray cats under /home/avc/LinuxCncRip/src/../docs/man... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man/cat9... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man/cat1... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man/images... Purging old database entries in /home/avc/LinuxCncRip/src/../docs/man/es... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man/es... Processing manual pages under /home/avc/LinuxCncRip/src/../docs/man/cat3... 1 man subdirectory contained newer manual pages. 1 manual page was added. 0 stray cats were added. 0 old database entries were purged. You now need to run 'sudo make setuid' in order to run in place with access to hardware. avc@avc:~/LinuxCncRip/src$ sudo ma macptopbm mail.mailutils makeconv makeindex manpage-alert mass-bug mag mailq makedtx makejvf manpath match_parens maho600gui mailx make-first-existing-target make-ssl-cert mapfile mathspic maidag make makeglossaries man mapscrn mawk mail make4ht makeglossaries-lite mandb mariadb_config max5gui avc@avc:~/LinuxCncRip/src$ sudo make setuid chown root ../bin/rtapi_app chmod 4750 ../bin/rtapi_app chown root ../bin/linuxcnc_module_helper chmod 4750 ../bin/linuxcnc_module_helper avc@avc:~/LinuxCncRip/src$ cd .. avc@avc:~/LinuxCncRip$ cd scripts/ avc@avc:~/LinuxCncRip/scripts$ . ./rip-environment This script only needs to be run once per shell session. avc@avc:~/LinuxCncRip/scripts$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat' Machine configuration file is 'maquinaEthercat.ini' Starting LinuxCNC... Found file(REL): ./maquinaEthercat.hal ./maquinaEthercat.hal:6: execv(/home/avc/LinuxCncRip/bin/rtapi_app): Permission denied ./maquinaEthercat.hal:6: waitpid failed /home/avc/LinuxCncRip/bin/rtapi_app trivkins ./maquinaEthercat.hal:6: /home/avc/LinuxCncRip/bin/rtapi_app exited without becoming ready ./maquinaEthercat.hal:6: insmod for trivkins failed, returned -1 Shutting down and cleaning up LinuxCNC... /home/avc/LinuxCncRip/scripts/realtime: line 176: /home/avc/LinuxCncRip/bin/rtapi_app: Permission denied LinuxCNC terminated with an error. You can find more information in the log: /home/avc/linuxcnc_debug.txt and /home/avc/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal avc@avc:~/LinuxCncRip/scripts$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat' Machine configuration file is 'maquinaEthercat.ini' Starting LinuxCNC... Found file(REL): ./maquinaEthercat.hal ./maquinaEthercat.hal:6: execv(/home/avc/LinuxCncRip/bin/rtapi_app): Permission denied ./maquinaEthercat.hal:6: waitpid failed /home/avc/LinuxCncRip/bin/rtapi_app trivkins ./maquinaEthercat.hal:6: /home/avc/LinuxCncRip/bin/rtapi_app exited without becoming ready ./maquinaEthercat.hal:6: insmod for trivkins failed, returned -1 Shutting down and cleaning up LinuxCNC... /home/avc/LinuxCncRip/scripts/realtime: line 176: /home/avc/LinuxCncRip/bin/rtapi_app: Permission denied LinuxCNC terminated with an error. You can find more information in the log: /home/avc/linuxcnc_debug.txt and /home/avc/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal avc@avc:~/LinuxCncRip/scripts$ cd .. avc@avc:~/LinuxCncRip$ cd bin/ avc@avc:~/LinuxCncRip/bin$ sudo chmod 777 rtapi_app avc@avc:~/LinuxCncRip/bin$ cd .. avc@avc:~/LinuxCncRip$ cd scripts/ avc@avc:~/LinuxCncRip/scripts$ linuxcnc LINUXCNC - 2.8.1 Machine configuration directory is '/home/avc/linuxcnc/configs/Maquina_ethercat' Machine configuration file is 'maquinaEthercat.ini' Starting LinuxCNC... Found file(REL): ./maquinaEthercat.hal Note: Using POSIX non-realtime Failed to get reference clock time: Input/output error Warning: Missing required specifier (has angular joint or axis): [DISPLAY]MAX_ANGULAR_VELOCITY or [TRAJ]MAX_ANGULAR_VELOCITY See the 'INI Configuration' documents note: MAXV max: 5.000 units/sec 300.000 units/min note: LJOG max: 5.000 units/sec 300.000 units/min note: LJOG default: 0.250 units/sec 15.000 units/min note: AJOG max: 1.000 units/sec 60.000 units/min note: AJOG default: 1.000 units/sec 60.000 units/min waiting for s.joints<0>, s.kinematics_type<0> waiting for s.joints<0>, s.kinematics_type<0> Failed to get reference clock time: Input/output error Warning: Forward kinematics must handle duplicate coordinate letters:yy Note: number of [TRAJ]COORDINATES=xyyza exceeds [KINS]JOINTS=4 Note: Individual axis homing is not currently supported for KINEMATICS_IDENTITY with duplicate axis letter note: jog_order='XYZA' note: jog_invert=set([]) task: main loop took 0.048966 seconds Failed to get reference clock time: Input/output error Failed to get reference clock time: Input/output error Failed to get reference clock time: Input/output error Failed to get reference clock time: Input/output error