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  <20112012  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  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: [help] EPICS build no good
From: Andrew Johnson <[email protected]>
To: Pavel Masloff <[email protected]>
Cc: [email protected]
Date: Mon, 5 Dec 2011 12:42:29 -0600
Hi Pavel,

On 2011-12-05 Pavel Masloff wrote:
> 
> D:\>softIoc -h
> Usage: softIoc [-D softIoc.dbd] [-h] [-S] [-a ascf]
>         [-m macro=value,macro2=value2] [-d file.db]
>         [-x prefix] [st.cmd]
> Compiled-in path to softIoc.dbd is:
>         'D:\baseR3.14.12.1\new'/dbd/softIoc.dbd

Forget my last message, the quotes are coming from this Makefile rule:

epicsInstallDir.h:
	$(ECHO) "FINAL_LOCATION=$(FINAL_LOCATION)"
	$(PERL) ../makeInstallDir.pl '$(FINAL_LOCATION)' > $@

On Unix the shell strips out those single quotes, but evidently yours is not 
doing so (my win32-x86-mingw build does strip them, but not my win32-x86 
build).  You can add two lines to the base/src/softIoc/makeInstallDir.pl file 
to fix this:

=== modified file 'src/softIoc/makeInstallDir.pl'
--- src/softIoc/makeInstallDir.pl       2010-09-27 22:42:42 +0000
+++ src/softIoc/makeInstallDir.pl       2011-12-05 18:33:24 +0000
@@ -14,6 +14,8 @@
 my $path = shift;
 
 $path =~ s/\\/\\\\/gx;
+$path =~ s/^'//x;
+$path =~ s/'$//x;
 
 print "/* THIS IS A GENERATED FILE. DO NOT EDIT! */\n",
       "\n",

I will add this change to the 3.14.12.2 release of Base.

HTH,

- Andrew
-- 
Optimization is the process of taking something that works and
replacing it with something that almost works, but costs less.
-- Roger Needham

Replies:
Re: [help] EPICS build no good Pavel Masloff
References:
[help] EPICS build no good Pavel Masloff
Re: [help] EPICS build no good Andrew Johnson
Re: [help] EPICS build no good Pavel Masloff

Navigate by Date:
Prev: Re: [help] EPICS build no good Andrew Johnson
Next: Re: [help] EPICS build no good Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: [help] EPICS build no good Andrew Johnson
Next: Re: [help] EPICS build no good Pavel Masloff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·