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> | 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> |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: EPICS db-file creation and installation with EPICS BASE 7 |
From: | Simon Rose via Tech-talk <tech-talk at aps.anl.gov> |
To: | Hovanes Egiyan <hovanes.egiyan at gmail.com>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 25 Jan 2024 07:45:33 +0000 |
Hi Hovanes Egiyan – The issue is that at least in the lastest versions of EPICS base, if you generate a .db file (or several other file types) it is also expected that you will have a .db.d file (a dependency
file) as well. See
https://github.com/epics-base/epics-base/blob/7.0/configure/RULES.Db#L269 for some examples: %.db$(DEP): %$(SUBST_SUFFIX) @$(RM) $@ $(MSI3_15) -D $(DBFLAGS) -o $(COMMONDEP_TARGET) -S$< $(TEMPLATE_FILENAME) > $@ %.db$(DEP): ../%$(SUBST_SUFFIX) @$(RM) $@ $(MSI3_15) -D $(DBFLAGS) -o $(COMMONDEP_TARGET) -S$< $(TEMPLATE_FILENAME) > $@ %.db$(DEP): %$(TEMPL_SUFFIX) @$(RM) $@ $(MSI3_15) -D $(DBFLAGS) -o $(COMMONDEP_TARGET) $< > $@ %.db$(DEP): ../%$(TEMPL_SUFFIX) @$(RM) $@ $(MSI3_15) -D $(DBFLAGS) -o $(COMMONDEP_TARGET) $< > $@ Normally .db files are generated as above from .substitutions or .template files, not out of thin air. One such example is from sequencer, see here:
https://gitlab.esss.lu.se/epics-modules/sequencer-2-2/-/blob/master/test/validate/Makefile?ref_type=heads#L124-L125 In short, it should be enough for you to add the lines test.db$(DEP): ../Makefile @echo "$(COMMON_DIR)/test.db: ../Makefile" > $@ To your makefile. Cheers, Simon From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Hovanes Egiyan via Tech-talk <tech-talk at aps.anl.gov> Hi, I have not tried the new EPICS base 7 on RHEL7, but I do not think RHEL9 is the problem. I would appreciate any help debugging this problem.
|