2014-04-23 10:13 GMT-04:00 Michael Haberler <[email protected]>:

> well, my github repo page says this: "private repo - nothing useful here"
>

sorry, did not notice that, but I saw a link to that repo that was posted
by yourself, I saw a "clone link" there and build instructions as well...
anyway, that does not matter really much :)


> please see www.machinekit.io - this links to install instructions
>
> the new planner and jog-while-paused are long since in
> github.com/machinekit/machinekit (only 1 branch there - master)
>

I got the source code, tried to follow instructions:
./autogen.sh
./configure --with-posix and --with-rtai-kernel.
make
sudo make setuid

Here is what I got after sudo make setuid and trying to run it with some
sim config:

viesturs@ubuntu:~/machinekit/src$ sudo make setuid
[sudo] password for viesturs:

make: Entering directory `/home/viesturs/machinekit/src'
test -f ../libexec/linuxcnc_module_helper && chown root
../libexec/linuxcnc_module_helper && chmod 4750
../libexec/linuxcnc_module_helper || true
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_posix && chown root ../libexec/rtapi_app_posix
&& chmod 4750 ../libexec/rtapi_app_posix || true;
Warning:  Logfile '/var/log/linuxcnc.log' does not exist.
          Hint:  Be sure the (possibly empty) logfile exists;
          and restart rsyslogd; rsyslogd will not create
          missing files.

Warning:  No rate limit in rsyslogd is set.
          The rsyslogd drops logs when incoming at higher than
          the rate configured by 'SystemLogRateLimitBurst'.  The
          default rate is lower than LinuxCNC requires when
          running in debug mode.
          Hint:  Put src/rtapi/rsyslogd-linuxcnc.conf into
          /etc/rsyslog.d/linuxcnc.conf for a reasonable default,
          and restart rsyslogd.


Warning:  /etc/security/limits.d/linuxcnc.conf does not exist, and a
reasonable
          'memlock' value not found in configuration.
          Please check the system configuration and correct.
          Hint:  src/rtapi/shmdrv/limits.d-linuxcnc.conf may
          be a reasonable example to install in
          /etc/security/limits.d/linuxcnc.conf.

Warning:  No udev configuration for shmdrv was found.
          The user running LinuxCNC must have write access to
          /dev/shmdrv when running kernel threads.  This may
          be configured in /etc/udev/rules.d.
          Hint:  see src/rtapi/shmdrv/shmdrv.rules for a
          reasonable default.

make: [setuid] Error 1 (ignored)
make: Leaving directory `/home/viesturs/machinekit/src'

viesturs@ubuntu:~/machinekit/src$ cd /home/viesturs/machinekit
viesturs@ubuntu:~/machinekit$ source scripts/rip-environment
viesturs@ubuntu:~/machinekit$ linuxcnc
LINUXCNC - 2.6.0~pre
Machine configuration directory is
'/home/viesturs/linuxcnc/configs/sim.axis'
Machine configuration file is 'axis.ini'
Starting LinuxCNC...
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
shmdrv_driver_fd: cant access /dev/shmdrv - permission denied; shmdrv.rules
not installed?
halcmd: hal_init() failed: -22
NOTE: 'rtapi' module must be loaded
Cleanup done
LinuxCNC terminated with an error.  You can find more information in the
log:
    /home/viesturs/linuxcnc_debug.txt
and
    /home/viesturs/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
viesturs@ubuntu:~/machinekit$


Viesturs
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to