Re[1]: Error on startup: 'Package speedbar does not define speedbar-version'
Eric M. Ludlam <eric <at> siege-engine.com>
2005-10-22 00:15:41 GMT
The version of speedbar in Emacs 22 was recently advanced, though the
error below seems unlikely.
You can diagnose where speedbar is coming from with:
M-x locate-library RET speedbar RET
and if it is not from cedet dirs, or perhaps from Emacs itself, then
it should probably be deleted or renamed.
Eric
>>> Rory McCann <rory <at> netsoc.ucd.ie> seems to think that:
>I am trying to install JDE, but I'm having trouble. I've looked all over
>the place trying to find a solution, but I haven't found anything. I've
>been banging my head against the wall over this I am new to Emacs.
>
>On startup I get the following error:
>
> An error has occurred while loading `/Users/rory/.emacs':
>
> error: Package speedbar does not define speedbar-version
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file. Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
>
>
>Emacs 22.0.50.1 (powerpc-apple-darwin8.1.0)
>JDE 2.3.5
>CEDET 1.0pre3
>
>This is the full output of startup:
>------START OF OUTPUT-----
>Loading byte-opt...done
>Loading cl-extra...done
>Loading regexp-opt...done
>Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...
>"/Users/rory/.emacs.d/cedet/common/" added to `load-path'
>"/Users/rory/.emacs.d/cedet/cogre" added to `load-path'
>"/Users/rory/.emacs.d/cedet/ede" added to `load-path'
>"/Users/rory/.emacs.d/cedet/eieio" added to `load-path'
>"/Users/rory/.emacs.d/cedet/semantic" added to `load-path'
>"/Users/rory/.emacs.d/cedet/speedbar" added to `load-path'
>"/Users/rory/.emacs.d/cedet/contrib" added to `load-path'
>Setting up cedet...done
>Setting up cogre...done
>Setting up ede...done
>Setting up eieio...done
>Setting up semantic...
>Loading semantic-idle...done
>Setting up semantic...done
>Setting up speedbar...done
>Setting up cedet-contrib...done
>Loading /Users/rory/.emacs.d/cedet/common/cedet.el (source)...done
>Loading semantic-decorate-mode...done
>Loading senator...
>
>
>An error has occurred while loading `/Users/rory/.emacs':
>
>error: Package speedbar does not define speedbar-version
>
>To ensure normal operation, you should investigate and remove the
>cause of the error in your initialization file. Start Emacs with
>the `--debug-init' option to view a complete error backtrace.
>
>Loading semantic-el...done
>Loading jit-lock...done
>Loading encoded-kb...done
>Loading semantic-edit...done
>Loading semanticdb-file...done
>
>------END OF OUTPUT----
>
>This is my ~/.emacs:
>-----START OF .emacs----
>(global-font-lock-mode t)
>
>;;; Add ~/.emacs.d/ to the load path
>(add-to-list 'load-path "/Users/rory/.emacs.d/")
>(add-to-list 'load-path "/Users/rory/.emacs.d/share/emacs/site-lisp/")
>
>
>;;; The functions I've written
>(load-file "~/.emacs.d/rmc-funcs.elc")
>
>
>(autoload 'css-mode "css-mode")
> (setq auto-mode-alist (cons '("\\.css\\'" . css-mode) auto-mode-alist))
>
>
>;;; SLIME stuff. See
>http://common-lisp.net/project/slime/doc/html/slime_7.html#SEC7, and the
>slime movie explaining it.
>(add-to-list 'load-path "/Users/rory/local/slime/")
>(require 'slime)
>(add-hook 'lisp-mode-hook (lambda () (slime-mode t)))
>(add-hook 'inferior-lisp-mode-hook (lambda () (inferior-slime-mode t)))
>
>(setq inferior-lisp-program "/opt/local/bin/clisp"
> lisp-indent-function 'common-lisp-indent-function
> slime-complete-symbol-function 'slime-fuzzy-complete-symbol
> common-lisp-hyperspec-root
>"file:///Users/rory/books/lisp/HyperSpec/"
> slime-start-animation nil)
>(slime-setup)
>
>
>;;; Python mode
>(autoload 'python-mode "python-mode" "Python editing mode." t)
>;(require 'python)
>(setq auto-mode-alist (cons '("\\.py$" . python-mode) auto-mode-alist))
>(setq interpreter-mode-alist (cons '("python" . python-mode)
>interpreter-mode-alist))
>
>
>;; TRAMP mode. http://jeremy.zawodny.com/blog/archives/000983.html
>(require 'tramp)
>(setq tramp-default-method "ssh")
>;;(setq tramp-debug-buffer t)
>
>
>;;; Ansi-Colour mode. Makes the shell look proper.
>(autoload 'ansi-color-for-comint-mode-on "ansi-color" nil t)
>(add-hook 'shell-mode-hook 'ansi-color-for-comint-mode-on)
>
>;;; HtmlModeDelux. http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDeluxe
>;;************************************************************
>;; configure HTML editing
>;;************************************************************
>
>(require 'php-mode)
>
>;; configure css-mode
>(autoload 'css-mode "css-mode")
>(add-to-list 'auto-mode-alist '("\\.css\\'" . css-mode))
>(setq cssm-indent-function #'cssm-c-style-indenter)
>(setq cssm-indent-level '2)
>
>(add-hook 'php-mode-user-hook 'turn-on-font-lock)
>
>(require 'mmm-mode)
>(setq mmm-global-mode 'maybe)
>
>;; set up an mmm group for fancy html editing
>(mmm-add-group
> 'fancy-html
> '(
> (html-php-tagged
> :submode php-mode
> :face mmm-code-submode-face
> :front "<[?]php"
> :back "[?]>")
> (html-css-attribute
> :submode css-mode
> :face mmm-declaration-submode-face
> :front "style=\""
> :back "\"")))
>
>;; What files to invoke the new html-mode for?
>(add-to-list 'auto-mode-alist '("\\.inc\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.phtml\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.php[34]?\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.[sj]?html?\\'" . html-mode))
>(add-to-list 'auto-mode-alist '("\\.jsp\\'" . html-mode))
>
>;; What features should be turned on in this html-mode?
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil html-js))
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil embedded-css))
>(add-to-list 'mmm-mode-ext-classes-alist '(html-mode nil fancy-html))
>
>;; Not exactly related to editing HTML: enable editing help with mouse-3
>in all sgml files
>(defun go-bind-markup-menu-to-mouse3 ()
> (define-key sgml-mode-map [(down-mouse-3)] 'sgml-tags-menu))
>(add-hook 'sgml-mode-hook 'go-bind-markup-menu-to-mouse3)
>
>
>
>;;; CEDET Stuff.
>;; Load ELib
>(setq load-path (append (list
>"/Users/rory/.emacs.d/share/emacs/site-lisp/elib") load-path))
>
>;; Load CEDET
>
>(load-file "~/.emacs.d/cedet/common/cedet.el")
>
>;; Enabling various SEMANTIC minor modes. See semantic/INSTALL for more
>ideas.
>;; Select one of the following
>(semantic-load-enable-code-helpers)
>;; (semantic-load-enable-guady-code-helpers)
>;; (semantic-load-enable-excessive-code-helpers)
>
>;; Enable this if you develop in semantic, or develop grammars
>;; (semantic-load-enable-semantic-debugging-helpers)
>
>;;; JDEE stuff. From: http://jdee.sunsite.dk/install.html
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/jde/lisp"))
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/cedet/common"))
>(load-file (expand-file-name "~/.emacs.d/cedet/common/cedet.elc"))
>(add-to-list 'load-path (expand-file-name "~/.emacs.d/elib"))
>
>(require 'jde)
>-----END OF .emacs----
>
>
>Can anyone help?
>
>
>Rory McCann
>