Search code examples
emacscscopecedet

Ctags integration with CEDET/semantic


I have setup my Emacs(v 23.3) with CEDET 1.1 using info found in http://cedet.sourceforge.net/ and the article by Alex Ott (http://alexott.net/en/writings/emacs-devenv/EmacsCedet.html)

I've got most of the kinks worked out to my linking with respect to my init.el file.

Now for the problem. I build TAGS myself, so there is a TAGS file in the root of my project. However semantic doesn't seem to want to use that file and barfs with the following errors:

Source file `/users/lshvarts/.emacs.d/cedet-1.1/semantic/ctags/semantic-ectag-util.el' newer than byte-compiled file
Exuberent CTags not found. Found ctags that comes with Emacs
semantic-ectag-test-version: Exuberent CTags not found. Use M-x semantic-ectag-version RET
Exuberent CTags not found. Use M-x semantic-ectag-version RET
Exuberent CTags not found. Found ctags that comes with Emacs

Etags that I have might not be the newest version, but I am puzzled why it plainly refuses to work with it.
boxy:92> etags --version
etags (GNU Emacs 20.7)
Copyright (C) 1996 Free Software Foundation, Inc. and Ken Arnold
This program is distributed under the same terms as Emacs
boxy:93>

Any help/insight is appreciated.


Solution

  • you need not the etags, but Exuberent CTags! You can install it from your linux/mac repository (usually it has name ectags, or exuberant-ctags on Debian), or from it's site.