Here is the problem:
;;; Code:
(require 'ldap)
^^^^^^^ ^^^^^
(require 'custom)
.elcs for XEmacs distributions are (and will continue to be) built
without ldap support, X11 support and without pretty much everything
else.
Oscar Figueiredo <Oscar.Figueiredo(a)di.epfl.ch> writes in xemacs-beta(a)xemacs.org:
Is it possible for you to try a build --with-ldap=yes ? (you need
LDAP
libraries of course)
I don't have the libraries, but more importantly,
cvs.xemacs.org
doesn't have LDAP libraries.
In fact ldap.el is useless in a non LDAP-enabled XEmacs, therefore
there's no point in trying to compile it in this case. Is there a
means to avoid that ?
You should be able to bytecompile everything except Mule without underlying
support. Building X11 and MS Windows support for distribution works this
way. It's probably a good idea to arrange the ldap lisp code to work the
same way.