Re: Emc Help Required



Stephen Goldsmith wrote:

> Hello All
> 
> Just installed rtlinux-3.0 and this seems to be functioning from the
> examples, on a Redhat7 Dist.
> The kernel = 2.2.19 (which is less than the original Redhat7 kernel
> 2.2.22).
> 
> Downloaded the EMC emc-1.1-17.src.tar
> Unpacked it!
> 
> Ran the ./install script which I think succeeded with only minor
> warnings.
> 
> When attempting to run ./emc.run I get the following error :
> 
> The current real-time platform appears to be 2_2_19 but no directory
> exists for this platform.
> Either install EMC for this platform or create a symbolic link to an
> existing platform.
> 
> 
> Any help on this matter would be greatly appreciated before I pull out
>  all my hair!
> 
> Also does Emc run on this kernel version and rtlinux3.0 ?
> 
> Regards
> 
> Steve G.
> 
> 
> 
> 
> 



As I recall the emc.1.1-17 release was made just before RTLinux 3.0 
final was released. So while some of the porting to 3.0 had been done 
already using test versions of 3.0 it was really intended for 2.2. We 
have been running the CVS version of EMC under 3.0 for some time now.
The CVS version changes from week to week. So sometimes you can get a 
reasonably stable system and sometimes it is completely broken.

One of the changes from RTL 2.2 to 3.0 was that they dropped the rtl
version number from the EXTRAVERSIONINFO flag when building the kernel
so uname -s on a RTL 2.2 system says something like 2.2.14-rtl2.2 but on 
a 3.0 system something like 2.2.14-rtl. This confused the bash script 
emc.run that tries to determine the rtlinux version number.

The new bash script doesn't use uname any more, it either gets it out of 
a file or asks the user if the file doesn't exist.

One workaround you could try would be to do this

cd emc/plat
ln -s rtlinux_3_0 2_2_19

-- Will








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