* Compiling with MSYS2
@ 2021-08-09 19:32 Bob Floyd
2021-08-09 22:12 ` Óscar Fuentes
2021-08-10 8:48 ` Arthur Miller
0 siblings, 2 replies; 3+ messages in thread
From: Bob Floyd @ 2021-08-09 19:32 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 2256 bytes --]
HI,
Am attempting to compile emacs on Windows 64 by following instructions
INSTALL.W64\nt - emacs.git - Emacs source repository (gnu.org)
<https://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64> and ran
into this configuration problem. Anyone have insight into the issue?
# ./autogen.sh
Checking whether you have the necessary tools...
(Read INSTALL.REPO for more details on building Emacs) Checking for autoconf
(need at least version 2.65) ... ok Your system has the required tools.
Building aclocal.m4 ...
Running 'autoreconf -fi -I m4' ...
Configuring local git repository...
'.git/config' -> '.git/config.~1~'
git config transfer.fsckObjects 'true'
git config diff.cpp.xfuncname '!^[
\t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*($|/[/*])
^((::[[:space:]]*)?[A-Za-z_][A-Za-z_0-9]*[[:space:]]*\(.*)$
^((#define[[:space:]]|DEFUN).*)$'
git config diff.elisp.xfuncname
'^\([^[:space:]]*def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*'
git config diff.make.xfuncname
'^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)'
git config diff.shell.xfuncname
'^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnu
m:]_]*=)'
git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)'
Installing git hooks...
'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg'
'build-aux/git-hooks/pre-commit' -> '.git/hooks/pre-commit'
'build-aux/git-hooks/prepare-commit-msg' -> '.git/hooks/prepare-commit-msg'
'.git/hooks/applypatch-msg.sample' -> '.git/hooks/applypatch-msg'
'.git/hooks/pre-applypatch.sample' -> '.git/hooks/pre-applypatch'
You can now run './configure'.
Bob@Cache MSYS /c/EmacsGit/emacs
# ./configure --prefix=/c/emacs/emacsgit --without-dbus
configure: loading site script /etc/config.site checking for xcrun... no
checking for GNU Make... make checking build system type... x86_64-pc-msys
checking host system type... x86_64-pc-msys
configure: error: Emacs does not support 'x86_64-pc-msys' systems.
If you think it should, please send a report to bug-gnu-emacs@gnu.org.
Check 'etc/MACHINES' for recognized configuration names.
Bob@Cache MSYS /c/EmacsGit/emacs
#
[-- Attachment #2: Type: text/html, Size: 5653 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling with MSYS2
2021-08-09 19:32 Compiling with MSYS2 Bob Floyd
@ 2021-08-09 22:12 ` Óscar Fuentes
2021-08-10 8:48 ` Arthur Miller
1 sibling, 0 replies; 3+ messages in thread
From: Óscar Fuentes @ 2021-08-09 22:12 UTC (permalink / raw)
To: emacs-devel; +Cc: Bob Floyd
"Bob Floyd" <bobfloyd@comcast.net> writes:
> Am attempting to compile emacs on Windows 64 by following instructions
> INSTALL.W64\nt - emacs.git - Emacs source repository (gnu.org)
> <https://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64> and ran
> into this configuration problem. Anyone have insight into the issue?
Follow the instructions from a MinGW-w64 shell (should be labelled as
"MSYS2 MinGW 64 bit" or similar on your MSYS2 install.)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling with MSYS2
2021-08-09 19:32 Compiling with MSYS2 Bob Floyd
2021-08-09 22:12 ` Óscar Fuentes
@ 2021-08-10 8:48 ` Arthur Miller
1 sibling, 0 replies; 3+ messages in thread
From: Arthur Miller @ 2021-08-10 8:48 UTC (permalink / raw)
To: Bob Floyd; +Cc: emacs-devel
"Bob Floyd" <bobfloyd@comcast.net> writes:
> HI,
>
>
>
> Am attempting to compile emacs on Windows 64 by following instructions INSTALL.W64\nt - emacs.git - Emacs source
> repository (gnu.org) and ran into this configuration problem. Anyone have insight into the issue?
>
>
>
> # ./autogen.sh
>
> Checking whether you have the necessary tools...
>
> (Read INSTALL.REPO for more details on building Emacs) Checking for autoconf (need at least version 2.65) ... ok Your system has
> the required tools.
>
> Building aclocal.m4 ...
>
> Running 'autoreconf -fi -I m4' ...
>
> Configuring local git repository...
>
> '.git/config' -> '.git/config.~1~'
>
> git config transfer.fsckObjects 'true'
>
> git config diff.cpp.xfuncname '!^[ \t]*[A-Za-z_][A-Za-z_0-9]*:[[:space:]]*($|/[/*])
>
> ^((::[[:space:]]*)?[A-Za-z_][A-Za-z_0-9]*[[:space:]]*\(.*)$
>
> ^((#define[[:space:]]|DEFUN).*)$'
>
> git config diff.elisp.xfuncname '^\([^[:space:]]*def[^[:space:]]+[[:space:]]+([^()[:space:]]+)'
>
> git config diff.m4.xfuncname '^((m4_)?define|A._DEFUN(_ONCE)?)\([^),]*'
>
> git config diff.make.xfuncname '^([$.[:alnum:]_].*:|[[:alnum:]_]+[[:space:]]*([*:+]?[:?]?|!?)=|define .*)'
>
> git config diff.shell.xfuncname '^([[:space:]]*[[:alpha:]_][[:alnum:]_]*[[:space:]]*\(\)|[[:alpha:]_][[:alnum:]_]*=)'
>
> git config diff.texinfo.xfuncname '^@node[[:space:]]+([^,[:space:]][^,]+)'
>
> Installing git hooks...
>
> 'build-aux/git-hooks/commit-msg' -> '.git/hooks/commit-msg'
>
> 'build-aux/git-hooks/pre-commit' -> '.git/hooks/pre-commit'
>
> 'build-aux/git-hooks/prepare-commit-msg' -> '.git/hooks/prepare-commit-msg'
>
> '.git/hooks/applypatch-msg.sample' -> '.git/hooks/applypatch-msg'
>
> '.git/hooks/pre-applypatch.sample' -> '.git/hooks/pre-applypatch'
>
> You can now run './configure'.
>
>
>
> Bob@Cache MSYS /c/EmacsGit/emacs
>
> # ./configure --prefix=/c/emacs/emacsgit --without-dbus
>
> configure: loading site script /etc/config.site checking for xcrun... no checking for GNU Make... make checking build system type...
> x86_64-pc-msys checking host system type... x86_64-pc-msys
>
> configure: error: Emacs does not support 'x86_64-pc-msys' systems.
>
> If you think it should, please send a report to bug-gnu-emacs@gnu.org.
>
> Check 'etc/MACHINES' for recognized configuration names.
>
>
>
> Bob@Cache MSYS /c/EmacsGit/emacs
>
> #
I am not sure, I never had problems with compiling on msys2, but which
shell do you use? I am not in windows now, but I think you should use
mingw64 shell not msys64. I am not 100% but try. Can be that system name
will be slightly different dependning on which shell you use. I think it
is unfortuante to have those different "systems" with msys2, but so it is.
I think you can skip --without-dbus on windows, configure is bright
enough to not configure the source with dbus on windows.
You can also check if this guide helps you:
https://gist.github.com/nauhygon/f3b44f51b34e89bc54f8
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-10 8:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-09 19:32 Compiling with MSYS2 Bob Floyd
2021-08-09 22:12 ` Óscar Fuentes
2021-08-10 8:48 ` Arthur Miller
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).