On Fri, 2007-12-28 at 12:30 +0200, Alex Joni wrote:
> Nope, it's this one:
> http://cvs.linuxcnc.org/cgi-bin/cvsweb.cgi/emc2/src/emc/usr_intf/axis/scripts/axis.py.diff?r1=1.143;r2=1.144;f=h
> 
> hmm, I just read my other email and it seems I forgot to tell you that you 
> have to set the env AXIS_NO_HAL in order for AXIS to work on a machine 
> without HAL.
> 
> export AXIS_NO_HAL=1
> /path/to/axis -ini axis-remote.ini
> 
> Regards,
> Alex

I have two PC's with Ubuntu/EMC 2.2.2 CD installations. I set them up as
noted here:

http://www.wallacecompany.com/machine_shop/EMC2/remote_notes.html

To summarize, I set up an emc2 directory on my file server, which has a
configs directory with the .ini, .hal, .nml, .var and etc. files for
both EMC PC's. I set up NFS on both EMC PC's and mounted the file server
emc2 directory such that emc2 appears as it normally would in a standard
setup. There is a serverXX.ini, .hal and .nml; and a clientXX..ini, .hal
and .nml. There is one .var file for both. The .nml files turned out to
be the same, so I should be able to have one .nml file for both.

I brought up the EMC server with the desktop menus and tkemc as the
display, then the client the same way and verified that it was working
properly.

Then I copied axis.py rev. 1.143 and moved it to /usr/bin/axis on the
client. I changed the client .ini to invoke axis instead of tkemc and
commented out files in the [HAL] section. I invoked axis from the client
command line with:

axis -ini clientXX.ini

and got an error:

/usr/bin/env: python2: No such file or directory

>From above, it looks like I forgot to handle the .tbl file but that
should not be a factor. I suppose the error message is indicating that
the program env returned with a message that it could not find python2?

-- 
Kirk Wallace (California, USA
http://www.wallacecompany.com/machine_shop/ 
Hardinge HNC lathe,
Bridgeport mill conversion, doing XY now,
Zubal lathe conversion pending)


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to