title: Install ECB with Emacs Starter Kit in Emacs 24
body: <p>I have Emacs Starter Kit installed. When I try to install and run ECB it does not work.<br>
  What is wrong? How to make ECB work with Emacs Starter Kit?</p>
  
  <h3>ECB installation</h3>
  
  <p>I've tried two ways:</p>
  
  <ol>
  <li>Adding <code>ecb</code> to <code>my-packages</code> list as described <a href="https://github.com/technomancy/emacs-starter-kit#readme" rel="nofollow">here</a></li>
  <li>Installing <code>ecb</code> with <code>list-packages</code> command</li>
  </ol>
  
  <p>Both ways give the same result. During the installation I got a lot of warnings like</p>
  
  <pre><code>In ecb-test-with-original-advice-set:
  ecb-advice-test.el:122:16:Warning: reference to free variable `ecb-version'
  
  In ecb-analyse-jump-to-tag:
  ecb-analyse.el:443:24:Warning: `interactive-p' is an obsolete function (as of
  23.2); use `called-interactively-p' instead.
  </code></pre>
  
  <p>Total size of the file is 807 lines and I don't know how to add it here keeping the post readable :)</p>
  
  <h3>ECB usage</h3>
  
  <p>When I try to start ECB by adding <code>(require 'ecb)</code><br>
  to <code>~/.emacs.d/$USER.el</code> the following error occurs at Emacs start:</p>
  
  <pre><code>File error: Cannot open load file, ecb
  </code></pre>
  
  <p>The variable <code>load-path</code> does not contain the path to ecb files. When I start Emacs without <code>(require 'ecb)</code> there is no errors and <code>load-path</code> do contain the string<br>
  <code>"/home/maksim/.emacs.d/elpa/ecb-2.40"</code>. Adding the following line</p>
  
  <pre><code>(add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/ecb-2.40"))
  </code></pre>
  
  <p>makes Emacs start without errors, but ECB still not work and <code>ecb-activate</code> acts in the way described below.</p>
  
  <p>If I try to start ECB by calling <code>ecb-activate</code> I see the following in the <code>*Messages*</code> buffer:</p>
  
  <pre><code>ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar &lt;unknown
  version&gt;).
  ecb-activate-internal: Symbol's value as variable is void: stack-trace-on-error
  </code></pre>
  
  <p>If I add the following line to <code>~/.emacs.d/$USER.el</code></p>
  
  <pre><code>(setq stack-trace-on-error t)
  </code></pre>
  
  <p>then <code>ecb-activate</code> responds the following</p>
  
  <pre><code>ECB 2.40 uses CEDET 1.0 (contains semantic 2.0, eieio 1.3, speedbar &lt;unknown
  version&gt;).
  All requirements for ECB 2.40 fulfilled - Enjoy it!
  The ECB is now deactivated.
  ecb-clean-up-after-activation-failure: ECB 2.40: Errors during the basic setup
  of ECB. (error-type: void-function, error-data:
  (ecb-enable-own-temp-buffer-show-futition))
  </code></pre>
  
  <h3>Version information</h3>
  
  <ul>
  <li>GNU Emacs 24.0.92.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.0)<br>
  of 2011-12-06 on pluot, modified by Debian</li>
  <li>emacs-starter-kit 2.0.3</li>
  <li>ecb 2.40  </li>
  </ul>