Subject: Follow-up: Issues Installing Galil EPICS Drivers – seq &
sscan Still Not Building
Hi Kasemir,
I appreciate the help so far regarding my Galil motor driver installation issues. I've followed the advice given and have attempted multiple fixes, but I’m still unable to get the required dependencies (seq and
sscan ) to build.
Recap of the Issue
-
I need to install the Galil motor drivers, but the build fails because
sscan does not compile. -
sscan fails because scanProg.o is missing, which (I believe) needs
seq to be installed. -
seq fails to build due to a missing lexer.c , which should be generated from
lexer.l by e_flex . -
e_flex is broken on my system, preventing lexer.c from being created.
Steps I Have Taken So Far
1. Verified e_flex and antelope Exist in EPICS Base
2. Checked for lexer.l in seq
3. Checked for flex.skl (Skeleton File Required by e_flex )
4. Installed System flex and bison as an Alternative
5. Rebuilt EPICS Base
Current Issues & Questions
-
Why is e_flex broken?
-
It fails with "unknown flag '-'" when run manually.
-
It also reports "can't open skeleton file DEFAULT_SKELETON_FILE" when used.
-
Should I be specifying a
FLEX_SKEL environment variable?
-
Why is lexer.l failing with "premature EOF" when running
flex ?
-
Could
lexer.l be corrupted or incomplete? -
If so, can I manually download a working version?
-
Is there a way to bypass
e_flex and manually create lexer.c ?
-
If I download a pre-generated
lexer.c , will the build proceed?
-
Would switching to an older version of
seq help?
-
If so, which version would you recommend?
I really appreciate any further guidance on this! Thanks again for your time.
When you build epics base, that generates base/bin/…./antelope and e_flex, so basically yacc and (f)lex.
Do you have the base/bin/HOST_ARCH folder on your PATH?
Then it should find those when building the other modules
When you build epics base, that generates base/bin/…./antelope and e_flex, so basically yacc and (f)lex.
Do you have the base/bin/HOST_ARCH folder on your PATH?
Then it should find those when building the other modules
|