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  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problem building EPICS base 3.14.11
From: Andrew Johnson <[email protected]>
To: [email protected]
Date: Wed, 2 Sep 2009 10:59:38 -0500
Hi Juan Carlos,

On Wednesday 02 September 2009 07:05:27 Juan Carlos Guzman wrote:
>
> The following message appears when building EPICS base 3.14.11 with
> INSTALL_LOCATION=<some_path_different_to_top> in configure/
> CONFIG_SITE. This problem appears in darwin-x86 (MacBook Pro) and
> linux-x86 (Linux debian etch). In this case, TOP=/opt/epics/3.14.11/
> base and INSTALL_LOCATION=/opt/epics/3.14.11/install

> perl ../makeInstallDir.pl /opt/epics/3.14.11/install > ../O.Common/
> epicsInstallDir.h
> Can't locate EPICS/Path.pm in @INC (@INC contains: /opt/epics/3.14.11/
> base/src/softIoc/../../lib/perl /Library/Perl/Updates/5.8.8 /System/
> Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/
> 5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/
> 5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-
> multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/
> Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/
> Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1 .) at ../
> makeInstallDir.pl line 15.


Congratulations, you found the first bug in Base R3.14.11!  We obviously 
didn't test the INSTALL_LOCATION configuration option properly before the 
release, for which I apologize.

Apply the attached patch to your src/softIoc/Makefile to fix the problem.

- Andrew
-- 
The best FOSS code is written to be read by other humans -- Harold Welte
Index: Makefile
===================================================================
RCS file: /net/phoebus/epicsmgr/cvsroot/epics/base/src/softIoc/Makefile,v
retrieving revision 1.1.2.10
diff -d -u -b -B -p -r1.1.2.10 Makefile
--- Makefile	31 Jul 2009 16:46:12 -0000	1.1.2.10
+++ Makefile	2 Sep 2009 15:27:21 -0000
@@ -11,6 +11,8 @@ include $(TOP)/configure/CONFIG
 
 PROD_IOC = softIoc
 
+PERL_SCRIPTS += makeInstallDir.pl
+
 INC += epicsInstallDir.h
 
 DBD += softIoc.dbd
@@ -28,5 +30,5 @@ DB += softIocExit.db
 
 include $(TOP)/configure/RULES
 
-$(COMMON_DIR)/epicsInstallDir.h:
-	$(PERL) ../makeInstallDir.pl $(INSTALL_LOCATION) > $@
+$(COMMON_DIR)/epicsInstallDir.h: $(INSTALL_BIN)/makeInstallDir.pl
+	$(PERL) $(INSTALL_BIN)/makeInstallDir.pl $(INSTALL_LOCATION) > $@

Replies:
RE: Problem building EPICS base 3.14.11 Adams, Billy R. (LARC-D502)[RAYTHEON TECHNICAL SERVICES COMPANY]
References:
Problem building EPICS base 3.14.11 Juan Carlos Guzman

Navigate by Date:
Prev: Re: aSub vs. genSub - Documentation? Andrew Johnson
Next: RE: Problem building EPICS base 3.14.11 Adams, Billy R. (LARC-D502)[RAYTHEON TECHNICAL SERVICES COMPANY]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem building EPICS base 3.14.11 Juan Carlos Guzman
Next: RE: Problem building EPICS base 3.14.11 Adams, Billy R. (LARC-D502)[RAYTHEON TECHNICAL SERVICES COMPANY]
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·