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