Re: run errors with new install




On Wed, 18 Oct 2000 17:11:42 -0400 (EDT), Ray said:

> 
>  
>  List 
>  
>  I copied the sourceforge respository today and attempted an install.  My
>  Linux distribution is Mandrake 7.0 with updated glibc development version
>  2.1.3-16mdk  and compiler version 2.95.2.
>  
>  I used Terry's mod to sys/io.h. 
>  
>  The compile error logs are all empty.  But when I try to run EMC I get the
>  following report.
>  
>  [root-at-localhost emc]# ./emc.run
>  ./emc.run: cd: ./emc.run/..: Not a directory


There is a line in the script that says 
cd $0/..

The attempt is to make sure the script is always run from the top-level emc
directory. It seems to work well for the versions of bash I tried including
1.14.7(1), but not for several other shells.

You may want to just delete this line and remember to always start the .run
script from the directory with it
in it.

I have tried other things to accomplish the same thing and be compatible with
other shells. But so far all of those solutions have had thier own problems.



>  Current platform is linux_2_2_14
>  Current real-time platform is rtlinux_2_2
>  inivar = plat/linux_2_2_14/bin/inivar
>  INIFILE = emc.ini
>  starting emc...
>  Xlib: connection to ":0.0" refused by server
>  Xlib: Client is not authorized to connect to Server
>  Application initialization failed: couldn't connect to display ":0
>  bad image file emc.gif
>  starting EMC MOTION PROGRAM -- steppermod.o...done
>  starting EMC IO PROGRAM --  bridgeportio...done
>  starting EMC TASK PROGRAM -- bridgeporttask...done
>  running EMC DISPLAY PROGRAM -- xemc...
>  Xlib: connection to ":0.0" refused by server
>  Xlib: Client is not authorized to connect to Server
>  Error: Can't open display: :0


>  
>  

-- 
-------------------------------------------------
William Penn Shackleford III			shackle-at-nist.gov
National Institute of Standards & Technology	Tel:	(301) 975-4286
100 Bureau Drive Stop 8230			FAX:	(301) 990-9688
Gaithersburg MD  20899	USA
http://www.isd.mel.nist.gov/personnel/shackleford/
Office Location: Bldg. 220 Rm A253 





Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact