GNU bug report logs -
#19989
25.0.50; Build instructions on Windows
Previous Next
Reported by: Ilya Zakharevich <nospam-abuse <at> ilyaz.org>
Date: Tue, 3 Mar 2015 16:48:01 UTC
Severity: minor
Found in version 25.0.50
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Tue, Mar 03, 2015 at 07:21:03PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 03 Mar 2015 19:00:09 +0200
> > From: Eli Zaretskii <eliz <at> gnu.org>
> > Cc: 19989 <at> debbugs.gnu.org
> >
> > > • mingw shell sets path to (essentially) FOO/msys/1.0/mingw/bin (here FOO
> > > is the install path), but there is no directory
> > > FOO/msys/1.0/mingw
> > > what is is
> > > FOO/bin
> > > So I needed to make a symbolic link (Windows style required) by
> > > running
> > > mklink /j mingw FOO
> > > in FOO/msys/1.0
> > FWIW, the 2nd issue sounds to me like an installation mistake of some
> > kind (did you install MinGW inside the MSYS tree, by chance?).
How would I know? I just ran mingw-get (as described), and set
install directory ( = FOO) once.
The result:
FOO/bin - contains gcc executables etc
FOO/msys/1.0/ - contains msys
FOO/msys/1.0/bin - contains msys executables
> > But
> > I'm not an expert; all I know is that on my system, the MSYS Bash
> > window has PATH set to whatever my system-wide PATH is, with these
> > directories prepended:
> >
> > .:/usr/local/bin:/mingw/bin:/bin:
> >
> > IOW, no msys/1.0/mingw/ anywhere in sight.
??? Of course it IS in sight:
/bin IS native FOO/msys/1.0/bin
/mingw/bin IS native FOO/msys/1.0/mingw/bin
> Btw, there's nothing magic in the PATH value: it is set in
> /etc/profile (probably FOO/msys/etc/profile in your case), and you can
> edit it to your heart's content.
Only if one KNOWS what all these slashes-etc MEAN. As you see, even
*you* got lost what denotes which native directory. If what the users
know is what is in nt/INSTALL, they have no way to deduce this info.
=======================================================
BTW: you reminded me: there is another bug in Emacs build — this one
purely in Emacs. My default PATH accesses a complete cygwin
installation, and:
• Emacs won’t build unless I unset PATH before running the msys shell.
I expect that the detection of presence of dependencies is not
“specific enough”:
• it can see “something” present on PATH, and
• it does not check that “this” won’t actually build with mingw
being first on PATH.
Ilya
This bug report was last modified 7 years and 222 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.