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  2021  2022  2023  2024  <2025 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  2021  2022  2023  2024  <2025
<== Date ==> <== Thread ==>

Subject: Issues Installing Galil EPICS Drivers – sscan & seq Dependencies Not Building
From: Jonathan Hai via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 10 Mar 2025 16:54:37 +0000
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
  • Operating System: Ubuntu 24.04
  • EPICS Base Version: EPICS 7.0.9
  • Compiler: GCC 13.3.0
  • Support Modules Installed:
    • asyn
    • motor
    • calc
    • autosave
    • sscan (fails to build)
    • seq (fails to build)

Steps Taken & Issues Encountered
  1. Installed Required EPICS Modules

  1. Failure to Build sscan
    • Error during build:
      make[3]: *** No rule to make target 'scanProg.o', needed by 'libscanProgress.a'.  Stop.
    • Checked for scanProg.o, but no such file exists.
    • Looked for scanProg.cpp, but it does not exist either.
    • Instead, found scanProg.st, suggesting scanProg.o should be built from scanProg.st using seq.

  1. 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
  1. 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?
  2. 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?
  3. 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

 


Navigate by Date:
Prev: Re: SNL question to the community Ralph Lange via Tech-talk
Next: Re: Issues Installing Galil EPICS Drivers – sscan & seq Dependencies Not Building Jonathan Hai 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  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: [EXTERNAL] Re: Monitoring events over CA doesn't work when using nameserver and old IOCs Johnson, Andrew N. via Tech-talk
Next: Re: Issues Installing Galil EPICS Drivers – sscan & seq Dependencies Not Building Jonathan Hai 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  2021  2022  2023  2024  <2025
ANJ, 10 Mar 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·