This happens sometimes when eieio is not byte compiled correctly.
Delete all .elc files in eieio, verify there is no other eieio on
your path, and re-run the Makefile.

Eric

>>> "Hongbin Wang" <[EMAIL PROTECTED]> seems to think that:
>I am trying to install jde on emacs 21.1, I got the following error message.
>Any idea? Thanks!
>- hongbin
>
>error message
>Debugger entered--Lisp error: (error "Given parent class eieio-named is not
>a class")
>  signal(error ("Given parent class eieio-named is not a class"))
>  error("Given parent class %s is not a class" eieio-named)
>  (if (not (class-p ...)) (error "Given parent class %s is not a class" (car
>pname)) (if (not ...) (aset ... class-children ...)) (mapcar (lambda ...
>...) (class-option ... :custom-groups)) (aset newc class-parent (cons ...
>...)))
>  (if (and (car pname) (symbolp ...)) (if (not ...) (error "Given parent
>class %s is not a class" ...) (if ... ...) (mapcar ... ...) (aset newc
>class-parent ...)) (error "Invalid parent class %s" pname))
>  (while pname (if (and ... ...) (if ... ... ... ... ...) (error "Invalid
>parent class %s" pname)) (setq pname (cdr pname)))
>  (progn (while pname (if ... ... ...) (setq pname ...)) (aset newc
>class-parent (nreverse ...)))
>  (if pname (progn (while pname ... ...) (aset newc class-parent ...)) (if
>(eq cname ...) (if ... ...) (setq clearparent t) (if ... ...) (aset newc
>class-parent ...)))
>  (let* ((pname ...) (newc ...) (oldc ...) (groups nil) (options nil)
>(clearparent nil)) (aset newc 0 (quote defclass)) (aset newc class-symbol
>cname) (when oldc (aset newc class-children ...)) (cond (... ...) (... ...))
>(setq options (if ... ... ...)) (if pname (progn ... ...) (if ... ... ...
>... ...)) (set cname cname) (let (...) (fset csym ...)) (let (...) (fset
>csym ...)) (eieio-copy-parents-into-subclass newc superclasses) (put cname
>(quote eieio-class-definition) newc) (while fields (let* ... ... ... ... ...
>... ... ... ... ... ... ... ...) (setq fields ...)) (aset newc
>class-public-a (nreverse ...)) (aset newc class-public-d (nreverse ...))
>(aset newc class-public-doc (nreverse ...)) (aset newc class-public-type
>(apply ... ...)) (aset newc class-public-custom (nreverse ...)) (aset newc
>class-public-custom-label (nreverse ...)) (aset newc
>class-public-custom-group (nreverse ...)) (aset newc class-protection
>(nreverse ...)) (aset newc class-initarg-tuples (nreverse ...)) (aset newc
>class-class-allocation-type (apply ... ...)) (aset newc
>class-class-allocation-values (apply ... ...)) (let* (... ... ... ... ...
>... ...) (while pubsyms ... ... ... ... ...) (aset newc class-symbol-obarray
>oa)) (fset cname (list ... ... ... ...)) (put cname (quote
>variable-documentation) (class-option-assoc options :documentation)) (let
>(...) (mapcar ... groups) (if ... ... ...)) (aset newc class-options
>options) (if clearparent (aset newc class-parent nil)) (if (and ... ...)
>(message "Bootstrapping objects...done")) (let (...) (aset cache 0 ...)
>(aset cache object-class cname) (aset cache object-name ...) (let ... ...)
>(aset newc class-default-object-cache cache)) newc)
>  eieio-defclass(semantic-cb-token (eieio-named eieio-speedbar) ((buttontype
>:initform statictag) (buttonface :initform speedbar-tag-face) (token
>:initarg :token :type semantic-token :documentation "Semantic token which
>represents a type.") (table :initarg :table :type semanticdb-table
>:documentation "This is the database table that `token' was found in.\nBe
>sure to use this field when loading a token's file into memory.") (container
>:initarg :container :type (or null semantic-cb-token) :documentation "This
>is the CB object containing this token.\nCB Containers are usually types
>with attributes of methods.")) ("A single semantic token.\nTokens
>represented in the Class Browser database may not be loaded\nin memory, so
>this forms the structure needed to access them."))
>  (progn (eieio-defclass (quote semantic-cb-token) (quote ...) (quote ...)
>(quote ...)))
>  (eval-and-compile (eieio-defclass (quote semantic-cb-token) (quote ...)
>(quote ...) (quote ...)))
>  (defclass semantic-cb-token (eieio-named eieio-speedbar) ((buttontype
>:initform statictag) (buttonface :initform speedbar-tag-face) (token
>:initarg :token :type semantic-token :documentation "Semantic token which
>represents a type.") (table :initarg :table :type semanticdb-table
>:documentation "This is the database table that `token' was found in.\nBe
>sure to use this field when loading a token's file into memory.") (container
>:initarg :container :type ... :documentation "This is the CB object
>containing this token.\nCB Containers are usually types with attributes of
>methods.")) "A single semantic token.\nTokens represented in the Class
>Browser database may not be loaded\nin memory, so this forms the structure
>needed to access them.")
>  eval-buffer(#<buffer  *load*<6>> nil "semantic-cb" nil t)
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/semantic-1.4/semant
>ic-cb.el" "semantic-cb" nil t)
>  require(semantic-cb)
>  (progn (require (quote semantic-cb)) (require (quote semantic-ia-sb)))
>  eval((progn (require (quote semantic-cb)) (require (quote
>semantic-ia-sb))))
>  mapcar(eval ((speedbar-add-supported-extension ".bnf") (progn (require
>...) (require ...))))
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/speedbar-0.12/speed
>bar.el" "speedbar" nil t)
>  require(speedbar)
>  eval-buffer(#<buffer  *load*<5>> nil "semantic-sb" nil t)
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/semantic-1.4/semant
>ic-sb.el" "semantic-sb" nil t)
>  require(semantic-sb)
>  eval-buffer(#<buffer  *load*<4>> nil "jde-parse" nil t)
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/jde-2.2.8/lisp/jde-
>parse.el" "jde-parse" nil t)
>  require(jde-parse)
>  eval-buffer(#<buffer  *load*<3>> nil "jde-db" nil t)
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/jde-2.2.8/lisp/jde-
>db.el" "jde-db" nil t)
>  require(jde-db)
>  eval-buffer(#<buffer  *load*<2>> nil "jde" nil t)
>
>load-with-code-conversion("c:/apps/emacs/emacs-21.1/site/jde-2.2.8/lisp/jde.
>el" "jde" nil t)
>  require(jde)
>  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
>  load-with-code-conversion("d:/hwang/.emacs" "~/.emacs" t t)
>  load("~/.emacs" t t)
>  #[nil ",T
>
>.emacs setup
>
>(add-to-list 'load-path (expand-file-name
>"c:/apps/emacs/emacs-21.1/site/jde-2.2.8/lisp"))
>(add-to-list 'load-path (expand-file-name
>"c:/apps/emacs/emacs-21.1/site/semantic-1.4"))
>(add-to-list 'load-path (expand-file-name
>"c:/apps/emacs/emacs-21.1/site/speedbar-0.12"))
>(add-to-list 'load-path (expand-file-name
>"c:/apps/emacs/emacs-21.1/site/elib-1.0"))
>(add-to-list 'load-path (expand-file-name
>"c:/apps/emacs/emacs-21.1/site/eieio-0.16"))
>Hongbin
>

Reply via email to