emacs-devel
[Top][All Lists]
Advanced

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

Re: Compiling with MSYS2


From: Arthur Miller
Subject: Re: Compiling with MSYS2
Date: Tue, 10 Aug 2021 10:48:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

"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




reply via email to

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