Worked for me too, running from Bash prompt and as script. Did you try
this, or was it just during Gnulib build?

My environment:

$ uname -m
i686

$ sed --version | head -1
sed (GNU sed) 4.2.2

$ bash --version | head -1
GNU bash, version 4.3.22(2)-release (i686-pc-msys)


2014-08-21 10:37 GMT-03:00 Ray Donnelly <[email protected]>:

> On Thu, Aug 21, 2014 at 2:01 PM, Gisle Vanem <[email protected]> wrote:
> > I just install Msys2, did the install instructions. But while trying to
> > build GNUlib using MingW I hit a problem with MSys2's 'sed.exe' or
> 'sh.exe'
> > in generating GNUlib's math.h. The message from sh.exe:
> >  /bin/sh: -c: line 134: unexpected EOF while looking for matching `''
> >  /bin/sh: -c: line 135: syntax error: unexpected end of file
> >  Makefile.MingW:730: recipe for target 'math.h' failed
> >  gnumake: *** [math.h] Error 1
> >
> > I've used the old sh/sed in MSys for years w/o problems. What could be
> the
> > problem now? A too long command-line or what? It's "only" 16kByte.
> Attached.
> >
> > FYI, the sh/sed versions are different. Msys32's sh/sed --version
> >  GNU bash, version 4.3.22(2)-release (i686-pc-msys)
> >  /bin/sed (GNU sed) 4.2.2
> >
>
> Works fine for me on x86_64-pc-msys, can you try there, and also post
> your math.h.in?
>
> > and from Msys':
> >  GNU bash, version 3.1.17(1)-release (i686-pc-msys)
> >  GNU sed version 4.2.1
> >
> > --gv
> >
> ------------------------------------------------------------------------------
> > Slashdot TV.
> > Video for Nerds.  Stuff that matters.
> > http://tv.slashdot.org/
> > _______________________________________________
> > Msys2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/msys2-users
> >
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to