changeset 5390:593d9f73a7e8

New FAQ Q2.5.7 on troubleshooting duplicate auto-autoloads. Nodes Top, Installation, Q2.5.6: Update menus and node links for Q2.5.7.
author Stephen J. Turnbull <stephen@xemacs.org>
date Sat, 02 Apr 2011 17:04:38 +0900
parents f560f6608937
children f9dc75bdbdc4
files man/ChangeLog man/xemacs-faq.texi
diffstat 2 files changed, 60 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/man/ChangeLog	Wed Mar 30 15:07:15 2011 -0600
+++ b/man/ChangeLog	Sat Apr 02 17:04:38 2011 +0900
@@ -1,3 +1,12 @@
+2011-04-02  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* xemacs-faq.texi (Q2.5.7):
+	New node on troubleshooting duplicate auto-autoloads.
+	(Top):
+	(Installation):
+	(Q2.5.6):
+	Update menus and node links for Q2.5.7.
+
 2011-03-24  Jerry James  <james@xemacs.org>
 
 	* internals/internals.texi (Creating a Window-System Type):
--- a/man/xemacs-faq.texi	Wed Mar 30 15:07:15 2011 -0600
+++ b/man/xemacs-faq.texi	Sat Apr 02 17:04:38 2011 +0900
@@ -327,6 +327,7 @@
 * Q2.5.4::    Startup warnings about deducing proper fonts?
 * Q2.5.5::    Warnings from incorrect key modifiers.
 * Q2.5.6::    XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
+* Q2.5.7::    XEmacs issues messages about ``auto-autoloads already loaded.''
 
 3 Editing Functions
 
@@ -3149,6 +3150,7 @@
 * Q2.5.4::    Startup warnings about deducing proper fonts?
 * Q2.5.5::    Warnings from incorrect key modifiers.
 * Q2.5.6::    XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
+* Q2.5.7::    XEmacs issues messages about ``auto-autoloads already loaded.''
 @end menu
 
 @unnumberedsec 2.0: Installation (General)
@@ -4567,7 +4569,7 @@
 EOF
 @end example
 
-@node Q2.5.6,  , Q2.5.5, Installation
+@node Q2.5.6, Q2.5.7, Q2.5.5, Installation
 @unnumberedsubsec Q2.5.6: XEmacs 21.1 on Windows used to spawn an ugly console window on every startup.  Has that been fixed?
 
 Yes.
@@ -4617,6 +4619,54 @@
 works around the "no useful stdio" problem by creating its own console
 window as necessary to display messages in.)
 
+@node Q2.5.7,  , Q2.5.6, Installation
+@unnumberedsubsec Q2.5.7: XEmacs issues messages about ``auto-autoloads already loaded.''
+
+On Sat, 05 Mar 2011 11:54:47 -0500, in Message-ID:
+<4D726AD7.7020303@@gmail.com> on xemacs-beta, Raymond Toy reported:
+
+@quotation
+[N]ow every time I start xemacs, I get 100+ error messages stating that
+the auto-autoload for every package has already been loaded.
+@end quotation
+ 
+This occurs if you have duplicate packages installed on your load-path.
+To detect exactly which paths are duplicated, use @kbd{M-x
+list-load-path-shadows}.  If you have a small number of duplicated
+libraries, it is probably one or more packages available both in the
+XEmacs distribution and in third-party distributions.  If you prefer the
+third-party version, use @kbd{M-x list-packages} to get the package
+management UI, and uninstall the particular packages.  Removal of third
+party packages must be done manually, if you wish to keep the version
+distributed by XEmacs.
+
+When you have many duplicate packages, a common cause is that XEmacs
+finds @emph{package root directories} that are duplicates of each other.
+This can occur in some automounter configurations, or when the roots
+share some subtrees via symlinks.  In this case, you will get a warning
+for @emph{all} of the packages you have installed.  Although this is
+basically a site configuration problem, please report these cases.
+XEmacs is already aware of many automounter artifacts, and automatically
+adjusts for them.  Code is being added to try to detect symlinks.  We
+may not be able to handle every case, but we'd like to know about them,
+and where possible incorporate workarounds.
+
+Package root directories are specified at configuration time via the
+@code{--prefix}, @code{--exec-prefix}, and the @samp{--with-*-packages}
+options; at runtime relative to the XEmacs binary (@file{../share} and
+@file{..} (for run-in-place)); and at runtime via the
+@samp{EMACS*PACKAGES} environment variables.  Unless you have special
+needs, it is best to install XEmacs and the packages (configuring with
+@code{--with-prefix=$prefix} for XEmacs and by untarring the SUMOs in
+@file{@code{$prefix}/share/xemacs/}.
+
+Note that older versions of XEmacs (21.1, 21.4, and early releases of
+21.5) by default expect the packages to be installed under
+@file{@code{$prefix}/lib} rather than @file{@code{$prefix}/share}.  See
+the documentation for @file{configure} for how to point XEmacs at
+@file{@code{$prefix}/share/xemacs/} if that is preferred, or older
+XEmacsen need to share packages with recent versions.
+
 @node Editing, Display, Installation, Top
 @unnumbered 3 Editing Functions