Dear EPICS Tech-Talk Community,
I am trying to install and build the Galil motor drivers for EPICS but have run into several dependency-related issues. Specifically, I cannot successfully build the
sscan module (required by Galil) due to a missing scanProg.o , and I am unable to install the
seq module (required by sscan) due to a missing lexer.l .
System Information
Steps Taken & Issues Encountered
-
Installed Required EPICS Modules
-
Cloned and built EPICS Base successfully.
-
Installed asyn, motor, calc, autosave, and sscan using:
-
Configured ~/support/sscan/configure/RELEASE with:
EPICS_BASE=/home/jonathanhai/epics-base
ASYN=/home/jonathanhai/support/asyn
MOTOR=/home/jonathanhai/support/motor
CALC=/home/jonathanhai/support/calc
AUTOSAVE=/home/jonathanhai/support/autosave
-
Successfully built asyn, motor, calc, and autosave.
-
Failure to Build
sscan
-
Attempted to Install
seq , but lexer.c Is Missing
-
Cloned seq using:
-
Build fails with:
make[3]: *** No rule to make target 'lexer.c', needed by 'lexer.o'. Stop.
-
Checked for lexer.l :
find ~/support/seq -name "lexer.l"
No results, meaning
lexer.l is missing.
-
Installed flex and bison, then retried building
seq :
sudo apt install flex bison
cd ~/support/seq
make clean
make
Same error persists (lexer.c missing).
-
Attempted to manually generate
lexer.c , but lexer.l is not present:
cd ~/support/seq/src/snc
flex -o lexer.c lexer.l
Error: "flex: can't open lexer.l"
Questions
-
Should scanProg.o in
sscan be generated from scanProg.st ?
-
If so, does
seq need to be installed first? -
Is there an alternative way to build
sscan without scanProg.st ?
-
Why is lexer.l missing from
seq ?
-
Has it been removed in recent versions? Should I be using an older release?
-
If I manually download
lexer.l , will seq build correctly?
-
Are my dependencies set up correctly in
configure/RELEASE ?
-
Should I include additional modules to resolve this?
I'm very new to EPICS, and any help would be greatly appreciated! Thank you for your time.
Best regards,
Jonathan Hai
Researcher/Tech Monkey
CNBL | Department of Physics and Astronomy
McMaster University
Sapere Aude
|