unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: emacs-devel@gnu.org
Subject: Fwd: Building Emacs trunk on Windows 7, using MinGW + MSYS
Date: Mon, 4 Jul 2011 14:19:58 +0200	[thread overview]
Message-ID: <CAH8Pv0hPASO3KkCew0YyPyShOfMdAH4T0Af6DWdFD4uciQJSEA@mail.gmail.com> (raw)
In-Reply-To: <CAH8Pv0jWVKbibRqVK2zUvT3_bWSC39AY+qnqj_nAeUNKT38sMA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1654 bytes --]

Hi,

Yesterday I sent the bellow message to help-emacs-windows mailing
list, but It still doesn't appear in the archives (strange), so I'm
forwarding it here to emacs-devel (which also seems more appropriate,
since it is not a user-level question).


---------- Forwarded message ----------
From: Dani Moncayo <dmoncayo@gmail.com>
Date: Sun, Jul 3, 2011 at 16:50
Subject: Building Emacs trunk on Windows 7, using MinGW + MSYS
To: help-emacs-windows@gnu.org


Hi,

I'm trying to build Emacs (the latest trunk version) on my system
(Windows 7 64-bit). I've tried to follow the instructions in
"INSTALL.BZR" and "nt/INSTALL", but I still haven't found the way.

Here's what I've tried:
1. I've installed the latest MinGW/MSYS in folder "C:\MinGW".
2. I've added "C:\MinGW\bin;C:\MinGW\msys\1.0\bin" to the system PATH.
3. I've tested the environment by writing and building a "hello world"
C program.  It works fine.
4. I've pulled the latest Emacs trunk to "C:\Emacs\trunk".
5. From a console (cmd.exe), I've executed these commands:
 5.1 cd C:\Emacs\trunk\nt
 5.2 configure --without-xpm --without-png --without-jpeg
--without-tiff --without-gif > configure.log 2>&1
 5.3 make bootstrap > make.log 2>&1

I'm attaching the output from configure and make commands
("configure.log" and "make.log").

The make command stops after a while.  It seems that a new session of
cmd.exe has been started, and is waiting for input.  I know this
because I see two "cmd.exe" processes in the task manager, and also
the last part of make's output suggests that.

Do you know what am I doing wrong?

TIA.


-- 
Dani Moncayo

[-- Attachment #2: configure.log --]
[-- Type: application/octet-stream, Size: 1377 bytes --]

Checking for 'cp'...
Checking for 'rm'...
Checking whether 'gcc' is available...
Checking whether gcc requires '-mno-cygwin'...
Checking whether W32 API headers are too old...

C:\Emacs\trunk\nt>gcc  -c junk.c 
Using 'gcc'
Checking for libgnutls...
...gnutls.h not found, building without TLS support.
Generating makefiles
        1 file(s) copied.
config.settings
gmake.defs
..\nt\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\admin\unidata\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lib-src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lib\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\src\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\emacs\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\misc\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\lispref\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\doc\lispintro\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\lisp\makefile.w32-in
        1 file(s) copied.
config.settings
gmake.defs
..\leim\makefile.w32-in
        1 file(s) copied.

Emacs successfully configured.
Run `make' to build, then run `make install' to install.

[-- Attachment #3: make.log --]
[-- Type: application/octet-stream, Size: 7845 bytes --]

[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make   -C ../lisp bootstrap-clean
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/c/Emacs/trunk/lisp'
rm /c/Emacs/trunk/lisp/loaddefs.el
rm: cannot lstat `/c/Emacs/trunk/lisp/loaddefs.el': No such file or directory
make[1]: [bootstrap-clean] Error 1 (ignored)
make -w bootstrap-clean-SH
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[2]: Entering directory `/c/Emacs/trunk/lisp'
for dir in . calc calendar emacs-lisp emulation erc eshell gnus international language mail mh-e net nxml org play progmodes textmodes url vc cedet cedet/ede cedet/semantic cedet/srecode cedet/semantic/analyze cedet/semantic/bovine cedet/semantic/decorate cedet/semantic/symref cedet/semantic/wisent term obsolete; do rm -f $dir/*.elc $dir/*/*.elc $dir/*/*/*.elc; done
make[2]: Leaving directory `/c/Emacs/trunk/lisp'
make[1]: Leaving directory `/c/Emacs/trunk/lisp'
make   -C ../src clean
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/c/Emacs/trunk/src'
rm "s/*.h~" "m/*.h~"
rm: cannot lstat `s/*.h~': No such file or directory
rm: cannot lstat `m/*.h~': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm 
rm: missing operand
Try `rm --help' for more information.
make[1]: [clean] Error 1 (ignored)
rm -r oo-spd
rm stamp_BLD gl-stamp globals.h
rm: cannot lstat `globals.h': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm buildobj.h
rm: cannot lstat `buildobj.h': No such file or directory
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory `/c/Emacs/trunk/src'
make   -C ../lib-src clean make-docfile
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/c/Emacs/trunk/lib-src'
rm DOC* 
rm: cannot lstat `DOC*': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm ctags.c
rm: cannot lstat `ctags.c': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm -r oo-spd
rm stamp_BLD
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib -I../nt/inc -I../src -o oo-spd/i386/make-docfile.o make-docfile.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib -I../nt/inc -I../src -o oo-spd/i386/ntlib.o ntlib.c
gcc -o oo-spd/i386/make-docfile.exe  -gdwarf-2 -g3    oo-spd/i386/make-docfile.o oo-spd/i386/ntlib.o   -ladvapi32
make[1]: Leaving directory `/c/Emacs/trunk/lib-src'
make   -C ../lib clean all
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/c/Emacs/trunk/lib'
rm 
rm: missing operand
Try `rm --help' for more information.
make[1]: [clean] Error 1 (ignored)
rm getopt.h
rm -r oo-spd
rm stamp_BLD
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/dtoastr.o dtoastr.c
cp -f getopt_.h getopt.h
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/getopt.o getopt.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/getopt1.o getopt1.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/strftime.o strftime.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/time_r.o time_r.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/md5.o md5.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/sha1.o sha1.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/sha256.o sha256.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/sha512.o sha512.c
gcc -I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -DHAVE_CONFIG_H=1 -I. -I../nt/inc -I../src -o oo-spd/i386/filemode.o filemode.c
rm oo-spd/i386/libgnu.a
rm: cannot lstat `oo-spd/i386/libgnu.a': No such file or directory
make[1]: [oo-spd/i386/libgnu.a] Error 1 (ignored)
ar -rsc oo-spd/i386/libgnu.a oo-spd/i386/dtoastr.o oo-spd/i386/getopt.o oo-spd/i386/getopt1.o oo-spd/i386/strftime.o oo-spd/i386/time_r.o oo-spd/i386/md5.o oo-spd/i386/sha1.o oo-spd/i386/sha256.o oo-spd/i386/sha512.o oo-spd/i386/filemode.o
make[1]: Leaving directory `/c/Emacs/trunk/lib'
make   -C ../src bootstrap
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: Entering directory `/c/Emacs/trunk/src'
make -w bootstrap-temacs-SH
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[2]: Entering directory `/c/Emacs/trunk/src'
make -w  temacs CFLAGS='-I. -c -gdwarf-2 -g3  -mtune=pentium4 -O2      -Demacs=1 -DHAVE_CONFIG_H -I../lib -I../nt/inc -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000'
[Please ignore a syntax error on the next line - it is intentional]
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[3]: Entering directory `/c/Emacs/trunk/src'
mkdir "oo-spd"
mkdir "oo-spd/i386"
echo oo-spd/i386 > stamp_BLD
rm gl-tmp
rm: cannot lstat `gl-tmp': No such file or directory
make[3]: [gl-stamp] Error 1 (ignored)
"../lib-src/oo-spd/i386/make-docfile" -d . -g dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o dbusbind.o dosfns.o msdos.o xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o fringe.o image.o fontset.o menu.o dbusbind.o w32.o w32console.o w32fns.o w32heap.o w32inevt.o w32menu.o w32proc.o w32reg.o w32select.o w32term.o w32xfns.o font.o w32font.o w32uniscribe.o dispnew.o frame.o scroll.o xdisp.o window.o bidi.o charset.o coding.o category.o ccl.o character.o chartab.o cm.o term.o terminal.o xfaces.o emacs.o keyboard.o macros.o keymap.o sysdep.o buffer.o filelock.o insdel.o marker.o minibuf.o fileio.o dired.o cmds.o casetab.o casefiddle.o indent.o search.o regex.o undo.o alloc.o data.o doc.o editfns.o callint.o eval.o floatfns.o fns.o print.o lread.o syntax.o bytecode.o process.o callproc.o unexw32.o region-cache.o sound.o atimer.o doprnt.o intervals.o textprop.o composite.o > gl-tmp
cmd /c "fc /b gl-tmp globals.h >nul 2>&1 || cp -f gl-tmp globals.h"
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

c:\Emacs\trunk\src>

       reply	other threads:[~2011-07-04 12:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAH8Pv0jWVKbibRqVK2zUvT3_bWSC39AY+qnqj_nAeUNKT38sMA@mail.gmail.com>
2011-07-04 12:19 ` Dani Moncayo [this message]
2011-07-04 14:09   ` Building Emacs trunk on Windows 7, using MinGW + MSYS Juanma Barranquero
2011-07-04 14:29     ` Dani Moncayo
2011-07-04 14:53       ` Juanma Barranquero
2011-07-04 15:19         ` Eli Zaretskii
2011-07-04 15:30           ` Juanma Barranquero
2011-07-11 13:51         ` Jason Rumney
2011-07-11 14:11           ` Juanma Barranquero
2011-07-11 16:07           ` Eli Zaretskii
2011-07-04 15:15       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH8Pv0hPASO3KkCew0YyPyShOfMdAH4T0Af6DWdFD4uciQJSEA@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).