EPICS Controls 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  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: How to use INSTALL_LOCATION with system directories
From: Lucas Russo via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 9 Oct 2023 11:46:17 +0200
Hi all,

Maybe this has already been answered, but I couldn't find this exact question.

I have an example support module created with:

makeBaseApp.pl -t ioc testInstallLocation
makeBaseApp.pl -i -t ioc testInstallLocation

with its configure/CONFIG_SITE file with:

INSTALL_LOCATION=/opt/test

My expectation was that I would be able to do "make" to compile everything and
"make install" to install the bin, lib, etc, folders to where INSTALL_LOCATION points to,
but that was not the case.

With INSTALL_LOCATION different than $(TOP) it tries to create the destination directories 
before compiling anything, thus failing because /opt is owned by root. And doing "sudo make" seems wrong.

Is there any better way to do this or to change this behavior? Or is my expectation wrong about the usage of INSTALL_LOCATION?

Lucas
 

Replies:
RE: How to use INSTALL_LOCATION with system directories Abdalla Ahmad via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk

Navigate by Date:
Prev: Mobile web client for Olog Wang, Lin via Tech-talk
Next: RE: How to use INSTALL_LOCATION with system directories Abdalla Ahmad via Tech-talk
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  <20232024 
Navigate by Thread:
Prev: Mobile web client for Olog Wang, Lin via Tech-talk
Next: RE: How to use INSTALL_LOCATION with system directories Abdalla Ahmad via Tech-talk
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  <20232024 
ANJ, 09 Oct 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·