OK, I've replicated this. I set up an empty install directory in
~/usr/local, configured --with-prefix=yes --prefix=~/usr/local, set
EMACSDEBUGPATHS=YesPlease, then ran make; make install. I can see
startup.el change the lisp-directory from the run-in-place
lisp-directory to the installed lisp-directory, which doesn't exist
yet. The first time through, this doesn't happen until make install,
but once the directories have been created, an ordinary make will
cause the problem at loadup.el.
It looks like the installation code creates this directory, then when
we get to the point of reloading XEmacs pre-installation,
`paths-for-each-emacs-directory' will find configure-lisp-directory,
and use that as the preferred value even though it's not yet
installed. Worse, for some reason it doesn't find any run-in-place
lisp.
I suspect that this is in part happening because autoconf has decided
to force datadir to be in ${prefix}/share and the logic we use to
determine whether configure-lisp-directory was user-specified doesn't
work right, because it expects datadir to be ${prefix}/lib. I must
get some sleep, so I'm going to leave this as a conjecture for a while.
Mike? Can you fix this? Or is it going to take a while?
Here's a log:
cd ./lib-src && make all
make[1]: Nothing to be done for `all'.
cd ./lwlib && make all
make[1]: Nothing to be done for `all'.
cd ./src && make all
./temacs -nd -no-packages -batch -l
/Users/steve/Software/XEmacs/test/src/../lisp/update-elc.el
Loading /Users/steve/Software/XEmacs/test/src/../lisp/update-elc.el...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading /Users/steve/Software/XEmacs/test/lisp/dumped-lisp.el...
Wrote /Users/steve/Software/XEmacs/test/src/NEEDTODUMP
Wrote /Users/steve/Software/XEmacs/test/src/REBUILD_AUTOLOADS
if true ; then \
./temacs -nd -no-packages -batch -l
/Users/steve/Software/XEmacs/test/src/../lisp/make-docfile.el -- \
-o ../lib-src/DOC -d /Users/steve/Software/XEmacs/test/src -i ../lib-src/../site-packages
\
abbrev.c alloc.c alloca.c balloon_help.c balloon-x.c blocktype.c buffer.c bytecode.c
callint.c casefiddle.c casetab.c chartab.c filelock.c cmdloop.c cmds.c console.c
console-stream.c data.c database.c device.c dired.c doc.c doprnt.c dynarr.c editfns.c
elhash.c emacs.c emodules.c eval.c events.c event-stream.c event-unixoid.c dumper.c
inline.c terminfo.c extents.c faces.c file-coding.c fileio.c filemode.c floatfns.c fns.c
font-lock.c frame.c gc.c general.c dgif_lib.c gif_io.c glyphs.c glyphs-eimage.c
glyphs-shared.c glyphs-widget.c gui.c menubar.c scrollbar.c dialog.c toolbar.c gutter.c
hash.c imgproc.c indent.c insdel.c intl.c keymap.c line-number.c lread.c lstream.c
macros.c marker.c md5.c minibuf.c mule-ccl.c mule-charset.c mule-coding.c objects.c
opaque.c print.c process.c process-unix.c profile.c rangetab.c realpath.c redisplay.c
redisplay-output.c regex.c search.c select.c sysdll.c signal.c sound.c specifier.c
strftime.c symbols.c syntax.c sysdep.c te!
xt.c console-tty.c device-tty.c event-tty.c frame-tty.c objects-tty.c redisplay-tty.c
cm.c undo.c unicode.c console-x.c device-x.c event-Xt.c frame-x.c glyphs-x.c objects-x.c
redisplay-x.c select-x.c xgccache.c intl-x.c font-mgr.c gui-x.c menubar-x.c scrollbar-x.c
dialog-x.c toolbar-x.c toolbar-common.c widget.c window.c \
; fi
Loading /Users/steve/Software/XEmacs/test/src/../lisp/make-docfile.el...
Loading find-paths.el...
Loading packages.el...
Loading setup-paths.el...
Loading raw-process.el...
Requiring custom...
Requiring widget...
Loading process...
Loading /Users/steve/Software/XEmacs/test/lisp/dumped-lisp.el...
./temacs -nd -no-packages -batch -l
/Users/steve/Software/XEmacs/test/src/../lisp/loadup.el dump
Loading /Users/steve/Software/XEmacs/test/src/../lisp/loadup.el...
Using load-path (/Users/steve/Software/XEmacs/test/lisp/)
Using module-load-path (/Users/steve/Software/XEmacs/test/modules)
Loading /Users/steve/Software/XEmacs/test/lisp/dumped-lisp.el...
Loading /Users/steve/Software/XEmacs/test/lisp/backquote.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/bytecomp-runtime.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/find-paths.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/packages.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/setup-paths.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/subr.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/post-gc.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/replace.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/version.el...
Loading /Users/steve/Software/XEmacs/test/lisp/cl.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/cl-extra.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/cl-seq.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/widget.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/custom.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/cus-start.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/cmdloop.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/keymap.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/syntax.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/device.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/console.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/obsolete.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/specifier.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/frame.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/fontconfig.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/x-faces.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/faces.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/glyphs.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/objects.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/extents.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/events.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/hash-table.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/text-props.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/process.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/multicast.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/map-ynp.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/undo-stack.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/window.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/window-xemacs.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/simple.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/newcomment.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/keydefs.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/abbrev.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/derived.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/minibuf.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/list-mode.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/modeline.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/cus-file.elc...
Loading /Users/steve/Software/XEmacs/test/lisp/startup.elc...
startup-setup-paths arguments:
inhibit-packages: (early late last)
inhibit-site-lisp: t
called-early: t
emacs-roots:
("/Users/steve/Software/XEmacs/test/" "/Users/steve/usr/local/")
emacs-data-roots:
("/Users/steve/Software/XEmacs/test/" "/Users/steve/usr/local/")
user-init-directory: "~/.xemacs/"
configure-package-path: ("/Users/steve/usr/local/lib/xemacs/xemacs-packages"
"/Users/steve/usr/local/lib/xemacs/mule-packages")
lisp-directory:
"/Users/steve/usr/local/share/xemacs-21.5-b27/lisp/"
mule-lisp-directory:
nil
early-package-hierarchies and early-package-load-path:
nil
nil
late-package-hierarchies and late-package-load-path:
nil
nil
last-package-hierarchies and last-package-load-path:
nil
nil
load-path:
("/Users/steve/usr/local/share/xemacs-21.5-b27/lisp/")
module-directory:
"/Users/steve/usr/local/lib/xemacs-21.5-b27/powerpc-apple-darwin8.8.0/modules/"
site-module-directory:
"/Users/steve/usr/local/lib/xemacs/site-modules/"
Load file misc: not found
Load path: (/Users/steve/usr/local/share/xemacs-21.5-b27/lisp/)
Fatal error during load, aborting
make[1]: *** [xemacs] Error 1
make: *** [src] Error 2
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta