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: | Re: Issue installing StreamDevice on CentOS 7 |
From: | Han Lee via Tech-talk <tech-talk at aps.anl.gov> |
To: | Brandon Gunn <bgunn at ucsd.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 15 Jun 2023 14:02:37 -0700 |
Thank you for the reply! I am not 100% sure what CALC is -- using find, I see a folder .../epics-base/modules/libcom/src/calc/ but it does not seem to contain the header files that make needs (sCalcoutRecord.h, for example).It seems like I need to install the full SynApps package to obtain Calc? I currently have asyn, is that just one component of SynApps?
The tutorial I was following had me execute makeBaseApp.pl -t support prior to cloning the StreamDevice git repo, for a reason that I don't really understand. Do I need to do that with the method you've described?
Thank you,
BrandonOn Thu, Jun 15, 2023 at 12:29 PM Han Lee via Tech-talk <tech-talk at aps.anl.gov> wrote:Hi Again,StreamDevice from https://github.com/paulscherrerinstitute/StreamDevice0. install re2c package1. rm -f GNUmakefile2. echo "EPICS_BASE=your_epics_base" > configure/RELEASE.local3. echo ASYN=$(INSTALL_LOCATION_ASYN)" >> configure/RELEASE.local
echo "CALC=$(INSTALL_LOCATION_CALC)" >> configure/RELEASE.local
echo "PCRE=" >> configure/RELEASE.local
echo "CHECK_RELEASE = NO" > configure/CONFIG_SITE.localsed -i -e "/^CHECK_RELEASE/d" configure/Makefile4. makeHTH,HanOn Thu, Jun 15, 2023 at 12:09 PM Lang, Keenan C. via Tech-talk <tech-talk at aps.anl.gov> wrote:Hello Brandon,
EPICS modules are made aware about the location of other files they must include or link against through the use of the configure/RELEASE file. In StreamDevice, the configure/RELEASE file has the following line:
EPICS_BASE=/usr/local/epics/base-7.0.3
Thus, when you build, the module will try to find certain makefile rules, config files, headers, and libraries it needs in /usr/local/epics/base-7.0.3
When you are adding in a new module, you have to edit the configure/RELEASE file to match up the named macros with the locations where epics-base or the given modules are located on your system.
Keenan
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Brandon Gunn via Tech-talk <tech-talk at aps.anl.gov>
Sent: Thursday, June 15, 2023 1:59 PM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Issue installing StreamDevice on CentOS 7Hello,
I am encountering an issue when attempting to install StreamDevice on our CentOS 7.9.2009 machine using this tutorial (step 7): https://epics-controls.org/resources-and-support/documents/getting-started/
When I run make from ~/EPICS/support/stream/StreamDevice, I get these errors:
$ make
configure/CONFIG:18: /usr/local/epics/base-7.0.3/configure/CONFIG: No such file or directory
Makefile:33: /usr/local/epics/base-7.0.3/configure/RULES_TOP: No such file or directory
make: *** No rule to make target `/usr/local/epics/base-7.0.3/configure/RULES_TOP'. Stop.
Am I supposed to have an epics directory in /usr/local? I am unsure if this is an issue with setting paths correctly or an issue with my epics base install as I do not seem to see anything with the directory structure .../epics/base-7.0.3/...
Thank you,
Brandon
--Jeong Han Lee, Dr.rer.nat.Staff Scientist and EngineerCell: +1 510 384 3868