emacs-devel
[Top][All Lists]
Advanced

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

Re: MS-Windows build using Posix configury


From: Eli Zaretskii
Subject: Re: MS-Windows build using Posix configury
Date: Fri, 19 Apr 2013 00:20:24 +0300

> Date: Thu, 18 Apr 2013 21:32:12 +0200
> From: Dani Moncayo <address@hidden>
> Cc: Emacs development discussions <address@hidden>
> 
> But when I go to the root of my local branch and do "./autogen.sh", I
> get this error:
> 
>   Checking whether you have the necessary tools...
>   (Read INSTALL.BZR for more details on building Emacs)
> 
>   Checking for autoconf (need at least version 2.65)...
>   ok
>   Checking for automake (need at least version 1.11)...
>   ok
>   Your system has the required tools, running autoreconf...
>   Can't locate Autom4te/ChannelDefs.pm in @INC (@INC contains:
> /mingw/share/autoconf /usr/lib/perl5/5.8/msys /usr/lib/perl5/5.8
> /usr/lib/perl5/site_perl/5.8/msys /usr/lib/perl5/site_perl/5.8
> /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8/msys
> /usr/lib/perl5/vendor_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at
> /c/MinGW/bin/autoreconf-2.68 line 40.
>   BEGIN failed--compilation aborted at /c/MinGW/bin/autoreconf-2.68 line 40.
>                                                     ^^^^^^^^^^^^^^^
> 
> Do you know what's the problem here?

Yes: you didn't follow the instructions to the letter ;-) As result
you seem to have a botched Autoconf installation which lacks this
file.

INSTALL.MSYS points to specific distributions of Autoconf and
Automake.  I did that (and actually prepared those distributions)
precisely because I know they work for me.  You are using a different
version of Autoconf, probably downloaded from somewhere else.

I see that you fixed that in the mean time, but I also see that you
still use a different version of Autoconf from the one to which I
pointed.  You may consider uninstalling what you have and installing
the versions I provided (assuming that mingw-get supports uninstalling
well enough -- I don't know because I never used that tool).  Please
note that the version I provided is exactly the one used by Glenn to
generate the files in autogen/ subdirectory -- which is the reason
that I used those very versions of autotools.

Also, I see that your Autoconf is installed in the MinGW tree, not in
the MSYS tree, probably because you installed MinGW packages for
Autoconf and Automake (tyere are no MSYS packages, AFAICS).  Again, I
advise not to do that.  Use my packages, and install them from the
root of the MSYS tree.  Separating MinGW from MSYS is another advice
in INSTALL.MSYS I suggest that you follow to the letter.

Having MinGW and MSYS installed correctly and in perfect working order
gets you 99% of the way of being able to build Emacs -- all the rest
"just works".



reply via email to

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