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: Re: How to use INSTALL_LOCATION with system directories
From: Lucas Russo via Tech-talk <tech-talk at aps.anl.gov>
To: Ralph Lange <ralph.lange at gmx.de>
Cc: EPICS Tech Talk <tech-talk at aps.anl.gov>
Date: Mon, 9 Oct 2023 16:15:07 +0200
Hi Ralph, Abdalla,

I understand. Because there's no separate "installation phase" it
doesn't seem possible to achieve what I was thinking.

Thanks,

Lucas

On Mon, Oct 9, 2023 at 2:21 PM Ralph Lange via Tech-talk <tech-talk at aps.anl.gov> wrote:
Hi Lucas,

On Mon, 9 Oct 2023 at 11:46, Lucas Russo via Tech-talk <tech-talk at aps.anl.gov> wrote:

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

[...]
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.

In the EPICS build system, the default target for make is to build and install the module.
For that, the user running make needs to have write access to the INSTALL_LOCATION. (And to the parent if INSTALL_LOCATION does not exist.)
The EPICS build system will not remove the INSTALL_LOCATION itself, so creating that directory and changing the ownership (and/or access bits) is a one-time thing.

FINAL_LOCATION is for cases where the build needs be installed in a location that is not the final one. E.g., when building system packages, where the build is installed in a temporary place but the resulting system package will install it in a different location.

Cheers,
~Ralph


Replies:
Re: How to use INSTALL_LOCATION with system directories Jure Varlec via Tech-talk
References:
How to use INSTALL_LOCATION with system directories Lucas Russo via Tech-talk
Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk
Next: Re: How to use INSTALL_LOCATION with system directories Jure Varlec 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: Re: How to use INSTALL_LOCATION with system directories Ralph Lange via Tech-talk
Next: Re: How to use INSTALL_LOCATION with system directories Jure Varlec 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 ·