From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Building emacs 22.3 with djgpp 2.04 beta/Windows XP SP3 MCE 2005 Date: Tue, 23 Dec 2008 06:12:16 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1230005564 28723 80.91.229.12 (23 Dec 2008 04:12:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Dec 2008 04:12:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 23 05:13:52 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LEyeV-00057V-Na for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Dec 2008 05:13:51 +0100 Original-Received: from localhost ([127.0.0.1]:41660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEydI-0003ww-Nl for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Dec 2008 23:12:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LEycu-0003wA-Ad for help-gnu-emacs@gnu.org; Mon, 22 Dec 2008 23:12:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LEyct-0003vo-BD for help-gnu-emacs@gnu.org; Mon, 22 Dec 2008 23:12:11 -0500 Original-Received: from [199.232.76.173] (port=43968 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LEyct-0003vl-5F for help-gnu-emacs@gnu.org; Mon, 22 Dec 2008 23:12:11 -0500 Original-Received: from mtaout2.012.net.il ([84.95.2.4]:49321) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LEycs-0006ZT-N6 for help-gnu-emacs@gnu.org; Mon, 22 Dec 2008 23:12:11 -0500 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KCB00000A96KQ00@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Tue, 23 Dec 2008 06:14:40 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.252.83]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KCB007OVAGF8030@i_mtaout2.012.net.il> for help-gnu-emacs@gnu.org; Tue, 23 Dec 2008 06:14:40 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60910 Archived-At: > From: Allan > Date: Mon, 22 Dec 2008 16:33:06 -0600 > > I have been using emacs 22.3 Windows binaries up to now but I decided to > try building from source code using djgpp 2.04 beta on a Windows XP > Media Center Edition 2005 SP3 platform. My first small difficulty was in > running the MS-DOS configuration script `config.bat'. It did not > recognize that I had `djecho.exe' installed. Here is the output from the > command window: > D:\emacs-22.3>config.bat --no-debug msdos > Checking whether 'sed' is available... > Checking whether 'rm' is available... > Checking whether 'mv' is available... > Checking whether 'gcc' is available... > Checking what version of DJGPP is installed... > Checking whether 'djecho' is available... > The Vdm Redirector is already loaded This problem is explained in the file etc/PROBLEMS: *** When compiling with DJGPP on MS-Windows NT, "config msdos" fails. If the error message is "VDM has been already loaded", this is because Windows has a program called `redir.exe' that is incompatible with a program by the same name supplied with DJGPP, which is used by config.bat. To resolve this, move the DJGPP's `bin' subdirectory to the front of your PATH environment variable. > I was able to fix the script by commenting out the test and bypassing > the error message displayed and configured the makefile. Then I > encountered a problem which I cannot fix by myself. When I run the make > command it says that some .elc files are missing and that I need to run > `make bootstrap'. That is very strange: building an official release should not require a bootstrap. Did you build the official emacs-22.3.tar.gz distribution, or did you get your sources in some other way? Did you perhaps delete all the *.elc files somehow, e.g. by running Make with some target that cleans too much? > However when I run `make bootstrap' it also generates an error as > follows: > Dumping under the name emacs > 59775 pure bytes used > mv -f emacs b-emacs > stubify b-emacs > stubedit b-emacs.exe minstack=1024k > rm -f emacs.exe temacs.exe emacs > make.exe[1]: Leaving directory `d:/emacs-22.3/src' > cd lisp; c:/djgpp204/bin/make.exe bootstrap EMACS=d:/emacs-22.3/src/b-emacs.exe > lisp=d:/emacs-22.3/lisp; cd .. > make.exe[1]: Entering directory `d:/emacs-22.3/lisp' > wd=d:/emacs-22.3/lisp; subdirs=`(cd $wd; find . -type d -print)`; for file in $s > ubdirs; do case $file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* > ) ;; *) wins="$wins $wd/$file" ;; esac; done; \ > for file in $wins; do \ > ./../update-subdirs $file; \ > done; > Bad command or file name > Bad command or file name > FIND: Parameter format not correct This happens because you either don't have the DJGPP port of GNU Find program, or again because the Windows find.exe (a totally different program) is found on PATH before the GNU find.exe. > make.exe[1]: *** No rule to make target `../lisp/abbrev.elc', needed by `../etc/ > DOC'. Stop. > make.exe[1]: Leaving directory `d:/emacs-22.3/src' > make.exe: *** [src] Error 2 This is the consequence of the previous problem. Btw, Emacs 22.x has several bugs in the DJGPP build, so I encourage you to try the CVS version of the upcoming Emacs 23, where these problems are resolved.