Thanks for the info.
I had just found a fix prior to getting this email.
I removed all related emacs rpms, and installed the slightly older rpms.
I think it may have helped that I removed some emacs rpms having to do
with:
leim
lisp
I now have emacs-20.7-14 installed, instead of emacs-20.7-17. But like I
said it makes sense it was the lisp package or something, since I didn't
re-install these. When I compiled the jde again, it worked without giving
me an error at the end. Before I was getting an error, but only after
everything compiled and it was trying to remove some files for clean-up. At
least that's what I thought it was trying to do.
It works fine now though. I don't use all the features of the JDE, so
maybe I'll run into some problems eventually.
Thanks for the advice,
Oscar
On Wed, 25 Apr 2001, Paul Kinnucan wrote:
> JDE 2.2.6 does not work with semantic 1.3.2. Upgrade to JDE 2.2.7beta10.
>
> - Paul
>
>
> At 02:19 PM 4/25/01 -0700, Oscar Carrillo wrote:
> >I'm using:
> >
> >RedHat 7.0 w/rpm updates
> >emacs 20.7-17
> >
> >jde-2.2.6
> >eieio-0.15
> >elib-1.0
> >semantic-1.3.2
> >speedbar-0.13a
> >
> >I had the JDE working fine. And I don't know what happened, possibly due
> >to some RPM updates, but I've broken my JDE. AFAIK, I didn't change
> >anything directly.
> >
> >I had it working also on another linux box (RedHat 6.1/emacs20.4, so I
> >copied over the relevant jde directories and the .emacs file, but with no
> >change.
> >
> >
> >I get this error:
> >----------------------
> >File mode specification error: (void-variable l)
> >----------------------
> >
> >'M-x eval-current-buffer' provides this info:
> >
> >Signaling: (void-variable class)
> > eval-current-buffer()
> >* call-interactively(eval-current-buffer)
> > execute-extended-command(nil)
> >* call-interactively(execute-extended-command)
> >
> >
> >I've also tried removing all *.elc files and running it without
> >pre-compiling, but no change.
> >
> >This is my emacs file:
> >
> >-----
> >;; This .emacs file illustrates the minimul setup
> >;; required to run the JDE.
> >
> >;; Set the debug option to enable a backtrace when a
> >;; problem occurs.
> >(setq debug-on-error t)
> >
> >;; Update the Emacs load-path to include the path to
> >;; the JDE and its require packages. This code assumes
> >;; that you have installed the packages in the emacs/site
> >;; subdirectory of your home directory.
> >
> >(add-to-list 'load-path (expand-file-name
> >"/usr/local/share/emacs/site-lisp/jde/lisp"))
> >(add-to-list 'load-path (expand-file-name
> >"/usr/local/share/emacs/site-lisp/semantic"))
> >(add-to-list 'load-path (expand-file-name
> >"/usr/local/share/emacs/site-lisp/speedbar"))
> >(add-to-list 'load-path (expand-file-name
> >"/usr/local/share/emacs/site-lisp/elib"))
> >(add-to-list 'load-path (expand-file-name
> >"/usr/local/share/emacs/site-lisp/eieio"))
> >
> >
> >;; If you want Emacs to defer loading the JDE until you open a
> >;; Java file, edit the following line
> >;;(setq defer-loading-jde nil)
> >;; to read:
> >;;
> > (setq defer-loading-jde t)
> >;;
> >
> >(if defer-loading-jde
> > (progn
> > (autoload 'jde-mode "jde" "JDE mode." t)
> > (setq auto-mode-alist
> > (append
> > '(("\\.java\\'" . jde-mode))
> > auto-mode-alist)))
> > (require 'jde))
> >
> >
> >;; Sets the basic indentation for Java source files
> >;; to two spaces.
> >(defun my-jde-mode-hook ()
> > (setq c-basic-offset 4))
> >
> >(add-hook 'jde-mode-hook 'my-jde-mode-hook)
> >
> >;; Include the following only if you want to run
> >;; bash as your shell.
> >
> >;; Setup Emacs to run bash as its primary shell.
> >(setq shell-file-name "bash")
> >(setq shell-command-switch "-c")
> >(setq explicit-shell-file-name shell-file-name)
> >(setenv "SHELL" shell-file-name)
> >(setq explicit-sh-args '("-login" "-i"))
> >(if (boundp 'w32-quote-process-args)
> > (setq w32-quote-process-args ?\")) ;; Include only for MS Windows.
> >(custom-set-variables
> > '(jde-enable-abbrev-mode t))
> >(custom-set-faces)
> >-----
> >
> >
> >
> >Any ideas. Thanks,
> >
> >Oscar
>