Emacs 24.3.1 and ECB 2.40 Error: ECB can only be used with cedet [1.0pre6, 1.1.9]

Running Ubuntu 12.10 with Emacs 24.3.1 and ECB 2.40. Not sure what actually caused this, other than apt-get update && I updated a couple of days ago.

It started when I rebooted my computer and I started Emacs and activated MX ecb-activate. I would get the following error:

ECB 2.40 - Error: ECB can only be used with cedet [1.0pre6, 1.1.9]! Install it and restart Emacs!

I tried a couple of things, but did not understand what exactly caused this problem. I did an apt-get update && update a few days ago IIRC and it updated the package package so that it is possible. I executed the MX cedet version and received:

CEDET Version: 2.0 Requested File Loaded Package Version Version Version ---------------------------------------------------------- cedet: 2.0 nil ok eieio: 1.4 nil ok semantic: 2.2 nil ok srecode: 1.2 nil Not Loaded ede: 1.2 nil Not Loaded speedbar: 1.0.4 nil 1.0 cogre: 1.2 nil Not Loaded cedet-contrib: 1.2 nil Not Loaded 

Any thoughts on what's going on here?

+8
emacs emacs-ecb cedet
source share
3 answers

There is an ECB plug that works with the latest versions of Emacs and CEDET. You can install it either manually or through MELPA (see the instructions at the end of the page on how to activate MELPA).

+7
source share

What worked for me (after a few more searches) was to edit ecb / ecb-cedet-wrapper.el - find the following line in this file:

 (defconst ecb-cedet-required-version-max '(1 1 4 9) 

And replace the first '1' with '2':

 (defconst ecb-cedet-required-version-max '(2 1 4 9) 

Restarting emacs and everything works fine.

+6
source share

After a lot of searches, the only trick that did this for me was found here : add

(setq ecb-version-check nil)

to the emacs init file.

+2
source share

All Articles