Complete HOW-TO Linux Mint 18.1 32/64 RTAI or PREEMPT with RIP install or deb

More
8 years 8 months ago #106116 by shortcircuit48
I have tried this
hamish@hamish-Presario-CQ57-Notebook-PC ~ $ cd /home/hamish/linuxcnc-dev
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev $ ./linuxcncbash: ./linuxcnc: No such file or directory
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev $

Please excuse my constant cries for help. I am past my three score and ten so the brain is slowing down a bit. I appreciate the help being given and apologise but hope others can learn.

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #106122 by rodw
You may have a syntax error. Watch the first dot.
Code:
$ . ../scripts/rip-environment $ linuxcnc
(Stolen from www.wiki.eusurplus.com/index.php?title=LinuxCNC_Run_In_Place )
I suggest you find the scripts folder first. It should be under linuxcnc-dev folder

The example above might have been designed to run from the ~/linuxcnc-dev/src folder

Spare a thought for people like me that had to work this out before cncnoob wrote his tutorial.
The following user(s) said Thank You: shortcircuit48

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #106125 by shortcircuit48
Getting a bit confused here >Will read the "stolen" link and try again. Tried various
hamish@hamish-Presario-CQ57-Notebook-PC ~ $ cd /home/hamish/linuxcnc-dev/scripts/
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/scripts $ . scripts/rip-environment
bash: scripts/rip-environment: No such file or directory
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/scripts $ ./linuxcnc
bash: ./linuxcnc: No such file or directory
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/scripts $ cd /home/hamish/linuxcnc-dev/src
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/src $ ./linuxcncbash: ./linuxcnc: No such file or directory
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/src $

There appears to be different stages in the "stolem" that I was unaware of doing
$ cd src
$ ./autogen.sh
$ ./configure

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #106127 by rodw
Its probably best to just follow one prophet. If you go back to the first couple of posts in this thread. that was covered and it looks like he runs that line from the scripts folder.

also don't forget the sudo make setuid after compiling. It tells you to do that on the screen at the end of compilation
The following user(s) said Thank You: shortcircuit48

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #106128 by shortcircuit48
Going round in circles again

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 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 #
# #
######################################################################


hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/src $ make
Reading 62/192 dependency files
Done reading dependencies
Reading 0/198 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
make: yapps: Command not found
hal/utils/Submakefile:101: recipe for target 'objects/hal/utils/halcompile.py' failed
make: *** [objects/hal/utils/halcompile.py] Error 127
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/src $ sudo make setuid
chown root ../bin/rtapi_app
chmod 4750 ../bin/rtapi_app
chown root ../bin/linuxcnc_module_helper
chown: cannot access '../bin/linuxcnc_module_helper': No such file or directory
Makefile:483: recipe for target 'setuid' failed
make: *** [setuid] Error 1
hamish@hamish-Presario-CQ57-Notebook-PC ~/linuxcnc-dev/src $

Please Log in or Create an account to join the conversation.

More
8 years 8 months ago #106129 by shortcircuit48
Thanks for that input. I am standing back for a bit just to unfrazel my brain. So near

Please Log in or Create an account to join the conversation.

Time to create page: 0.290 seconds
Powered by Kunena Forum