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: | More Issues Installing Galil EPICS Drivers – asyn |
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: | Tue, 11 Mar 2025 14:49:31 +0000 |
Dear EPICS Tech-Talk Community,
I am in the process of setting up EPICS support for Galil motor controllers, but I have encountered persistent issues with
rebuilding
asyn that are preventing me from completing the installation. I would greatly appreciate any guidance in resolving this.
Background
I am rebuilding
asyn because I previously ran into linker errors while compiling
busy and Galil , related to missing RPC symbols (xdr_bytes ,
clnt_sperror , etc.). The solution to this issue, as suggested in previous discussions, was to ensure that
asyn properly links against libtirpc (since some Linux distributions no longer include these symbols in
glibc ).
After adding the required
libtirpc configurations and reinstalling dependencies, I attempted to
rebuild asyn from scratch. However, the build process does not appear to generate
libasyn.so at all.
Current Issue
make[2]: *** No rule to make target '../../lib/linux-x86_64/libtirpc.a', needed by 'libasyn.so'. Stop.
make[2]: Leaving directory '/home/jonathanhai/support/asyn-R4-45/asyn/O.linux-x86_64'
make[1]: *** [/home/jonathanhai/epics-base/configure/RULES_ARCHS:58: install.linux-x86_64] Error 2
make[1]: Leaving directory '/home/jonathanhai/support/asyn-R4-45/asyn'
make: *** [/home/jonathanhai/epics-base/configure/RULES_DIRS:85: asyn.install] Error 2
What I Have Tried
Questions
System Information
Final Notes
I have been troubleshooting this issue extensively, and I would really appreciate any guidance or suggestions from the community.
If anyone has encountered this issue before and found a working solution, I would love to hear how you resolved it.
Thanks in advance for your help!
Jonathan Hai Researcher/Tech Monkey CNBL | Department of Physics and Astronomy McMaster University Sapere Aude
From: Saleh, Ibrahim <saleh at bnl.gov>
Sent: Monday, March 10, 2025 3:14 PM To: Mark Rivers <rivers at cars.uchicago.edu>; Jonathan Hai <haic at mcmaster.ca> Subject: RE: Issues Installing Galil EPICS Drivers – sscan & seq Dependencies Not Building
Hi Mark and Jonathan,
I know that “re2c” package is required by the sequencer. I ‘m not sure if it is needed on Ubuntu or not.
Regards, Ibrahim
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Mark Rivers via Tech-talk
Hi Jonathan,
Last week I successfully built base 7.0.9, asyn, seq, sscan, and Galil on an Ubuntu system with those same specs.
Mark
From: Jonathan Hai <haic at mcmaster.ca>
Hi Mark,
Yes, I did move my support directory to be out of epics-base. It fixed the problem!
Here are my specs:
Could these be causing any problems?
Jonathan Hai Researcher/Tech Monkey CNBL | Department of Physics and Astronomy McMaster University Sapere Aude
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Jonathon,
What version of EPICS base are you using? Have you modified anything in it?
Last week you reported a problem building asyn. I could not reproduce your problem, and then Andrew Johnson suggested that you move support/ so it was not under EPICS base. Did you do that, and did it fix your problem?
I am not aware of anyone else reporting a problem with lexer, so there must be something different with your installation. Is this Ubuntu 22? I built base successfully on that last week, including seq and sscan with base 7.0.9.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Jonathan Hai via Tech-talk
Subject: Follow-up: Issues Installing Galil EPICS Drivers –
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 ( Recap of the Issue
Steps I Have Taken So Far 1. Verified
2. Checked for
3. Checked for
returns no results, meaning this file is missing.
4. Installed System
5. Rebuilt EPICS Base
Current Issues & Questions
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
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Jonathon,
What version of EPICS base are you using? Have you modified anything in it?
Last week you reported a problem building asyn. I could not reproduce your problem, and then Andrew Johnson suggested that you move support/ so it was not under EPICS base. Did you do that, and did it fix your problem?
I am not aware of anyone else reporting a problem with lexer, so there must be something different with your installation. Is this Ubuntu 22? I built base successfully on that last week, including seq and sscan with base 7.0.9.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Jonathan Hai via Tech-talk
Subject: Follow-up: Issues Installing Galil EPICS Drivers –
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 ( Recap of the Issue
Steps I Have Taken So Far 1. Verified
2. Checked for
3. Checked for
returns no results, meaning this file is missing.
4. Installed System
5. Rebuilt EPICS Base
Current Issues & Questions
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
From: Saleh, Ibrahim <saleh at bnl.gov>
Sent: Monday, March 10, 2025 3:14 PM To: Mark Rivers <rivers at cars.uchicago.edu>; Jonathan Hai <haic at mcmaster.ca> Subject: RE: Issues Installing Galil EPICS Drivers – sscan & seq Dependencies Not Building
Hi Mark and Jonathan,
I know that “re2c” package is required by the sequencer. I ‘m not sure if it is needed on Ubuntu or not.
Regards, Ibrahim
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Mark Rivers via Tech-talk
Hi Jonathan,
Last week I successfully built base 7.0.9, asyn, seq, sscan, and Galil on an Ubuntu system with those same specs.
Mark
From: Jonathan Hai <haic at mcmaster.ca>
Hi Mark,
Yes, I did move my support directory to be out of epics-base. It fixed the problem!
Here are my specs:
Could these be causing any problems?
Jonathan Hai Researcher/Tech Monkey CNBL | Department of Physics and Astronomy McMaster University Sapere Aude
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Jonathon,
What version of EPICS base are you using? Have you modified anything in it?
Last week you reported a problem building asyn. I could not reproduce your problem, and then Andrew Johnson suggested that you move support/ so it was not under EPICS base. Did you do that, and did it fix your problem?
I am not aware of anyone else reporting a problem with lexer, so there must be something different with your installation. Is this Ubuntu 22? I built base successfully on that last week, including seq and sscan with base 7.0.9.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Jonathan Hai via Tech-talk
Subject: Follow-up: Issues Installing Galil EPICS Drivers –
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 ( Recap of the Issue
Steps I Have Taken So Far 1. Verified
2. Checked for
3. Checked for
returns no results, meaning this file is missing.
4. Installed System
5. Rebuilt EPICS Base
Current Issues & Questions
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
From: Mark Rivers <rivers at cars.uchicago.edu>
Hi Jonathon,
What version of EPICS base are you using? Have you modified anything in it?
Last week you reported a problem building asyn. I could not reproduce your problem, and then Andrew Johnson suggested that you move support/ so it was not under EPICS base. Did you do that, and did it fix your problem?
I am not aware of anyone else reporting a problem with lexer, so there must be something different with your installation. Is this Ubuntu 22? I built base successfully on that last week, including seq and sscan with base 7.0.9.
Mark
From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Jonathan Hai via Tech-talk
Subject: Follow-up: Issues Installing Galil EPICS Drivers –
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 ( Recap of the Issue
Steps I Have Taken So Far 1. Verified
2. Checked for
3. Checked for
returns no results, meaning this file is missing.
4. Installed System
5. Rebuilt EPICS Base
Current Issues & Questions
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
|