all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Building emacs 22.3 with djgpp 2.04 beta/Windows XP SP3 MCE 2005
Date: Sun, 04 Jan 2009 18:56:02 +0200	[thread overview]
Message-ID: <ufxjzm2n1.fsf@gnu.org> (raw)
In-Reply-To: <u3afz33pj.fsf@earthlink.net>

> From: Allan <mu8ja0i@earthlink.net>
> Date: Sun, 04 Jan 2009 01:55:36 -0600
> 
> I took your suggestions and was able to get an acceptable (but maybe not
> perfect) build. I had to run `make bootstrap' before I could get it to
> build

That's strange.  I suspect something went wrong when unpacking the
distro, or perhaps you inadvertently deleted all *.elc files in one of
your previous attempts.

> Directory ././erc Directory ././eshell Directory ././gnus Directory
> ././international Directory ././language Cannot open load file:
> composite make.exe[1]: *** [custom-deps] Error -1 make.exe[1]: Leaving
> directory `d:/emacs-22.3/lisp' make.exe: *** [bootstrap] Error 2

I don't think I tried a full bootstrap in Emacs 22.x for a long time;
it's possible that something broke since I last did.  The DJGPP build
of Emacs 22 was not maintained for several years, so it's quite
possible that it bit-rotted.

> D:\emacs-22.3> ...  
> But after this when I ran `make all' it did create
> the executables except for `movemail'. I am still having a problem with
> the `_emacs' initialization file even though I have set the `HOME'
> environment variable to the Windows XP convention default. It says user
> `dosuser' has no `HOME' environment variable defined.

That's a known problem in Emacs 22.3; it is corrected in the
development sources for the upcoming Emacs 23 release.  To fix this in
Emacs 22.3, apply the patch below, then byte-compile startup.el and
say "make install" in the top-level directory to rebuild Emacs.

(In case you didn't know, to byte-compile startup.el, chdir to the
`lisp' subdirectory and type "make startup.elc".)


Index: lisp/startup.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/startup.el,v
retrieving revision 1.520
diff -u -r1.520 startup.el
--- lisp/startup.el	4 Nov 2008 16:54:25 -0000	1.520
+++ lisp/startup.el	8 Nov 2008 13:13:33 -0000
@@ -977,13 +977,15 @@
 				   init-file-user)
 			   :error)
 	(if (file-directory-p (expand-file-name
-			       ;; We don't support ~USER on MS-Windows except
-			       ;; for the current user, and always load .emacs
-			       ;; from the current user's home directory (see
-			       ;; below).  So always check "~", even if invoked
-			       ;; with "-u USER", or if $USER or $LOGNAME are
-			       ;; set to something different.
-			       (if (eq system-type 'windows-nt)
+			       ;; We don't support ~USER on MS-Windows
+			       ;; and MS-DOS except for the current
+			       ;; user, and always load .emacs from
+			       ;; the current user's home directory
+			       ;; (see below).  So always check "~",
+			       ;; even if invoked with "-u USER", or
+			       ;; if $USER or $LOGNAME are set to
+			       ;; something different.
+			       (if (memq system-type '(windows-nt ms-dos))
 				   "~"
 				 (concat "~" init-file-user))))
 	    nil




  parent reply	other threads:[~2009-01-04 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <uk59r263h.fsf@earthlink.net>
2008-12-23  4:12 ` Building emacs 22.3 with djgpp 2.04 beta/Windows XP SP3 MCE 2005 Eli Zaretskii
     [not found] ` <mailman.3262.1230005534.26697.help-gnu-emacs@gnu.org>
     [not found]   ` <u3afz33pj.fsf@earthlink.net>
2009-01-04 16:56     ` Eli Zaretskii [this message]
     [not found]     ` <mailman.3919.1231088164.26697.help-gnu-emacs@gnu.org>
     [not found]       ` <uk598wcf1.fsf@earthlink.net>
2009-01-06 20:56         ` Eli Zaretskii
     [not found]         ` <mailman.4154.1231275410.26697.help-gnu-emacs@gnu.org>
     [not found]           ` <uk593bzg1.fsf@earthlink.net>
2009-01-10 14:54             ` Eli Zaretskii
     [not found]             ` <mailman.4506.1231599264.26697.help-gnu-emacs@gnu.org>
     [not found]               ` <ur61ru3zr.fsf@earthlink.net>
2009-02-21 18:51                 ` Eli Zaretskii
2009-02-21 20:06                   ` Eli Zaretskii
     [not found]                   ` <mailman.1408.1235246789.31690.help-gnu-emacs@gnu.org>
     [not found]                     ` <u3ae7f24z.fsf@earthlink.net>
2009-02-24 19:13                       ` Eli Zaretskii
2009-02-21 18:51                 ` 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

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

  git send-email \
    --in-reply-to=ufxjzm2n1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.