"Stephen J. Turnbull" <stephen(a)xemacs.org> さんは書きました:
>>>>> "Carl" == Carl Gwilliam
Carl> Hi, I installed xemacs on suse 10.1 using YaST but get the
Carl> [package already loaded] error upon loading. Does anyone
Carl> have any ideas?
Remove the package "xemacs-apel", most likely you don't need it.
You have two copies of APEL in your search path. Why there's a
of APEL in site-packages I don't know, unless you put it there; it's
guaranteed to conflict.
Depending on what's in the term package in site-packages, you
also run into trouble there.
If you don't remember putting APEL into site-packages (I would guess
it got pulled in as a dependency of SEMI), then please report this to
your vendor (SuSE) as a bug in their package management. (The XEmacs
Project reserves site-packages for local use; we will never put
anything in there, so it's either you or SuSE.)
This is caused by us (i.e. SuSE). But unfortunately I don't know how
to deal with the problem correctly.
The problem is the following:
Some packages for XEmacs, notably "wl" (Wanderlust, a Mail user agent)
need recent versions of "flim", "semi", and "apel".
Recent versions of "wl" really require a newer version of "apel",
the version which is already in the XEmacs sumo packages won't do.
In order to supply a newer version of "apel" for "wl", I tried to
remove the "apel" in the sumo packages (called "xemacs-packages" on
SUSE Linux) and supply only the extra package "xemacs-apel".
Unfortunately the sumo packages won't build anymore without "apel",
some parts in the sumo packages require "apel" (eg "tm" requires
"apel" as far as I remember).
Then I tried to update the "apel" in the sumo packages to the latest
version which is required by "wl". But I ran into other problems. I'm
not sure whether updating "apel" in the sumo packages is a possible
solution. I had the impression that the "tm" in the sumo packages
requires an old version of "apel" but I'm not perfectly sure.
To have a quick solution for the "wl" (Wanderlust) users, I created an
extra "xemacs-apel" packages which shadows the "apel" package which
already comes with "xemacs-packages".
This works fine for the "wl" users. The warning Carl reports occurs,
but that's it. Everything works fine in "wl". "wl" users just
to live with that warning on SUSE Linux at the moment.
Users who don't use "wl" should *not* install xemacs-apel. Neither the
wl-xemacs nor package xemacs-apel are installed by default.
Unfortunately there seem to be quite a few users who install
*everything* (or at least everything *emacs*) and thus get the
"xemacs-apel" package which they don't need and suffer this warning
because of the two apel packages.
How can this be done correctly?
Can "apel" be removed from the sumos completly so that an up-to-date
version can be supplied as an addon?
Or can "apel" in the sumos be updated to the latest version?
Mike FABIAN <mfabian(a)suse.de> http://www.suse.de/~mfabian