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: Dani Moncayo
Subject: Re: MS-Windows build using Posix configury
Date: Fri, 19 Apr 2013 22:17:40 +0200

>> I just tried to avoid manual installation of packages, and use
>> (exclusively) the mingw-get package manager instead (which seems more
>> convenient to me).
>
> Yes, I can understand that.

I've played a bit more, and I think I'm close to build Emacs with a
MinGW environment set up exclusively with its package manager (that
would be nice!).

The packages I've installed (with "mingw-get install <package>"), in
addition to the ones installed by default, are:
* msys-base
* mingw-developer-toolkit
* msys-automake

Once I've done that, the "./autogen.sh" command is successful:
  $ ./autogen.sh
  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...
  You can now run `./configure'.


The configuration command is successful too:
  $ CPPFLAGS='-DGLYPH_DEBUG=1' CFLAGS='-O0 -g3'
../mybranch/nt/msysconfig.sh --prefix=c:/usr --enable-checking
--without-all

  [...]

  Configured for `i686-pc-mingw32'.

    Where should the build process find the source code?    /c/emacs/mybranch
    What compiler should emacs be built with?               gcc
-std=gnu99 -O0 -g
  3
    Should Emacs use the GNU version of malloc?             yes
    Should Emacs use a relocating allocator for buffers?    yes
    Should Emacs use mmap(2) for buffer allocation?         no
    What window system should Emacs use?                    w32
    What toolkit should Emacs use?                          none
    Where do we find X Windows header files?                NONE
    Where do we find X Windows libraries?                   NONE
    Does Emacs use -lXaw3d?                                 no
    Does Emacs use -lXpm?                                   no
    Does Emacs use -ljpeg?                                  no
    Does Emacs use -ltiff?                                  no
    Does Emacs use a gif library?                           no
    Does Emacs use -lpng?                                   no
    Does Emacs use -lrsvg-2?                                no
    Does Emacs use imagemagick?                             no
    Does Emacs use -lgpm?                                   no
    Does Emacs use -ldbus?                                  no
    Does Emacs use -lgconf?                                 no
    Does Emacs use GSettings?                               no
    Does Emacs use -lselinux?                               no
    Does Emacs use -lgnutls?                                no
    Does Emacs use -lxml2?                                  no
    Does Emacs use -lfreetype?                              no
    Does Emacs use -lm17n-flt?                              no
    Does Emacs use -lotf?                                   no
    Does Emacs use -lxft?                                   no
    Does Emacs use toolkit scroll bars?                     no


  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating lib/Makefile
  config.status: creating lib-src/Makefile
  config.status: creating oldXMenu/Makefile
  config.status: creating doc/emacs/Makefile
  config.status: creating doc/misc/Makefile
  config.status: creating doc/lispintro/Makefile
  config.status: creating doc/lispref/Makefile
  config.status: creating src/Makefile
  config.status: creating lwlib/Makefile
  config.status: creating lisp/Makefile
  config.status: creating leim/Makefile
  config.status: creating nextstep/Makefile
  config.status: creating nt/Makefile
  config.status: creating test/automated/Makefile
  config.status: creating admin/unidata/Makefile
  config.status: creating src/config.h
  config.status: executing depfiles commands
  config.status: executing mkdirs commands
  config.status: executing epaths commands
  creating src/epaths.h
  config.status: executing gdbinit commands
  creating src/.gdbinit


But then, the "bootstrap" target ends up failing here:
  make[3]: Leaving directory `/c/emacs/build/doc/misc'
  make[2]: Leaving directory `/c/emacs/build'
  cd nt && make all -w                         \
            CC='gcc  -std=gnu99' CFLAGS='-O0 -g3'
CPPFLAGS='-mtune=pentium4  -DGLY
  PH_DEBUG=1 -DUSE_CRT_DLL=1 -I /c/emacs/mybranch/nt/inc' \
            LDFLAGS='' MAKE='make'
  make[2]: Entering directory `/c/emacs/build/nt'
  windres -O coff -o emacs.res emacs.rc
  gcc: error: emacs.rc: No such file or directory
  gcc: warning: '-x c' after last input file has no effect
  gcc: fatal error: no input files
  compilation terminated.
  c:\MinGW\bin\windres.exe: preprocessing failed.
  make[2]: *** [emacs.res] Error 1
  make[2]: Leaving directory `/c/emacs/build/nt'
  make[1]: *** [nt] Error 2
  make[1]: Leaving directory `/c/emacs/build'
  make: *** [bootstrap] Error 2


What might the problem be?

TIA



reply via email to

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