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  <20232024  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  <20232024 
<== 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
Hi Brandon,

My example, my asyn has a dependency on CALC; that is the reason you see.

If you don't know or don't need CALC,  you can ignore that.

If your Asyn has more dependencies on whatever modules, you can similarly define them.



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? 

It always depends on what you need. If you don't know, I recommend installing the full SynApps first. For me, I install one by one according to what I need. I don't use 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?

The tutorial is the last step; you have all EPICS bases and modules in your system before going there.

And each IOC and module generated by "makeBaseApp.pl" should have the same rule in their configuration in configure directory.

Key files you have to understand in configure are

- RELEASE
- CONFIG_SITE

And *.local allows you to add your environment without changing an original git history in each repo.

Best,
Han

 

Thank you,
Brandon

On Thu, Jun 15, 2023 at 12:29 PM Han Lee via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi Again,


0. install re2c package

1. rm -f  GNUmakefile
2. echo "EPICS_BASE=your_epics_base"                              > configure/RELEASE.local
3. 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.local
   sed -i -e "/^CHECK_RELEASE/d"     configure/Makefile
4. make

HTH,
Han

On 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 7
 
Hello,

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 Engineer
Cell: +1 510 384 3868


--
Jeong Han Lee, Dr.rer.nat.
Staff Scientist and Engineer
Cell: +1 510 384 3868

Replies:
Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn via Tech-talk
References:
Issue installing StreamDevice on CentOS 7 Brandon Gunn via Tech-talk
Re: Issue installing StreamDevice on CentOS 7 Lang, Keenan C. via Tech-talk
Re: Issue installing StreamDevice on CentOS 7 Han Lee via Tech-talk
Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn via Tech-talk

Navigate by Date:
Prev: Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn via Tech-talk
Next: Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn 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  <20232024 
Navigate by Thread:
Prev: Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn via Tech-talk
Next: Re: Issue installing StreamDevice on CentOS 7 Brandon Gunn 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  <20232024 
ANJ, 15 Jun 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·