Tuesday, May 17, 2005

Getting JDE 2.3.5 working with XEmacs 21.4.5 in Gentoo

(all items done as normal user, assuming emerge privileges)
download cedet 1.0 beta 3
download elib
download jde
emerge app-xemacs/sgml
emerge app-xemacs/os-utils
create ~/.semanticdb
untar cedet, elib and jde in the same directory
from the cedet dir: make EMACS=/usr/bin/xemacs
read INSTALL and add appropriate lines to init.el/customize.el
from jde dir update lisp/makefile to point to the appropriate directories
then make jde
add appropriate load-paths and that's it!
-------init.el--------
;;;jde stuff here
(add-to-list 'load-path (expand-file-name
"~/.xemacs/jde/cedet-1.0beta3b/common"))
(add-to-list 'load-path (expand-file-name
"~/.xemacs/jde/cedet-1.0beta3b/contrib"))
(add-to-list 'load-path (expand-file-name "~/.xemacs/jde/cedet-1.0beta3b/ede"))
(add-to-list 'load-path (expand-file-name
"~/.xemacs/jde/cedet-1.0beta3b/eieio"))
(add-to-list 'load-path (expand-file-name
"~/.xemacs/jde/cedet-1.0beta3b/semantic"))
(add-to-list 'load-path (expand-file-name
"~/.xemacs/jde/cedet-1.0beta3b/speedbar"))
(add-to-list 'load-path (expand-file-name "~/.xemacs/jde/jde-2.3.5/lisp"))
(load-file "~/.xemacs/jde/cedet-1.0beta3b/common/cedet.el")

(require 'jde)

-------init.el--------

No comments: