Dear Bug Team!
This has driven me batty for years, so I finally fixed it.
The INSTALL file has always claimed:
The `--exec-prefix=EXECDIR' option allows you to specify a separate
portion of the directory tree for installing architecture-specific
files, like executables and utility programs. If specified,
- XEmacs (and the other utilities users run) go in EXECDIR/bin, and
- The architecture-dependent files go in
EXECDIR/lib/xemacs-VERSION/CONFIGURATION-NAME.
For as long as I've used XEmacs, that second bullet has been a lie.
The architecture dependent stuff always ends up in
PREFIXDIR/lib/xemacs-VERSION/CONFIGURATION-NAME, which isn't where I
want it because I maintain XEmacs for 8 different platforms, and want
all of the arch-dep stuff in separate volumes. I think this got
better somewhere in 21.1, but broke again in 21.4. Here's a patch to
make configure actually match the INSTALL document.
diff -u -r1.1 xemacs-21.4.4/configure
--- xemacs-21.4.4/configure 2001/08/29 07:50:55 1.1
+++ xemacs-21.4.4/configure 2001/08/26 22:56:37
@@ -222,13 +222,13 @@
infopath=''
install_pp=''
lispdir='${datadir}/${instvardir}/lisp'
-moduledir='${datadir}/${instvardir}/${configuration}/modules'
+moduledir='${libdir}/${instvardir}/${configuration}/modules'
sitelispdir='${datadir}/${inststaticdir}/site-lisp'
-sitemoduledir='${datadir}/${inststaticdir}/site-modules'
+sitemoduledir='${libdir}/${inststaticdir}/site-modules'
pkgdir='${datadir}/${instvardir}/lisp'
package_path=''
etcdir='${datadir}/${instvardir}/etc'
-archlibdir='${datadir}/${instvardir}/${configuration}'
+archlibdir='${libdir}/${instvardir}/${configuration}'
docdir='${archlibdir}'
with_netinstall="no"
with_prefix='yes'
================================================================
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS
x15-cruise-basselope.mit.edu 5.8 Generic_108528-08 sun4u sparc
SUNW,Ultra-5_10
/afs/athena.mit.edu/contrib/xemacs/src/xemacs-21.4.4/configure
'--srcdir=/afs/athena.mit.edu/contrib/xemacs/src/xemacs-21.4.4'
'--prefix=/afs/athena.mit.edu/contrib/xemacs'
'--exec-prefix=/afs/athena.mit.edu/contrib/xemacs/arch/@sys'
'--statedir=/var/tmp' '--site-includes=/usr/athena/include /mit/xemacs/include
/mit/graphics/include' '--site-libraries=/usr/athena/lib /mit/xemacs/arch/@sys/lib
/mit/graphics/lib' '--with-mule' '--with-xim' '--with-xfs'
'--with-sound=native,esd'
XEmacs 21.4.4 "Artificial Intelligence" configured for
`sparc-sun-solaris2.8'.
Compilation / Installation:
Source code location: /afs/athena.mit.edu/contrib/xemacs/src/xemacs-21.4.4
Installation prefix: /afs/athena.mit.edu/contrib/xemacs
Additional header files: /usr/athena/include /mit/xemacs/include
/mit/graphics/include
Additional libraries: /usr/athena/lib /mit/xemacs/arch/@sys/lib
/mit/graphics/lib
Runtime library search path:
/usr/ccs/lib:/usr/athena/lib:/usr/dt/lib:/usr/openwin/lib:/mit/gnu/arch/sun4x_58/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: gcc -g -O3 -Wall -Wno-switch -Winline
-Wmissing-prototypes -Wshadow -Wsign-compare -Wpointer-arith
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include /usr/openwin/include
- X Windows libraries location: /usr/dt/lib /usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Compiling in support for ESD (Enlightened Sound Daemon).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using Motif to provide XIM support.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Installed XEmacs Packages:
-------------------------
((zenirc :version 1.11 :type regular)
(xslt-process :version 1.04 :type regular)
(xemacs-devel :version 1.37 :type single-file)
(xemacs-base :version 1.55 :type regular)
(w3 :version 1.2 :type regular)
(vm :version 6.95 :type regular)
(viper :version 1.26 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.13 :type regular)
(vc-cc :version 1.16 :type regular)
(vc :version 1.28 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.29 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.32 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.17 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.21 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sh-script :version 1.13 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.06 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.12 :type regular)
(reftex :version 1.23 :type regular)
(psgml :version 1.23 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(prog-modes
:version
1
.4
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.55 :type regular)
(pc :version 1.2 :type single-file)
(os-utils :version 1.25 :type single-file)
(net-utils :version 1.2 :type single-file)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.13 :type regular)
(mew :version 1.14 :type regular)
(mailcrypt :version 2.09 :type regular)
(mail-lib :version 1.39 :type regular)
(jde :version 1.27 :type regular)
(ispell :version 1.23 :type regular)
(ilisp :version 1.19 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.23 :type regular)
(hm--html-menus :version 1.16 :type regular)
(gnus :version 1.42 :type regular)
(gnats :version 1.12 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.09 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.13 :type regular)
(footnote :version 1.13 :type regular)
(eudc :version 1.33 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.01 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.08 :type single-file)
(eieio :version 1.01 :type regular)
(eicq :version 1.05 :type regular)
(efs :version 1.26 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.65 :type single-file)
(ediff :version 1.31 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(debug :version 1.14 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.13 :type regular)
(cc-mode :version 1.25 :type regular)
(calendar :version 1.16 :type regular)
(calc :version 1.17 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.02 :type regular)
(bbdb :version 1.13 :type regular)
(auctex :version 1.25 :type regular)
(apel :version 1.2 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular)
(skk :version 1.19 :type regular)
(mule-base :version 1.39 :type regular)
(lookup :version 1.08 :type regular)
(locale :version 1.18 :type regular)
(leim :version 1.17 :type regular)
(egg-its :version 1.26 :type regular)
(edict :version 1.12 :type regular))
Features:
--------
(mail-abbrevs xemacsbug sendmail rsz-minibuf func-menu font-lock
filladapt crypt crypt++ completer efs-cu efs-x19.15 efs-fnh efs-ovwrt
efs-auto dired-faces dired-xemacs dired vc ring vc-hooks pending-del
time cus-face zenirc-autoloads xslt-process-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-cc-autoloads
vc-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sh-script-autoloads sgml-autoloads semantic-autoloads
scheme-autoloads rmail-autoloads reftex-autoloads psgml-autoloads
ps-print-nomule-autoloads prog-modes-autoloads pcomplete-autoloads
pcl-cvs-autoloads pc-autoloads os-utils-autoloads net-utils-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads jde-autoloads ispell-autoloads
ilisp-autoloads igrep-autoloads idlwave-autoloads
hm--html-menus-autoloads gnus-autoloads gnats-autoloads
games-autoloads fsf-compat-autoloads frame-icon-autoloads
forms-autoloads footnote-autoloads eudc-autoloads eterm-autoloads
eshell-autoloads emerge-autoloads elib-autoloads eieio-autoloads
eicq-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads debug-autoloads
crisp-autoloads cookie-autoloads cc-mode-autoloads calendar-autoloads
calc-autoloads c-support-autoloads build-autoloads bbdb-autoloads
auctex-autoloads apel-autoloads ada-autoloads Sun-autoloads
skk-autoloads mule-base-autoloads lookup-autoloads locale-autoloads
leim-autoloads egg-its-autoloads edict-autoloads lisp-autoloads
loadhist auto-show fontl-hooks x-iso8859-1 slovenian czech romanian
ccl mule-help code-cmds gutter-items menubar-items x-menubar
mode-motion mouse itimer auto-save lisp-mode easymenu iso8859-1 page
buff-menu lib-complete cus-file derived frame text-props obsolete
cus-start custom widget cl-extra mini-cl cl cl-19 packages backquote
very-early-lisp tooltalk file-coding mule lucid-scrollbars cut-buffer
lucid-menubars motif-dialogs x c-balloon-help tty-frames tty toolbar
esd-sound native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
berkeley-db dbm md5 xemacs xim gutter tiff png gif jpeg xface xpm xbm
lisp-float-type usg-unix-v dialog devices window-system base64)
Recent keystrokes:
-----------------
M-x r e p o r t TAB TAB x e TAB RET
Recent messages (most recent first):
-----------------------------------
Loading mail-abbrevs...
Loading xemacsbug...done
Loading xemacsbug...
Making completion list...
Loading rsz-minibuf...done
Loading rsz-minibuf...
Loading dired-mule...done
Loading dired-mule...
Loading pending-del...done
Loading pending-del...
Loading time...done
Loading cus-face...done
Loading cus-face...
Loading time...