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  <20182019  2020  2021  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
<== Date ==> <== Thread ==>

Subject: Re: Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1
From: Dirk Zimoch <dirk.zimoch@psi.ch>
To: <core-talk@aps.anl.gov>
Date: Wed, 20 Jun 2018 11:58:08 +0200


On 16.06.2018 04:10, Ralph Lange wrote:
The right thing would be saving the list of all installed files during the build and have "make uninstall" remove exactly the files that were installed.

This is what I do here at PSI when installing files into shared locations. Every module writes a list (manifest) of installed files into the shared install location. Then "make uninstall" reads the manifest to know what to delete. The module name is part of the file name.

For example QT ui files: .iocStats-1.2.12-QT.txt contains
'iocStats_CA_DETAILS.ui' 'iocStats_overview.ui' 'iocStats_Proscan_overview.ui' 'iocStats_SF_overview.ui' 'iocStats_small.ui' 'iocStats.ui' 'start_iocStats'

To have separate QT directories for separate modules would not be very practical. One would need extremely long search paths which could lead to other problems.

Dirk

References:
Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1 Mark Rivers
Re: Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1 Andrew Johnson
Re: Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1 Ralph Lange

Navigate by Date:
Prev: Re: Q: Structured argument types for PVA RPC service call Ralph Lange
Next: Build failed in Jenkins: epics-7.0-windows » STATIC,win64 #45 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
Navigate by Thread:
Prev: Re: Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1 J. Lewis Muir
Next: Re: Problem with INSTALL_LOCATION and "make uninstall" in 7.0.1 Michael Davidsaver
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021 
ANJ, 21 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·