EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
<== Date ==> <== Thread ==>

Subject: EPICS 7 base on WSL2
From: "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 30 Apr 2021 21:20:45 +0000

Anybody tried running EPICS under WSL?  I was just playing around, trying to decide if heading down the EPICS path makes sense for our lab. 

 

I followed the docs at: https://docs.epics-controls.org/projects/how-tos/en/latest/getting-started/installation.html

I had to edit the EpicsHostArch script to change the line endings from CRLF to LF (or was it vice-versa?).  After that, the build went well.  I tried to run softIoc to do a test, and got the following:

 

$ softIoc

Error: Invalid character 'c'

at or before "c" in file "/home/leblanc/EPICS/epics-base/bin/linux-x86_64/../../dbd/softIoc.dbd" line 1

Error: Invalid character 'a'

Error: Invalid character 'l'

Error: Invalid character 'c'

Error: Invalid character 'o'

Error: Invalid character 'u'

Error: Invalid character 't'

Error: Invalid character 'D'

Error: Invalid character 'O'

Error: Invalid character 'P'

Error: Invalid character 'T'

Error: syntax error

Error: Failed to load DBD file: /home/leblanc/EPICS/epics-base/bin/linux-x86_64/../../dbd/softIoc.dbd

 

At which point   I decided that was enough for a Friday night.  I wonder if it might also be line endings, since file reports:

 

$ file EPICS/epics-base/dbd/softIoc.dbd

EPICS/epics-base/dbd/softIoc.dbd: ASCII text, with CRLF, LF line terminators

 

Am I out to lunch, or is it worth a try next week?

     Greg

 

--

Gregory Leblanc

Accelerator Engineer

Edwards Accelerator Lab - Ohio University

123 University Terrace

Athens, OH 45701

leblanc at ohio.edu

M: (401) 52-OUAL1 or (401) 526-8251

 


Replies:
RE: EPICS 7 base on WSL2 Freddie Akeroyd - STFC UKRI via Tech-talk
Re: EPICS 7 base on WSL2 Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Larger build products in base-7.0.5 Kevin Peterson via Tech-talk
Next: RE: EPICS 7 base on WSL2 Freddie Akeroyd - STFC UKRI via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
Navigate by Thread:
Prev: Re: Larger build products in base-7.0.5 Kevin Peterson via Tech-talk
Next: RE: EPICS 7 base on WSL2 Freddie Akeroyd - STFC UKRI via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  <20212022  2023  2024 
ANJ, 02 May 2021 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·