Michael Sperber <sperber(a)informatik.uni-tuebingen.de> wrote:
Didier Verna <didier(a)xemacs.org> writes:
> Michael Sperber <sperber(a)informatik.uni-tuebingen.de> wrote:
>
>> This changes the directory layout to use the share subdirectory for
>> architecture-independent files. This is necessary to remove the
>> horrible kludge that would prevent anything *but* .../share to be used
>> for datadir, and generally brings us closer to widely used filesystem
>> layouts.
>
> Hello Mike,
>
> I've recompile 21.5 today, and I have noticed that XEmacs is not capable
> of finding the packages anymore when run from its compilation place,
> without installation (that's what I usually do). A properly "make
> install"'ed XEmacs finds them correctly however.
Correction: when XEmacs is "make install"'ed, the in-place version
works fine also.
What's the output of running with -debug-paths? What's the
directory layout?
OK, here's a precise description of what's going on:
- XEmacs sources: /usr/local/src/xemacs-21.5
- XEmacs build: /usr/local/src/xemacs-21.5-build
- Packages: /usr/local/share/xemacs/
- Installation file: attached below
After compilation, if I run /usr/local/src/xemacs-21.5-build/src/xemacs,
the packages are not found. The output with -debug-paths is:
| startup-setup-paths arguments:
| inhibit-packages: nil
| inhibit-site-lisp: nil
| called-early: nil
| emacs-roots:
| ("/usr/local/src/xemacs-21.5-build/")
| emacs-data-roots:
| ("/usr/local/src/xemacs-21.5-build/")
| user-init-directory: "~/.xemacs/"
| configure-package-path: nil
| configure-lisp-directory and lisp-directory:
| nil
| "/usr/local/src/xemacs-21.5-build/lisp/"
| configure-mule-lisp-directory and mule-lisp-directory:
| nil
| "/usr/local/src/xemacs-21.5-build/lisp/mule/"
| configure-site-directory and site-directory:
| nil
| nil
| configure-early-package-directories, early-package-hierarchies and
early-package-load-path:
| nil
| ("~/.xemacs/xemacs-packages/")
| ("/home/didier/.xemacs/xemacs-packages/lisp/"
"/home/didier/.xemacs/xemacs-packages/lisp/rc/"
"/home/didier/.xemacs/xemacs-packages/lisp/rcfiles/")
| configure-late-package-directories, late-package-hierarchies and
late-package-load-path:
| nil
| nil
| configure-last-package-directories, last-package-hierarchies and
last-package-load-path:
| nil
| nil
| load-path:
| ("/home/didier/.xemacs/xemacs-packages/lisp/"
"/home/didier/.xemacs/xemacs-packages/lisp/rc/"
"/home/didier/.xemacs/xemacs-packages/lisp/rcfiles/"
"/usr/local/src/xemacs-21.5-build/lisp/mule/"
"/usr/local/src/xemacs-21.5-build/lisp/")
| configure-module-directory and module-directory:
| "/usr/local/lib/xemacs-21.5-b28/i686-pc-linux/modules/"
| configure-site-module-directory and site-module-directory:
| nil
| nil
| configure-info-directory, configure-info-path and Info-directory-list:
| "/usr/local/share/info/"
| nil
| ("/usr/local/share/info/" "~/.xemacs/xemacs-packages/info/"
"/home/didier/share/info/" "/usr/local/share/info/"
"/usr/share/info/" "/usr/info/")
| configure-exec-directory and exec-directory:
| "/usr/local/lib/xemacs-21.5-b28/i686-pc-linux/"
| "/usr/local/src/xemacs-21.5-build/lib-src/"
| exec-path:
| ("/home/didier/bin/" "/home/didier/i686-pc-linux-gnu/bin/"
"/home/didier/i686-pc-linux-gnu/sbin/" "/usr/local/bin/"
"/usr/local/sbin/" "/usr/sbin/" "/sbin/"
"/usr/bin/" "/bin/" "/usr/bin/X11/" "/usr/games/"
"/usr/local/src/xemacs-21.5-build/lib-src/")
| configure-doc-directory and doc-directory:
| "/usr/local/lib/xemacs-21.5-b28/i686-pc-linux/"
| "/usr/local/src/xemacs-21.5-build/lib-src/"
| configure-data-directory and data-directory:
| nil
| "/usr/local/src/xemacs-21.5-build/etc/"
| data-directory-list:
| ("/home/didier/.xemacs/xemacs-packages/etc/"
"/usr/local/src/xemacs-21.5-build/etc/")
After "make install" however, BOTH the installed version and the
in-place one work fine (that's what I got wrong in the first mail).
--
MySpace:
http://www.myspace.com/didierverna
Didier Verna, didier(a)lrde.epita.fr,
http://www.lrde.epita.fr/~didier
EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85
94276 Le Kremlin-Bicêtre, France Fax.+33 (1) 53 14 59 22 didier(a)xemacs.org
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches