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  <20122013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: another build problem with db dependencies
From: Yves Lussignol <yves.lussignol@cea.fr>
To: tech-talk@aps.anl.gov
Date: Wed, 28 Mar 2012 16:59:45 +0200
Hi,

The perl script makeDbDepends.pl has been changed with EPICS Base R3.14.12.2. Now the script works and produces a file like this one:

$ cat O.linux-x86/iocLlrf.db.d
../O.Common/iocLlrf.db: llrfSim.db llrfLabview.db llrf.db llrfCavUp.db llrfCavTune.db llrfAcq.db
../O.Common/iocLlrf.db :

With previous EPICS Base versions the file looked like this:

$ cat O.linux-x86/iocLlrf.db.d
../O.Common/iocLlrf.db:

The first build works but the second build fails because the file iocLlrf.db.d exists:

$ make
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[1]: Entering directory `/home/lussi/tmp/topSP2/llrfApp/db2/O.linux-x86'
make[1]: *** No rule to make target `llrfSim.db', needed by `../O.Common/iocLlrf.db'. Stop.
make[1]: Leaving directory `/home/lussi/tmp/topSP2/llrfApp/db2/O.linux-x86'
make: *** [install.linux-x86] Error 2

I tried to correct this with the patch found in the 3.14.12.2 known problems (rules-db.patch) and with the patch proposed by Bruce Hill, but none works for me.

My file iocLlrf.db is built from iocLlrf.substitutions. The substituted db files are located in my $(TOP)/db. But this location is not known by the make command. So I tried to modify the file RULES.Db this way:

vpath %.db $(USR_VPATH) $(GENERIC_SRC_DIRS) $(dir $(DB)) $(TOP)/db

But this modification introduces a circular dependency problem and it doesn't work.

For the moment I have no alternative but to use a 'make rebuild'.

If someone can help.
Thank you in advance.

Yves

Replies:
Re: another build problem with db dependencies Benjamin Franksen

Navigate by Date:
Prev: Re: Proposed support for additional Modbus data types Eric Norum
Next: Re: Extract a column of data from 2D Waveform Record Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: Extract a column of data from 2D Waveform Record Peter Milne
Next: Re: another build problem with db dependencies Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·