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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: stream is installing files in the wrong place
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, "Zimoch Dirk (PSI)" <dirk.zimoch at psi.ch>
Date: Sun, 19 Jul 2020 15:38:20 +0000

Hi Dirk,

 

I am running stream 2.8.14.  I am having a problem that when I build it, the files gets installed into $(TOP)/../lib, not into $(TOP)/lib.

 

This is the git diff of my files and the ones in 2.8.14.  I have only commented out streamApp in the top-level Makefile, and modified configure/RELEASE for new locations.

 

corvette:~/devel/stream>git diff -w -b 2.8.14

diff --git a/Makefile b/Makefile

index 4e56eec..1312552 100644

--- a/Makefile

+++ b/Makefile

@@ -38,7 +38,7 @@ else

endif

 

DIRS += src

-DIRS += streamApp

+#DIRS += streamApp

streamApp_DEPEND_DIRS = src

 

include $(CONFIG)/RULES_TOP

 

diff --git a/configure/RELEASE b/configure/RELEASE

index 72efa75..5b80a63 100644

--- a/configure/RELEASE

+++ b/configure/RELEASE

@@ -14,15 +14,15 @@ TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top

# define INSTALL_LOCATION_APP here

#INSTALL_LOCATION_APP=<fullpathname>

 

-SUPPORT=$(TOP)/..

+SUPPORT=/corvette/home/epics/devel

-include $(TOP)/../configure/SUPPORT.$(EPICS_HOST_ARCH)

 

-ASYN=$(SUPPORT)/asyn4-36

-CALC=$(SUPPORT)/calc-3-7

+ASYN=$(SUPPORT)/asyn-4-40

+CALC=$(SUPPORT)/calc-3-7-3

PCRE=$(SUPPORT)/pcre-7-2

 

# EPICS_BASE usually appears last so other apps can override stuff:

-EPICS_BASE=/usr/local/epics/base-7.0.3

+EPICS_BASE=/corvette/usr/local/epics-devel/base-7.0.4

 

# These lines allow developers to override these RELEASE settings

# without having to modify this file directly.

 

 

I do a realclean realuninstall and do an ls in stream/ and in stream/../lib.  There are no lib/ directories.

 

corvette:~/devel/stream>make -sj realclean realuninstall

If you are not using the PSI build environment, GNUmakefile can be removed.

corvette:~/devel/stream>ls

GNUmakefile  LICENSE  LICENSE.LESSER  Makefile  README.md  config  configure  docs  src  streamApp

corvette:~/devel/stream>ls ../lib

ls: cannot access ../lib: No such file or directory

 

I then do the build.  After the build there is no stream/lib directory, but there is a stream/../lib/linux-x86_64 directory containing the stream libraries.

 

corvette:~/devel/stream>make -sj

If you are not using the PSI build environment, GNUmakefile can be removed.

Creating ../O.Common/StreamVersion.h from git tag

corvette:~/devel/stream>ls

GNUmakefile  LICENSE  LICENSE.LESSER  Makefile  README.md  config  configure  docs  src  streamApp

corvette:~/devel/stream>ls ../lib

linux-x86_64

corvette:~/devel/stream>ls ../lib/linux-x86_64/

libstream.a  libstream.so

 

If I search for INSTALL_LOCATION in stream/configure I don’t see the problem.

 

corvette:~/devel/stream/configure>grep INSTALL_LOCATION *

CONFIG_APP:INSTALL_LOCATION = $(TOP)

CONFIG_APP:ifdef INSTALL_LOCATION_APP

CONFIG_APP:INSTALL_LOCATION = $(INSTALL_LOCATION_APP)

grep: O.Common: Is a directory

grep: O.linux-x86_64: Is a directory

RELEASE:# define INSTALL_LOCATION_APP here

RELEASE:#INSTALL_LOCATION_APP=<fullpathname>

 

Am I doing something wrong, or why does the distribution version of stream install into $(TOP)/..?

 

Thanks,

Mark

 


Navigate by Date:
Prev: SteamDevice 2.8.x build on Windows issue 吴煊 via Tech-talk
Next: RE: SteamDevice 2.8.x build on Windows issue Mark Rivers 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: SteamDevice 2.8.x build on Windows issue Johnson, Andrew N. via Tech-talk
Next: caget for base7 records Sandeep Kumar Malu - UKRI STFC 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  <20202021  2022  2023  2024 
ANJ, 21 Jul 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·