EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [Merge] ~epics-core/epics-base/+git/Com:make-simple into epics-base:7.0
From: Andrew Johnson via Core-talk <[email protected]>
To: mdavidsaver <[email protected]>
Date: Tue, 09 Jul 2019 17:49:07 -0000
With the changes already included in this MR Base doesn't generate any *ModuleDirs.pm files at all, they will only be generated by support modules that explicitly ask for one. I don't understand why you appear to be so strongly opposed to Base keeping the capability of generating them for other configurations (which is all I was asking for in my first paragraph back on 2019-03-07).

I understand the need for Debian packaging to remove install absolute paths from Base's installed files. When packaging EPICS it should be possible to install all the .pm files from $(INSTALL_DIR)/lib/perl and its sub-dirs (and the libCap5.so file) under one of the system directories that Perl searches automatically — those dir's are listed under @INC at the end of the 'perl -V' output, I expect Debian tells you somewhere which to use. Then the packaging process can remove all of the 'use lib' and 'use FindBin' lines from the EPICS Perl scripts and they will still find the modules they need. The one file that might need special attention is CA.pm which uses Perl's Dynaloader to load libCap5.so but as long as the relative path from CA.pm to libCap5.so is retained, the existing code will continue to work for that.

The packaging process can also remove the similar code that adjusts @INC from the top of the caPerlApp/*.pl template files, and delete the _APPNAME_ModuleDirs.pm line from the caPerlApp/Makefile. Templates that are instantiated on a Debian system will work fine when run on a system that has the modules installed as above. The won't work on a non-Debian system without adjustment, but I don't see that as a major problem.

-- 
https://code.launchpad.net/~epics-core/epics-base/+git/Com/+merge/361381
Your team EPICS Core Developers is requested to review the proposed merge of ~epics-core/epics-base/+git/Com:make-simple into epics-base:7.0.

Navigate by Date:
Prev: Re: [Merge] ~anj/epics-base/+git/base-3.15:decimate-filter into epics-base:3.15 Andrew Johnson via Core-talk
Next: Jenkins build is still unstable: epics-7.0 » linux64 #136 APS Jenkins via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [Merge] ~epics-core/epics-base/+git/Com:make-simple into epics-base:7.0 mdavidsaver via Core-talk
Next: Re: [Merge] ~epics-core/epics-base/+git/Com:make-simple into epics-base:7.0 Andrew Johnson via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 09 Jul 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·