#40
Post
napisał: kris79 » 17 kwie 2013, 00:09
dzięki za odpowiedź.
Czyli po make install dajemy dalej sudo make setuid i następnie odpalamy linuxcnc dalej według tej instrukcji, czy po make już nie trzeba tych dwóch opcji uruchamiać i można odpalać program z katalogu ze źródłami?
.
A gdzie wgrać pliki z twoich procedur:
- ngcgui.txt
- toczenie.ngc.txt
bo wyczytałem, że jeden z nich i tak jest czytany z katalogu systemowego usr?
Tropchę się w tym na razie gubię.
[ Dodano: 2013-04-17, 00:22 ]
Chyba cos zepsulem:
kw@kw:~/linuxcnc2/src$ cd ..
kw@kw:~/linuxcnc2$ cd scripts
kw@kw:~/linuxcnc2/scripts$ ./linuxcnc
LINUXCNC - 2.6.0~pre
Machine configuration directory is '/home/kw/linuxcnc/configs/sim/ngcgui'
Machine configuration file is 'ngcgui_lathe.ini'
Starting LinuxCNC...
module_helper is not setuid root
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
RTAPI: ERROR: could not open shared memory (errno=2)
./linuxcnc: line 437: 21736 Segmentation fault $HALCMD stop
RTAPI: ERROR: could not open shared memory (errno=2)
./linuxcnc: line 437: 21737 Segmentation fault $HALCMD unload all
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
RTAPI: ERROR: could not open shared memory (errno=2)
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
module_helper is not setuid root
Cleanup done
LinuxCNC terminated with an error. You can find more information in the log:
/home/kw/linuxcnc_debug.txt
and
/home/kw/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal
kw@kw:~/linuxcnc2/scripts$ cd ..
kw@kw:~/linuxcnc2$ cd src
kw@kw:~/linuxcnc2/src$ make install
make: Entering directory `/home/kw/linuxcnc2/src'
Makefile:449: *** You configured run-in-place, but are trying to install.
For an installable version, run configure without --enable-run-in-place
and rebuild. Stop.
make: Leaving directory `/home/kw/linuxcnc2/src'
kw@kw:~/linuxcnc2/src$