Jens Petersen <petersen(a)redhat.com> writes:
2003å¹´06æ22æ¥(æ¥)ã®12æ35åã« Jens Petersen æ°ã:
> [..] "update-elc.el" tries to
> byte-compile the *installed* ".el" files when rebuilding xemacs-21.4.13
> with xemacs-21.4.13 already installed afaict! The problem seems to be
> that whereas with 21.4.12 load-path gets set to just the "lisp/" and
> "lisp/mule/" dirs in the source tree, with xemacs-21.4.13 load-path
> instead contains the installed lisp dir and package lisp dirs (this
> seems to be a separate bug). Also when actually dumping, the same
> problem occurs and the elisp files dumped are from the installed lisp
> dirs not the source tree.
For the time being I'm working around this with the patch below.
-Jens
diff -u xemacs-21.4.13/lisp/update-elc.el~ xemacs-21.4.13/lisp/update-elc.el
--- xemacs-21.4.13/lisp/update-elc.el~ 2003-06-22 11:25:28.000000000 +0900
+++ xemacs-21.4.13/lisp/update-elc.el 2003-06-22 11:25:28.000000000 +0900
@@ -134,7 +134,7 @@
(if (null (member (file-name-nondirectory arg)
packages-unbytecompiled-lisp))
(progn
- (setq arg (locate-library arg))
+ (setq arg (locate-library arg nil '("../lisp"
"../lisp/mule")))
(if (null arg)
(progn
(print (format "Error: Library file %s not found"
diff -u xemacs-21.4.13/lisp/loadup.el~ xemacs-21.4.13/lisp/loadup.el
--- xemacs-21.4.13/lisp/loadup.el~ 2003-06-22 12:50:39.000000000 +0900
+++ xemacs-21.4.13/lisp/loadup.el 2003-06-22 12:50:39.000000000 +0900
@@ -111,9 +111,9 @@
;; with garbage-collected junk)
(defun pureload (file)
(let ((full-path
- (locate-file file load-path
+ (locate-file file '("../lisp" "../lisp/mule")
(if load-ignore-elc-files
'(".el" "") '(".elc" ".el"
"")))))
(if full-path
(prog1
(load full-path)
I thought we had already discussed this. In any case, I'm very
confused by your report. Can you tell me exactly what steps you took,
starting with which tarball you downloaded? Please make sure you
start from a clean installation.
I don't think that either canna-leim.elc or mule-x-init.elc should be
shipped in a non-mule XEmacs tarball. (Perhaps this is the source of
the confusion.)
(BTW, it seems fairly likely that this is a packaging issue caused by
the fact that I've been away from generating releases for about 18
months.) In any case, here are the steps I took with no errors seen:
1. I downloaded xemacs-21.4.13-src.tar.bz2 and unpacked and built
with the following Installation:
Note that I did not build --with-mule.
2. Next I start the built XEmacs with the -q option and type
"load-path^J" in the *scratch* buffer. This gives me:
("/u/shelton2/software/site-packages/lisp/"
"/u/shelton2/software/xemacs-packages/lisp/"
"/u/shelton2/software/xemacs-packages/lisp/bbdb/"
"/u/shelton2/software/xemacs-packages/lisp/c-support/"
"/u/shelton2/software/xemacs-packages/lisp/calc/"
"/u/shelton2/software/xemacs-packages/lisp/cc-mode/"
"/u/shelton2/software/xemacs-packages/lisp/debug/"
"/u/shelton2/software/xemacs-packages/lisp/dired/"
"/u/shelton2/software/xemacs-packages/lisp/ecrypto/"
"/u/shelton2/software/xemacs-packages/lisp/edebug/"
"/u/shelton2/software/xemacs-packages/lisp/ediff/"
"/u/shelton2/software/xemacs-packages/lisp/edit-utils/"
"/u/shelton2/software/xemacs-packages/lisp/efs/"
"/u/shelton2/software/xemacs-packages/lisp/eieio/"
"/u/shelton2/software/xemacs-packages/lisp/elib/"
"/u/shelton2/software/xemacs-packages/lisp/eshell/"
"/u/shelton2/software/xemacs-packages/lisp/eterm/"
"/u/shelton2/software/xemacs-packages/lisp/frame-icon/"
"/u/shelton2/software/xemacs-packages/lisp/general-docs/"
"/u/shelton2/software/xemacs-packages/lisp/gnus/"
"/u/shelton2/software/xemacs-packages/lisp/ibuffer/"
"/u/shelton2/software/xemacs-packages/lisp/igrep/"
"/u/shelton2/software/xemacs-packages/lisp/ispell/"
"/u/shelton2/software/xemacs-packages/lisp/mail-lib/"
"/u/shelton2/software/xemacs-packages/lisp/mailcrypt/"
"/u/shelton2/software/xemacs-packages/lisp/mmm-mode/"
"/u/shelton2/software/xemacs-packages/lisp/net-utils/"
"/u/shelton2/software/xemacs-packages/lisp/os-utils/"
"/u/shelton2/software/xemacs-packages/lisp/pc/"
"/u/shelton2/software/xemacs-packages/lisp/pcl-cvs/"
"/u/shelton2/software/xemacs-packages/lisp/pcomplete/"
"/u/shelton2/software/xemacs-packages/lisp/perl-modes/"
"/u/shelton2/software/xemacs-packages/lisp/prog-modes/"
"/u/shelton2/software/xemacs-packages/lisp/semantic/"
"/u/shelton2/software/xemacs-packages/lisp/sh-script/"
"/u/shelton2/software/xemacs-packages/lisp/speedbar/"
"/u/shelton2/software/xemacs-packages/lisp/texinfo/"
"/u/shelton2/software/xemacs-packages/lisp/text-modes/"
"/u/shelton2/software/xemacs-packages/lisp/time/"
"/u/shelton2/software/xemacs-packages/lisp/tramp/"
"/u/shelton2/software/xemacs-packages/lisp/vc/"
"/u/shelton2/software/xemacs-packages/lisp/view-process/"
"/u/shelton2/software/xemacs-packages/lisp/xemacs-base/"
"/u/shelton2/software/xemacs-packages/lisp/xemacs-devel/"
"/u/shelton2/software/SunOS-5.8/xemacs-21.4.13-debug/lib/xemacs-21.4.13/lisp/")
So I don't see either the "mule/" or "term/" subdirectories
under
the installed lisp/ directory.
3. I went into the build directory and removed src/temacs in order
to force a rebuild. Next I re-ran 'make install' and I rebuilt
and reinstalled the package without difficulty.
I'd like to try to help - please let me know what steps I need to take
to observe this problem.
Thanks,
Vin