Configuring with
--prefix=/some/where
--exec-prefix=/some/where/BINARIES
--datadir=/some/where
results in an XEmacs that cannot find its own lisp directories.
The installation directory looks like (after installation):
$ cd /some/where
$ ls -R
BINARIES/ lib/ mule-packages@ xemacs-21.0-b37/
infodock-packages@ man/ packages@
BINARIES:
bin/ lib/
BINARIES/bin:
b2m* gnuattach* install-sid* send-pr*
ctags* gnuclient* pstogif* xemacs@
etags* gnudoit* rcs-checkin* xemacs-21.0-b37*
BINARIES/lib:
xemacs@ xemacs-21.0-b37/
BINARIES/lib/xemacs-21.0-b37:
etc@ i586-pc-linux/ info@ lisp@
BINARIES/lib/xemacs-21.0-b37/i586-pc-linux:
DOC install-sid* tm-file*
add-big-package.sh* make-docfile* tm-html*
add-little-package.sh* make-path* tm-image*
config.values mmencode* tm-mpeg*
cvtmail* movemail* tm-plain*
digest-doc* profile* tm-ps*
fakemail* rcs2log* tmdecode*
gnuserv* send-pr* vcdiff*
gzip-el.sh* sorted-doc* wakeup*
hexl* tm-au* yow*
lib:
xemacs/
lib/xemacs:
lock/
lib/xemacs/lock:
man:
man1/
man/man1:
ctags.1 gnuattach.1 gnudoit.1 xemacs.1
etags.1 gnuclient.1 gnuserv.1
xemacs-21.0-b37:
etc/ info/ lisp/
xemacs-21.0-b37/etc:
[...]
xemacs-21.0-b37/info:
[...]
xemacs-21.0-b37/lisp:
[...]