I don't think shell is important on Windows, you can build EPICS in a Cygwin bash shell or a Windows cmd shell without having to worry about it.
I suspect the problem is the version of "make". I sent John the make executable I am using to see if that fixes the problem.
Mark
________________________________
From: [email protected] on behalf of J. Lewis Muir
Sent: Thu 3/11/2010 10:37 PM
To: EPICS Tech-Talk
Subject: Re: Building StreamDevice 2-4 / SynApps / Win32
On 3/11/10 8:16 PM, John Dobbins wrote:
> J. Lewis Muir wrote:
>> On 3/11/10 6:04 PM, Mark Rivers wrote:
>>> I'm stumped.
>>>
>>> -----Original Message-----
>>> From: John Dobbins [mailto:[email protected]] Sent: Thursday,
>>> March 11, 2010 3:42 PM
>>> To: Mark Rivers; EPICS Tech-Talk
>>> Subject: RE: Building StreamDevice 2-4 / SynApps / Win32
>>>
>>> Mark,
>>>
>>> FYI, if I create stream.dbd to look like yours and continue make I
>>> encounter the same problem when it gets around to making target
>>> streamReferences which has similar syntax.
>>>
>>> John
>>
>> Hi, John.
>>
>> What about your version of make -- what implementation and version are
>> you using?
>>
>> Lewis
>
> Lewis,
>
> I am using make from GnuWin32, version is 3.81
>
> http://gnuwin32.sourceforge.net/packages.html
>
> This definitely appears like a make problem to me - but not sure what
> other version to try.
>
> Mark Rivers is using a version from cygwin - I might try that tomorrow -
> other suggestions?
Hi, John.
I guess there's also MinGW that you could try.
I looked more closely at your error output where it says "r was
unexpected at this time" and at the Makefile target for building
stream.dbd which you included in a previous email. I see that its first
command line is:
@for r in $(RECORDS); \
I think this for loop will get executed in the shell. By default, that
should be /bin/sh on a Unix-like system; I don't know what it defaults
to for GnuWin32. But it can be override with the SHELL variable. Maybe
you've got the wrong shell being used or your shell is broken. Can you
find out what shell is being used? If not a Bourne shell, that's a
problem. If a Bourne shell, what one and what version? Does a simple
shell script using a for loop work with the shell being used by make?
For example, assuming the shell used by make is /bin/sh:
$ cat for-loop-test.sh
for r in 1 2 3; do
echo $r
done
$ /bin/sh for-loop-test.sh
1
2
3
Lewis
- Replies:
- Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- References:
- Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
- RE: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- RE: Building StreamDevice 2-4 / SynApps / Win32 Mark Rivers
- Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- Re: Building StreamDevice 2-4 / SynApps / Win32 John Dobbins
- Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- Navigate by Date:
- Prev:
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- Next:
Re: Building StreamDevice 2-4 / SynApps / Win32 Dirk Zimoch
- 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
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- Next:
Re: Building StreamDevice 2-4 / SynApps / Win32 J. Lewis Muir
- 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
2020
2021
2022
2023
2024
|