Subject: bug#12862: 24.2.50; Can't compile trunk on MSWindows

From: Eli Zaretskii <[email-masked]>
Date: Sun, 11 Nov 2012 21:01:17 +0200

> From: [email-masked] (Vincent Belaïche)
> Date: Sun, 11 Nov 2012 14:56:23 +0100
> Cc: Vincent Belaïche <[email-masked]>
> 
> C:\Programme\GNU\installation\emacs-install\emacs\trunk\nt>call configure.bat --prefix=C:\Programme\GNU\Emacs --without-jpeg --without-tiff --without-gif --without-png  --distfiles C:\Programme\GNU\installation\emacs-install\libXpm-3.5.7\src --cflags -I --cflags "C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/include" --cflags -I --cflags "C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/src" 
> Checking for 'cp'...
> Checking for 'rm'...
> Checking whether 'gcc' is available...
> Checking whether gcc requires '-mno-cygwin'...
> Checking whether Windows API headers are too old...
> 
> C:\Programme\GNU\installation\emacs-install\emacs\trunk\nt>gcc -I C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/include -I C:/Programme/GNU/installation/emacs-install/libXpm-3.5.7/src -c junk.c 
> Using 'gcc'
> Checking for libgnutls...
> ...gnutls.h not found, building without TLS support.
> Checking for libxml2....
> ...libxml/HTMLparser.h not found, building without libxml2 support
> Checking for libXpm...
> ...XPM header available, building with XPM support.
> Checking for distfiles...
> ...all distfiles found.
> Generating makefiles
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\nt\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\admin\unidata\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\lib\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\src\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\doc\emacs\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\doc\misc\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\doc\lispref\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\doc\lispintro\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\lisp\makefile.w32-in
>         1 fichier(s) copié(s).
> config.settings
> gmake.defs
> ..\leim\makefile.w32-in
>         1 fichier(s) copié(s).
> 
> Emacs successfully configured.
> Run `make' to build, then run `make install' to install.

Something is wrong with how you run configure.bat, because this part
is missing from the above transcript:

  config.settings
  gmake.defs
  ..\lib-src\makefile.w32-in
          1 file(s) copied.

It should appear between similar fragments for admin and lib
subdirectories.  I'm guessing that something went wrong when
generating lib-src/makefile, so it is butchered and doesn't work.

One thing to try is to remove the first line from configure.bat and
re-run it, perhaps you will then see what's wrong with that part.

Anyway, this works for me.