From: Noam Postavsky <npostavs@users.sourceforge.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: "Fabrice Popineau" <fabrice.popineau@gmail.com>,
"Francis Wright" <f.j.wright@live.co.uk>,
"Vincent Belaïche" <vincent.belaiche@gmail.com>,
28601@debbugs.gnu.org,
"Stephen Leake" <stephen_leake@stephe-leake.org>,
"Phillip Lord" <phillip.lord@russet.org.uk>
Subject: bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems.
Date: Wed, 8 Nov 2017 12:42:29 -0500 [thread overview]
Message-ID: <CAM-tV--GAHv3DfGG=qjAD4B+YiqX7VAPQd34eCsp36bwbYspQg@mail.gmail.com> (raw)
In-Reply-To: <831sl8sqmc.fsf@gnu.org>
On Wed, Nov 8, 2017 at 11:05 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> +Note also that we need to disable Imagemagick and DBUS because Emacs
>> +does not yet support them on Windows.
>
> I think the correct spelling is D-Bus, no?
Yes, you're right (ref https://www.freedesktop.org/wiki/Software/dbus/).
>> +** Check your $PATH
>> +
>> +When building Emacs, you should have /mingw64/bin in $PATH, such that running
>> +
>> + which gcc
>> +
>> +gives '/mingw64/bin/gcc'.
>> +
>> +** Check your $PKG_CONFIG_PATH
>> +
>> +It should start with '/mingw64/lib/pkgconfig'.
>
> You are talking to Windows users here, they might not be familiar with
> the Unix shell's $FOO syntax. So I suggest to be more explicit here,
> something like
>
> ** Check your PATH environment variable
>
> Also, there are native Windows ports of 'which', so I suggest to say
> explicitly that "which gcc" should be invoked from the MSYS Bash
> command line (and if so, why not use "type gcc" instead?). Otherwise,
> the report by 'which' might be in a very different form, because
> /mingw64 is not a real Windows file name.
>
> (Btw, on my system, "type gcc" from Bash says "/d/usr/bin/gcc", and
> there's nothing wrong with my installation. So this advice could be
> okay for the newbies, but if the value is different, it doesn't yet
> mean the installation is wrong. I'm just saying.)
But you have MSYS (1), right? The issue here, is that with MSYS2 there
are 3 possible gcc's that can be installed. The mingw64 one should be
active. If the user launched C:\msys64\msys2.exe instead of
C:\msys64\mingw64.exe, they would get "/usr/bin/gcc", which is not the
right gcc (it would result in the "Emacs does not support
'x86_64-pc-msys' systems" error mentioned in the bug title).
Obviously, the text in my patch didn't explain this clearly enough.
>> +** Check your MSYS2 fstab file
>
> I don't understand why this part is necessary. AFAIR, fstab is set up
> by the MSYS installer, and if it doesn't have the correct entries,
> nothing will really work. So I think this problem can only happen if
> someone manually tinkers with their fstab, and if so, they should know
> what they are doing. Asking people to look there runs the risk of
> them deciding that the value is somehow incorrect, and editing it to
> completely ruin their MSYS installation. FWIW, I have _never_ needed
> to look at that file, in all the years I have an actively maintained
> and used MSYS installation.
>
> So I think this is best skipped.
Maybe we should title the section "If your name is Vincent, Check your
MSYS2 fstab file" ;)
next prev parent reply other threads:[~2017-11-08 17:42 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-25 20:02 bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems Vincent Belaïche
2017-09-27 18:36 ` Glenn Morris
2017-09-27 19:07 ` Vincent Belaïche
2017-09-27 19:10 ` Vincent Belaïche
2017-09-27 21:37 ` Glenn Morris
2017-09-28 13:10 ` Andy Moreton
2017-09-29 9:37 ` Eli Zaretskii
2017-10-12 23:06 ` Noam Postavsky
2017-10-13 6:41 ` Eli Zaretskii
2017-10-13 10:14 ` Andy Moreton
2017-10-13 12:22 ` Eli Zaretskii
2017-10-13 13:52 ` Andy Moreton
2017-10-13 14:38 ` Eli Zaretskii
2017-10-13 16:33 ` Noam Postavsky
2017-10-13 17:24 ` Eli Zaretskii
2017-10-13 17:51 ` Noam Postavsky
2017-10-13 18:35 ` Eli Zaretskii
2017-10-13 18:52 ` windows build help Phillip Lord
2017-10-13 19:36 ` Óscar Fuentes
2017-10-13 19:38 ` Stephen Leake
2017-10-14 11:07 ` Phillip Lord
2017-10-14 15:15 ` Stephen Leake
2017-10-14 15:26 ` Phillip Lord
2017-10-14 15:31 ` Eli Zaretskii
2017-10-14 23:04 ` Paul Eggert
2017-10-16 1:53 ` Richard Stallman
2017-10-16 6:49 ` Paul Eggert
2017-10-16 13:54 ` Stefan Monnier
2017-10-13 19:47 ` Noam Postavsky
2017-10-14 11:09 ` Phillip Lord
2017-10-13 14:09 ` bug#28601: 26.0.50; configure: error: Emacs does not support 'x86_64-pc-msys' systems Vincent Belaïche
2017-10-13 14:16 ` Noam Postavsky
2017-10-14 1:40 ` Noam Postavsky
2017-10-16 8:59 ` Vincent Belaïche
2017-10-16 14:23 ` Noam Postavsky
2017-10-16 17:11 ` Vincent Belaïche
2017-10-16 21:42 ` Noam Postavsky
2017-10-19 8:25 ` Vincent Belaïche
2017-11-08 2:37 ` Noam Postavsky
2017-11-08 16:05 ` Eli Zaretskii
2017-11-08 17:42 ` Noam Postavsky [this message]
2017-11-08 18:13 ` Eli Zaretskii
2017-11-08 19:23 ` Noam Postavsky
2017-11-08 19:38 ` Eli Zaretskii
2017-11-16 14:40 ` Noam Postavsky
2017-11-16 16:11 ` Eli Zaretskii
2017-11-21 19:44 ` Noam Postavsky
2017-10-16 16:19 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAM-tV--GAHv3DfGG=qjAD4B+YiqX7VAPQd34eCsp36bwbYspQg@mail.gmail.com' \
--to=npostavs@users.sourceforge.net \
--cc=28601@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=f.j.wright@live.co.uk \
--cc=fabrice.popineau@gmail.com \
--cc=phillip.lord@russet.org.uk \
--cc=stephen_leake@stephe-leake.org \
--cc=vincent.belaiche@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.