CAD CAM EDM DRO - Yahoo Group Archive

howto axis-1.0 and emc2

Posted by tomp_tag@i...
on 2005-06-18 23:45:53 UTC
i got axis to build with emc2 and to run
very nice work guys!
emc was slick with hal
and axis is very modern

i had to again vary from the written docs to get things to work
it seems that how things are done depends on what time of the day it is
meaning things change too fast for the docs to keep up
so
it's now 1:40 am 19 June 2005
if you wanna get emc2 and axis, here's what I did

find a place to put stuff, both emc2 and axis-1.0 sources

since axis (axis setup emc_setup.py) looks for emc2 in certain places...
use one of those places
(i know you cant tell where it looks and this is hindsight but this works)
pick a place from
/usr
/usr/emc2
/usr/emc
/usr/local
/usr/local/emc2
/usr/local/emc
/usr/src
/usr/src/emc2
/usr/src/emc
/usr/local/src
/usr/local/src/emc2
/usr/local/src/emc

i only have 1 success so cant vouch for all of em
i used /usr/local/src
it looked like

/usr/local/src/emc2 (dir from cvs anonymous checkout)
/axis-1.0.tar.gz
/axis-1.0-20050618.patch

then, as root, exec'd the following cmds
cd /usr/local/src/
tar -zxvf axis-1.0.tar.gz
cd axis-1.0
patch -p0 <../axis-1.0-20050618.patch
env EMC2ROOT=/usr/local.src.emc2 python setup.py install

then i backed up /usr/local/emc2/config/emc.ini -> emcb4axis.ini
and edited emc.ini
DISPLAY = axis

then i ran emc from a terminal in X
cd /usr/local/src/emc2
scripts/emc.run

all of this as root
(dangerous but it worked)

phew!

staggerlytom


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

Discussion Thread

tomp_tag@i... 2005-06-18 23:45:53 UTC howto axis-1.0 and emc2