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: Compile problems with R3.15.6 |
From: | Michael Westfall via Tech-talk <[email protected]> |
Cc: | "[email protected] Talk" <[email protected]> |
Date: | Tue, 24 Sep 2019 17:29:36 -0300 |
Hi Michael,
> On Sep 24, 2019, at 9:40 AM, Michael Westfall via Tech-talk <[email protected]> wrote:
>
> I have installed EPICS R3.15.6 here and now when I compile a support module, it fails with this:
> --------------
> ...
> Installing created db file ../../../db/bctest.db
> /gem_sw/epics/R3.15.6/base/configure/RULES.Db:521: Building ../../../db/bctest.db (from ../O.Common/bctest.db) (../O.Common/bctest.db newer)
> + perl -CSD /gem_sw/epics/R3.15.6/base/bin/linux-x86_64/installEpics.pl -d -m 444 ../O.Common/bctest.db ../../../db
> mkdir ../../../db
> make[3]: *** No rule to make target `bctest.db.d', needed by `build'. Stop.
> make[3]: Leaving directory `/home/mwestfall/bancomm/bancommApp/Db/O.linux-x86_64’
> ...
> --------
> I imagine this might have something to do with our custom rules that we add in here at Gemini, but I'm not seeing how.
> Any pointers as to where I should be looking to figure out why the bctest.db.d file is not being created?
The build rules changed between 3.14 and 3.15 specifically for $(DEP) = .d files; previously we would create a .d file in the same rule as the target itself and the build didn’t worry if there was no .d file. Since 3.15 we have a separate set of rules for creating .d files – look for the rules for targets %.db$(RAW)$(DEP) in Base/configure/RULES.Db and make sure you have equivalents in your ruleset.
Note that 3.15 comes with a newer version of the msi program which was required to generate .d files. In the build this is referred to with $(MSI3_15) since the older msi $(MSI) from extensions is not compatible. The associated changes may be what you’re missing.
IIRC there were quite a lot of changes to the build system between 3.14 and 3.15, I hope you have looked at those while updating your ruleset.
HTH,
- Andrew