CAD CAM EDM DRO - Yahoo Group Archive

Re: [CAD_CAM_EDM_DRO] .runinfo for emc2 build

Posted by tomp_tag@i...
on 2005-06-18 15:52:09 UTC
<reply to self>
notes on anonymous cvs build of emc2

<short story>
copy from your cvs dir ( mine was ~/emc2 , subsitute your path )
~/emc2/scripts/.runinfo
to
/usr/realtime/bin/rtai-load

<long story>
i used the Live BDI Rc4.2 cd, and installed to hard drive

i used the instructions found
in http://www.linuxcnc.org/EMC2-description.html
and in .../emc2/docs

i had to diverge from those in the following way
(this is what just what 'worked' for me)

be root (for now anyways)
begin in a text session

follow notes on
http://www.linuxcnc.org/EMC2-description.html
with following exceptions

when you exec the cvs cmd
file will be downloded to the current directory
(the windows cvs notes inferred that an environment variable held the path)
so, have a place to put the cvs files
where you are doesnt matter so much, it's good to be new & clean & empty .
mkdir ~/emc2src will do nicely

the notes to get the files from cvs as anonymous work fine
note: the cvs login rqrs a 'return' for the pswd
(dont type anything just press ENTER key)

then you can follow the instructions up to

scripts/emc.run configs/emc.ini

dont do that yet
if you do, you'll likely get the following
error cant load rtapi
error cant load hal_lib

so i looked around
and found in the ~/emc2 tree is
~/emc2/scripts/emc.run & realtime & hal_demo executables
but none of these would run
each reported the same 2 errors
but the realtime script leads me to
/usr/realtime/bin/rtai-load
which fails cuz it doesnt have .runinfo
BUT ~/emc2/scripts DOES
so i copies it
and then run
/usr/realtime/bin/rtai-load
and that cmd (at least) runs w/o error
reports "using /lib/modules/2.4.25-adeos/kernel/adeos/adeos.o

next steps:
still root
but now in an terminal on X desktop
cd ~/emc2src to keep same scenario
scripts/emc.run ( didnt need 'configs/emc.ini')

and it runs! woohoo!

also
'scripts/hal_demo circle' runs woohoo!



should i need to copy the file .runinfo?
or did I manage to run the wrong set of files?

staggerlyTom

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Discussion Thread

tomp_tag@i... 2005-06-18 15:52:09 UTC Re: [CAD_CAM_EDM_DRO] .runinfo for emc2 build