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  <20162017  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  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2
From: Kevin Peterson <[email protected]>
To: Benjamin Franksen <[email protected]>, <[email protected]>, <[email protected]>, <[email protected]>
Cc: [email protected]
Date: Wed, 7 Sep 2016 14:46:53 -0500
That change doesn't eliminate the build error:

"Installing created executable ../../../bin/windows-x64-static/snc.exe"
../Makefile:59: PATH_FILTER is deprecated; used for
../../../bin/windows-x64-static/lemon.exe
../../../bin/windows-x64-static/lemon.exe o=. -g ../snl.lem > snl.bnf.tmp
'..' is not recognized as an internal or external command,
operable program or batch file.
../Makefile:59: recipe for target '../O.Common/snl.bnf' failed
make[3]: *** [../O.Common/snl.bnf] Error 1
make[3]: Leaving directory
'D:/synApps-testing/VS10/3.15/synApps/support/seq-2-2-3/src/snc/O.windows-x64-static'
D:/synApps-testing/VS10/3.15/base-3.15.4/configure/RULES_ARCHS:61:
recipe for target 'install.windows-x64-static' failed
make[2]: *** [install.windows-x64-static] Error 2
make[2]: Leaving directory
'D:/synApps-testing/VS10/3.15/synApps/support/seq-2-2-3/src/snc'
D:/synApps-testing/VS10/3.15/base-3.15.4/configure/RULES_DIRS:88: recipe
for target 'snc.install' failed
make[1]: *** [snc.install] Error 2
make[1]: Leaving directory
'D:/synApps-testing/VS10/3.15/synApps/support/seq-2-2-3/src'
D:/synApps-testing/VS10/3.15/base-3.15.4/configure/RULES_DIRS:88: recipe
for target 'src.install' failed
make: *** [src.install] Error 2

The error occurs on the call to lemon.exe, so the rename of the temp
file never happens.  The O.windows-x64-static dir contains an empty
snl.bnf.tmp file.  Issuing "make" a second time no longer allows the
build to succeed; it fails on the same line as the first call to "make".

Kevin

On 9/7/16 10:18 AM, Benjamin Franksen wrote:
> Hi
> 
> just back from holidays. Perhaps it helps to replace
> 
> $(COMMON_DIR)/snl.bnf: snl.lem
> 	$(LEMON) o=. -g $< > $@
> 
> with
> 
> $(COMMON_DIR)/snl.bnf: snl.lem
> 	$(LEMON) o=. -g $< > $(@F).tmp
> 	$(MV) $(@F).tmp $@
> 
> which would also make parallel builds more reliable?
> 
> Cheers
> Ben
> 
> On 18.08.2016 18:13, Kevin Peterson wrote:
>> I doesn't appear that this build error is due to a bug in make.  I'm
>> using the following to build seq-2-2-3:
>>
>>   Windows 7 (64-bit)
>>   Visual Studio 2010 Professional & Visual Studio 2015 Community Edition
>>   Make 4.1 (from the EPICS web site)
>>   Strawberry perl 5.20.3001
>>
>> I see the build error when using base-3.15.4, but NOT when using
>> base-3.14.12.5.  Issuing "make" a second time does allow the build to
>> run to completion.
>>
>> I'm hoping someone with knowledge of the changes to build rules between
>> base 3.14 and 3.15 can suggest a fix.
>>
>> Kevin
>>


Replies:
Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Andrew Johnson
References:
Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Kevin Peterson
Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Benjamin Franksen

Navigate by Date:
Prev: RE: link: invalid option -- n.....make[2]: *** [install.windows-x64] Error 2 Mark Rivers
Next: Re: github hides accounts Kevin Peterson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Benjamin Franksen
Next: Re: Building SEQ 2.2.3, Windows, EPICS Base 3-15-2 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 07 Sep 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·