I have a makefile rule in my IOC to build a .db file from a Python script, but something has changed in EPICS 3.15 (and subsequently, I guess) to break my build. If anyone can let me know what I need to change to fix this I'd be very grateful.
Here is the Makefile used to generate the .db file:
TOP = ..
include $(TOP)/configure/CONFIG
DB += test.db
include $(TOP)/configure/RULES
$(COMMON_DIR)/%.db: ../%.py
$(PYTHON) $< >$@
When run under 3.14 this runs test.py, places the output in O.Common/test.db, and places O.Common/test.db in $(TOP)/db/test.db, as expected.
When run under 3.15 it fails at the install step:
$ make
perl -CSD /scratch/epics/base-3.15.4/bin/linux-x86_64/makeMakefile.pl O.linux-x86_64 ../..
mkdir O.Common
make -C O.linux-x86_64 -f ../Makefile TOP=../.. \
T_A=linux-x86_64 install
make[1]: Entering directory `/home/mga83/test/epics/basic_ioc/Db/O.linux-x86_64'
python ../test.py >../O.Common/test.db
Installing created db file ../../db/test.db
make[1]: *** No rule to make target `test.db.d', needed by `build'. Stop.
make[1]: Leaving directory `/home/mga83/test/epics/basic_ioc/Db/O.linux-x86_64'
make: *** [install.linux-x86_64] Error 2
$
In case the problem is something to do with other files I haven't show here, I've attached a complete minimal IOC.
--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Attachment:
basic_ioc.tgz
Description: basic_ioc.tgz
- Navigate by Date:
- Prev:
RE: dbVerify removed from EPICS 3.16 michael.abbott
- Next:
Ideas / Suggestions for the future of VME-CPU Operating Systems Goetz Pfeiffer
- 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
- Navigate by Thread:
- Prev:
Re: dbVerify removed from EPICS 3.16 Michael Davidsaver
- Next:
Ideas / Suggestions for the future of VME-CPU Operating Systems Goetz Pfeiffer
- 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
|