bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex


From: Eli Zaretskii
Subject: Re: bug in texi2dvi, on Windows/Msys2 it cannot find tex
Date: Fri, 08 Apr 2022 23:01:18 +0300

> From: Gavin Smith <gavinsmith0123@gmail.com>
> Date: Fri, 8 Apr 2022 15:12:19 +0100
> Cc: Eli Zaretskii <eliz@gnu.org>, bug-texinfo@gnu.org
> 
> On Fri, Apr 08, 2022 at 03:53:31PM +0200, Tomas Kalibera wrote:
> > 
> > On 4/8/22 15:31, Gavin Smith wrote:
> > > On Fri, Apr 08, 2022 at 03:15:01PM +0200, Tomas Kalibera wrote:
> > > > > What happens if we don't set MSYSTEM at all?
> > > > > 
> > > > > diff --git a/util/texi2dvi b/util/texi2dvi
> > > > > index 1f42b41907..c506bbad37 100755
> > > > > --- a/util/texi2dvi
> > > > > +++ b/util/texi2dvi
> > > > > @@ -85,7 +85,7 @@ IFS="$space$tab$newline"
> > > > >    # Msys. It is safer to use OSTYPE, this is why we set MSYSTEM to
> > > > >    # $OSTYPE before calling uname
> > > > >    if test -n "$COMSPEC$ComSpec" \
> > > > > -   && MSYSTEM=$OSTYPE uname | $EGREP -iv 'cygwin|msys' >/dev/null; 
> > > > > then
> > > > > +   && uname | $EGREP -iv 'cygwin|msys' >/dev/null; then
> > > > >      path_sep=";"
> > > > >    else
> > > > >      path_sep=":"
> > > > It works with Msys2 and cygwin for me, but breaks with MSYSTEM, where
> > > What is MSYSTEM?  Is this the original msys?
> > > 
> > > > $ uname
> > > > MINGW32_NT-6.2
> > > > 
> > > > $ MSYSTEM=$OSTYPE uname
> > > > msys_NT-6.2
> > > > 
> > > > $ uname -a
> > > > MINGW32_NT-6.2 DESKTOP-G858KME 1.0.19(0.48/3/2) 2016-07-13 17:45 i686 
> > > > Msys
> > > Does the path separator need to be set to ; on this system?  Is anybody
> > > likely to be running texi2dvi from it?
> > > 
> > > Are you sure that MSYSTEM is set up correctly?  Is the MSYSTEM envvar
> > > set to something else, or just not set at all?
> > 
> > This is a completely clean installation using mingw-get which I downloaded
> > from https://sourceforge.net/projects/mingw/files/Installer/, without any
> > manual configuration.
> 
> So this is the standard MinGW environment?

MinGW and MSYS are not the same.  MinGW is native Windows; MSYS is a
Cygwin-like Posix emulation.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]