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  <20122013  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  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: SynApps build error : win32-x86
From: "S. Stein" <[email protected]>
To: [email protected]
Date: Tue, 26 Jun 2012 10:46:10 -0500 (CDT)
Lewis:

I'm doing my best to not build "a la carte" and use the support modules which come with the synApps tarball. If I can get that to build properly, I will then have the confidence to move on and upgrade individual components.

Mark:

  I am also using the 'cmd' shell.

  It isn't clear to me what is happening here in my build on the last line - it appears the path is corrupted(?):
perl -MExtUtils::Command -e rm_f ../O.Common/snl.bnf
..\\..\\..\\bin\\win32-x86\\lemon.exe o=. -g ../snl.lem > ../O.Common/snl.bnf.tmp
/usr/bin/sh: ......binwin32-x86lemon.exe: command not found

--J

----- Original Message -----
From: "Mark Rivers" <[email protected]>
To: "[email protected]" <[email protected]>, [email protected]
Sent: Tuesday, June 26, 2012 7:48:13 AM
Subject: RE: SynApps build error : win32-x86

Hi Josh,

I just rebuilt the sequencer on my Windows machine.  Here is the output from the same place where you are getting an error:

"Installing created file ../../../bin/win32-x86/snc.exe"
perl -MExtUtils::Command -e rm_f ../O.Common/snl.bnf
..\\..\\..\\bin\\win32-x86\\lemon.exe o=. -g ../snl.lem > ../O.Common/snl.bnf.tmp
perl -MExtUtils::Command -e mv ../O.Common/snl.bnf.tmp ../O.Common/snl.bnf
perl -MExtUtils::Command -e rm_f ../O.Common/bnf.inc
perl ../bnf2txt.pl ../snl.re ../O.Common/snl.bnf > ../O.Common/bnf.inc
make[3]: Leaving directory `J:/epics/devel/seq-2-1-7/src/snc/O.win32-x86'
make[2]: Leaving directory `J:/epics/devel/seq-2-1-7/src/snc'
make[1]: Leaving directory `J:/epics/devel/seq-2-1-7/src'
make -C ./test install
make[1]: Entering directory `J:/epics/devel/seq-2-1-7/test'
make -C ./compiler install
make[2]: Entering directory `J:/epics/devel/seq-2-1-7/test/compiler'
perl H:/epics/base-3.14.12.2/bin/win32-x86/makeMakefile.pl O.win32-x86 ../../..
perl -MExtUtils::Command -e mkpath O.Common
make -C O.win32-x86 -f ../Makefile TOP=../../.. T_A=win32-x86 install
make[3]: Entering directory `J:/epics/devel/seq-2-1-7/test/compiler/O.win32-x86'
make[3]: Leaving directory `J:/epics/devel/seq-2-1-7/test/compiler/O.win32-x86'
make[2]: Leaving directory `J:/epics/devel/seq-2-1-7/test/compiler'
make -C ./pv install
make[2]: Entering directory `J:/epics/devel/seq-2-1-7/test/pv'
perl H:/epics/base-3.14.12.2/bin/win32-x86/makeMakefile.pl O.win32-x86 ../../..


The command that failed for you was:
..\\..\\..\\bin\\win32-x86\\lemon.exe o=. -g ../snl.lem > ../O.Common/snl.bnf.tmp

The command that worked for me was:
..\\..\\..\\bin\\win32-x86\\lemon.exe o=. -g ../snl.lem > ../O.Common/snl.bnf.tmp

They look identical to me.

What shell are you running in when you build?  I am running in the standard Windows "cmd" shell.

Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of [email protected]
Sent: Tuesday, June 26, 2012 7:49 AM
To: [email protected]
Subject: SynApps build error : win32-x86

Greetings all,

  I'm having a maddening error attempting to build synApps_5_6 on a windows machine. Visual Studio 10, GnuWin32 Make (3.81), Strawberry Perl. The following is generated while attempting to build the sequencer support. Note the somewhat crazy mix of forward and backward slashes, the apparent use of double slashes within path names, and (the portion that appears to generate the failure) the lack of any slashes within the path to the "lemon" executable causing the "command not found" error.


Generating code
Finished generating code
Installing created file ../../../bin/win32-x86/snc.exe
perl -MExtUtils::Command -e rm_f ../O.Common/snl.bnf
..\\..\\..\\bin\\win32-x86\\lemon.exe o=. -g ../snl.lem > ../O.Common/snl.bnf.tmp
/usr/bin/sh: ......binwin32-x86lemon.exe: command not found
make[4]: *** [../O.Common/snl.bnf] Error 127
make[4]: Leaving directory `c:/synApps_5_6/support/seq-2-1-3/src/snc/O.win32-x86'
make[3]: *** [install.win32-x86] Error 2
make[3]: Leaving directory `c:/synApps_5_6/support/seq-2-1-3/src/snc'
make[2]: *** [snc.install] Error 2
make[2]: Leaving directory `c:/synApps_5_6/support/seq-2-1-3/src'
make[1]: *** [src.install] Error 2
make[1]: Leaving directory `c:/synApps_5_6/support/seq-2-1-3'
make: *** [c:/synApps_5_6/support/seq-2-1-3.install] Error 2
make: Leaving directory `C:/synApps_5_6/support'

C:\synApps_5_6\support>


Does anyone have an idea what is happening here?

TIA,
--Josh

Replies:
Re: SynApps build error : win32-x86 Jeffrey Gebhardt
References:
RE: SynApps build error : win32-x86 Mark Rivers

Navigate by Date:
Prev: RE: EPICS build on armv6l Tim Robinson
Next: Re: SynApps build error : win32-x86 Jeffrey Gebhardt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: SynApps build error : win32-x86 Mark Rivers
Next: Re: SynApps build error : win32-x86 Jeffrey Gebhardt
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·