Hello, everyone, My OS is lubuntu 17.10. My board is a x86_64 platform with ATOM CPU. I installed xenomai 3.0.6 with linux 4.1.18. Xenomai latency test is ok.
I build machinekit from source: cd src ./autogen.sh ./configure --with-xenomai --with-xeno-config=/usr/xenomai/bin/xeno-config from the "configure" output, I can figure out that xenomai user space is used. but when I run "sudo make setuid" "source ./scripts/rip-environment" "machinekit" I just can't start it normally. The output info is below. Can anyone help? Thanks! I did not change anything else. robot@ubuntu:/Downloads/machinekit-master/src$ sudo chmod 777 /var/log/linuxcnc.log robot@ubuntu:/Downloads/machinekit-master/src$ sudo make setuid ../scripts/check-build-vs-configure-sha: line 11: in: command not found WARNING: configure was last run at Wed Dec 20 09:01:15 CST 2017 at git version WARNING: now the git version is: not in a git repo WARNING: consider executing 'make clean; sh autogen.sh; ./configure ' before running make make: Entering directory '/home/robot/Downloads/machinekit-master/src' test -f ../libexec/pci_read && chown root ../libexec/pci_read && chmod 4750 ../libexec/pci_read || true test -f ../libexec/pci_write && chown root ../libexec/pci_write && chmod 4750 ../libexec/pci_write || true test -f ../libexec/rtapi_app_xenomai && chown root ../libexec/rtapi_app_xenomai && chmod 4750 ../libexec/rtapi_app_xenomai || true; make: Leaving directory '/home/robot/Downloads/machinekit-master/src' robot@ubuntu:/Downloads/machinekit-master$ . ./scripts/rip-environment robot@ubuntu:/Downloads/machinekit-master$ machinekit MACHINEKIT - 0.1 Machine configuration directory is '/home/robot/Downloads/machinekit-master/configs/sim' Machine configuration file is 'emcweb.ini' Starting Machinekit... Warning - /home/robot/Downloads/machinekit-master/libexec/rtapi_app_posix not setuid 'sudo make setuid' missing? /home/robot/Downloads/machinekit-master/scripts/realtime: line 192: /home/robot/Downloads/machinekit-master/libexec/rtapi_app_posix: No such file or directory rtapi_app startup failed - aborting 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted io started 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted halcmd loadusr io started 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted Shutting down and cleaning up Machinekit... 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted 0"000.000| BUG in low_init(): [main] binding failed: Operation not permitted Warning - /home/robot/Downloads/machinekit-master/libexec/rtapi_app_posix not setuid 'sudo make setuid' missing? Cleanup done Machinekit terminated with an error. You can find more information in the log: /home/robot/linuxcnc_debug.txt and /home/robot/linuxcnc_print.txt as well as in the output of the shell command 'dmesg' and in the terminal -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
