sudo apt-get install machinekit-rt-preempt
....
Setting up xdot (0.7-2) ...
Setting up machinekit-rt-preempt (0.1.1536747208.git041712d-1~stretch) ...
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_generic.dbg': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.bin': No such file or directory
ln: failed to create symbolic link '/usr/lib/linuxcnc/rt-preempt/pru_decamux.dbg': No such file or directory
dpkg: error processing package machinekit-rt-preempt (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of machinekit:
machinekit depends on machinekit-rt-threads; however:
Package machinekit-rt-threads is not installed.
Package machinekit-rt-preempt which provides machinekit-rt-threads is not configured yet.
dpkg: error processing package machinekit (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Processing triggers for systemd (232-25+deb9u2) ...
Errors were encountered while processing:
machinekit-rt-preempt
machinekit
E: Sub-process /usr/bin/dpkg returned an error code (1)
--
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 machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
sudo apt-get install machinekit-rt-preempt
Using
sudo apt-get install machinekit-rt-preempt
Installation went OK.But when trying to run machinekit, there is error of realtime is not running.
sudo apt-get install machinekit-posix
not a problem.
sudo apt-get install machinekit-rt-preempt
still a problem.
How do I fix it?
Thanks,
Tac.
MACHINEKIT - 0.1
Machine configuration directory is '/home/pi/machinekit/configs/sim.tklinuxcnc'
Machine configuration file is 'servo_sim.ini'
Starting Machinekit...
rtapi_msgd command: /usr/libexec/linuxcnc/rtapi_msgd --instance=0 --rtmsglevel=1 --usrmsglevel=1 --halsize=524288
rtapi_app command: /usr/libexec/linuxcnc/rtapi_app_rt-preempt --instance=0
halcmd: cant connect to rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout
halcmd: the rtapi:0 RT demon is not running - please investigate /var/log/linuxcnc.log
halcmd: the msgd:0 logger demon is not running - please investigate /var/log/linuxcnc.log
E: 18-09-17 15:17:07 dangling 'DEALER' socket created at hal/utils/halcmd_rtapiapp.cc:281
io started
halcmd: cant connect to rtapi_app: -1 (uri= uuid=a42c8c6b-4025-4f83-ba28-dad21114744a): rtapi_rpc(): reply timeout
./ configure --with-platform-raspberry
Sep 21 13:24:10 realtimepi msgd:0: startup pid=4467 flavor=posix rtlevel=1 usrlevel=1 halsize=524288 shm=Posix cc=gcc 6.3.0 20170516 version=unknown
pi@realtimepi:~ $ uname -a
Linux realtimepi 4.14.69-v7+ #1141 SMP Mon Sep 10 15:26:29 BST 2018 armv7l GNU/Linux