From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Claus Newsgroups: gmane.emacs.devel Subject: Re: Emacs vista build failures Date: Mon, 14 Jul 2008 10:43:43 +0200 Message-ID: References: <36366a980807091202rd3b6521jc9fa45d321bc9d37@mail.gmail.com> <4eb0089f0807111217m66d6cf4el777c197c107ce034@mail.gmail.com> <87skug6tq5.fsf@catnip.gol.com> <4eb0089f0807111345h13eccdds9b2cf43370b94074@mail.gmail.com> <4eb0089f0807121340x5e26f6dbve03ef50b238f3a3a@mail.gmail.com> <87tzet8c3i.fsf@offby1.atm01.sea.blarg.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1216025059 13814 80.91.229.12 (14 Jul 2008 08:44:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2008 08:44:19 +0000 (UTC) Cc: Emacs Devel To: "Eric Hanchrow" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 14 10:45:07 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIJfu-0001NV-FU for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2008 10:44:50 +0200 Original-Received: from localhost ([127.0.0.1]:34852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIJf1-0007xL-Rm for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2008 04:43:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIJeu-0007uU-K0 for emacs-devel@gnu.org; Mon, 14 Jul 2008 04:43:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIJer-0007q5-IE for emacs-devel@gnu.org; Mon, 14 Jul 2008 04:43:47 -0400 Original-Received: from [199.232.76.173] (port=50030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIJer-0007pk-59 for emacs-devel@gnu.org; Mon, 14 Jul 2008 04:43:45 -0400 Original-Received: from wf-out-1314.google.com ([209.85.200.173]:21751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIJeq-0003Cx-GW for emacs-devel@gnu.org; Mon, 14 Jul 2008 04:43:44 -0400 Original-Received: by wf-out-1314.google.com with SMTP id 28so4265801wfc.24 for ; Mon, 14 Jul 2008 01:43:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=vA06rrDxpa5v4sXANpU/6Ryhsx+wNRflbDQgg0xm4/0=; b=DoG2enSZSVlnReoIFlJxkJv0FFjMamQB8uc1n0xchluKPCKj0W7r6JgPDXTSjrzBZV xHojPdDzC4b7td2+naGzo20quIyb1He/ae9ooZWJJc+Sl7bcsxJLzJde6EVM4xgjpcK7 M9/ehrAOvJwVne9tWdC3jnbv8Duv+ucBRzrKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=UFQtVcgJn8DudF1wplls7mptWkGmFcFrmjLEXfCQvbYthvIogryMonVEcxWMUY9MFk cj57LPqzT5E7rNqB9rH6uFvb6QTfhGdrNrrI3imsTdF8B0tWIiapXhWyLG58Tg2OM8ln lSKCoRAUev0/SE+6ok8KOGPeebON9FIFfaTmA= Original-Received: by 10.142.12.14 with SMTP id 14mr4117665wfl.308.1216025023568; Mon, 14 Jul 2008 01:43:43 -0700 (PDT) Original-Received: by 10.142.212.20 with HTTP; Mon, 14 Jul 2008 01:43:43 -0700 (PDT) In-Reply-To: <87tzet8c3i.fsf@offby1.atm01.sea.blarg.net> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:100670 Archived-At: Eric, I'm typing this message under "GNU Emacs 23.0.60.1 (i386-mingw-nt5.0.2195) of 2008-07-13 on CJK-MOBILE". My latest commit is: commit 43fe74b7f942596608bcf81e814447f92cd5d5bb Author: Michael Albinus Date: Sun Jul 13 15:12:58 2008 +0000 [...] However, I doubt this is were your problem is. It's more likely some parts of the toolchain under Windows (Vista) cause problems. I have a full (incl. make, gcc, ...) Cygwin installation, but for Emacs-building Cygwin is pushed as last in my execution path. That is, I'm using MSys/MingGW for the build process. So, things to check in your build process are: 1. Is your MSys/MingGW installation complete? 2. Is MSys/MingGW first (before Cygwin) in your path? 3. For programs that MSys/MingGW doesn't provide, is there a fallback (Cygwin)? 4. Is your working directory clean? 5. Are your build-flags sane? 6. Are you using mingw32-make? 7. Before building, do you run "clean" and "bootstrap-clean"? 8. Do you bootstrap? Looking at your log, most of the above steps seem OK and you get pretty far in the build process. I had similar errors in the past and the reason everytime was one of the below: 1. I had skipped some build step (configure/bootstrapping) 2. I haven't cleaned up thourougly enough 3. I had missed a MingGW/MSys-package that was needed 4. My Cygwin-installation under Vista was borked (due to Vista's paranoid security settings). I have included my build-script below - it works realiably for me since months; perhaps it gives you some pointers. HTH, Claus ############## #!/bin/bash # # Build script to automate preparing, configuring, cleaning, compiling and installing emacs-CVS from source. # v0.3 Claus Klingberg 29.03.2008 # echo 'Removing gruft from build-directory...' rm -f ../lisp/calendar/cal-loaddefs.el ../nt/makefile ../src/makefile ../lisp/mh-e/mh-loaddefs.el ../lisp/loaddefs.el ../lisp/finder-inf.el ../lib-src/makefile ../admin/unidata/makefile ../admin/unidata/unidata-gen.elc ../admin/unidata/unidata.txt ../doc/emacs/makefile ../doc/misc/makefile ../leim/leim-list.el~ ../leim/leim-list.el ../leim/makefile ../lisp/cus-load.el ../lisp/makefile ../src/config.h ../src/epaths.h ../doc/lispintro/makefile ../doc/lispref/makefile ../lib-src/makefile ../lisp/loaddefs.el ../lisp/mh-e/mh-loaddefs.el ../lisp/subdirs.el ../nt/config.log ../lisp/calendar/diary-loaddefs.el ../lisp/calendar/hol-loaddefs.el ../lisp/eshell/esh-groups.el ../lisp/finder-inf.el~ ../lisp/loaddefs.el~ ../leim/quail/4Corner.el ../leim/quail/ARRAY30.el ../leim/quail/CCDOSPY.el ../leim/quail/CTLau-b5.el ../leim/quail/CTLau.el ../leim/quail/ECDICT.el ../leim/quail/ETZY.el ../leim/quail/PY-b5.el ../leim/quail/PY.el ../leim/quail/Punct-b5.el ../leim/quail/Punct.el ../leim/quail/QJ-b5.el ../leim/quail/QJ.el ../leim/quail/SW.el ../leim/quail/TONEPY.el ../leim/quail/ZIRANMA.el ../leim/quail/ZOZY.el ../leim/quail/quick-b5.el ../leim/quail/quick-cns.el ../leim/quail/tsang-b5.el ../leim/quail/tsang-cns.el ../lib-src/DOC ../lib-src/ctags.c ../lib-src/getopt.h ../lisp/cus-load.el~ # Prepare path environment: need to put Cygwin back in favour of MingGW Windows since we use mingw32-make to build emacs: export PATH='/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/prg/MinGW/libexec/gcc/mingw32/3.4.5:/cygdrive/c/MinGW/bin:/cygdrive/c/prg/MSys/bin:/cygdrive/c/prg/libxml:/cygdrive/c/prg/aspell-60.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin' echo 'Done preparing build.' echo 'Running configure...' if ./configure.bat --no-opt --with-gcc --without-jpeg --without-tiff --without-gif --cflags -Ic:/work/cjk/src/gnuwin32 then echo 'Configuring successful!' else echo -e "Error $0: Configure failed!" exit 1 fi echo 'Cleaning up...' if mingw32-make clean && mingw32-make bootstrap-clean then echo 'Cleanup successful!' else echo -e "Error $0: Cleanup failed!" exit 1 fi echo 'Bootstrapping...' if mingw32-make bootstrap then echo 'Bootstrap successful!' else echo -e "Error $0: Bootstrap failed!" exit 1 fi echo 'Running make...' if mingw32-make then echo 'Make successful!' else echo -e "Error $0: Make failed!" exit 1 fi # Currently building info pages fails: # mingw32-make info echo 'Running Make install...' if mingw32-make install then echo 'Make install successful!' else echo -e "Error $0: Make install failed!" exit 1 fi ############## On Mon, Jul 14, 2008 at 3:54 AM, Eric Hanchrow wrote: >>>>>> "Claus" == Claus writes: > > Claus> FWIW, I'm using Emacs-GIT under Windows Vista as well and as > Claus> of today it builds and runs fine. > > Interesting. Could you give me the commit ID of something that works > for you, and also tell me what compiler toolchain you're using? (I'm > using a current Cygwin, plus "make" from msys (for some reason, Cygwin's > "make" doesn't work with emacs)) > > -- > [T]he best strip of the last decade is "Dilbert", and it > sure isn't because of the drawing. > -- Garry Trudeau >