Thank you Phil. I appreciate your help. Unfortunately I'm still having issues. Sorry for being a newbie.
Do I still have to do manual edits to my .emacs file for swank- classpath and whatnot? I started with a blank .emacs file and .emacs.d directory and followed the recommend use of ELPA. When installing via ELPA I get the following output to my *Compile-Log* buffer: **************************************************************************** Compiling file /home/mov/.emacs.d/elpa/clojure-mode-1.6/clojure-mode- pkg.el at Tue Feb 16 23:22:53 2010 Compiling file /home/mov/.emacs.d/elpa/clojure-mode-1.6/clojure- mode.el at Tue Feb 16 23:22:53 2010 clojure-mode.el:69:1:Warning: cl package required at runtime In clojure-mode: clojure-mode.el:196:34:Warning: reference to free variable `paredit- mode' clojure-mode.el:196:51:Warning: reference to free variable `paredit- version' In clojure-font-lock-extend-region-def: clojure-mode.el:232:33:Warning: reference to free variable `font-lock- beg' clojure-mode.el:239:30:Warning: assignment to free variable `font-lock- beg' clojure-mode.el:240:33:Warning: reference to free variable `font-lock- end' clojure-mode.el:242:19:Warning: assignment to free variable `font-lock- end' In clojure-font-lock-extend-region-comment: clojure-mode.el:257:26:Warning: reference to free variable `font-lock- beg' clojure-mode.el:254:49:Warning: reference to free variable `font-lock- end' clojure-mode.el:258:17:Warning: assignment to free variable `font-lock- beg' clojure-mode.el:262:17:Warning: assignment to free variable `font-lock- end' In clojure-indent-function: clojure-mode.el:397:33:Warning: reference to free variable `calculate-lisp-indent-last-sexp' In clojure-slime-config: clojure-mode.el:574:11:Warning: assignment to free variable `swank-clojure-classpath' In end of data: clojure-mode.el:684:1:Warning: the following functions are not known to be defined: imenu--generic-function, inferior-lisp-proc, switch-to-lisp, swank-clojure-slime-mode-hook Compiling no file at Tue Feb 16 23:22:54 2010 Compiling file /home/mov/.emacs.d/elpa/swank-clojure-1.1.0/swank- clojure-pkg.el at Tue Feb 16 23:22:54 2010 Compiling file /home/mov/.emacs.d/elpa/swank-clojure-1.1.0/swank- clojure.el at Tue Feb 16 23:22:55 2010 swank-clojure.el:48:1:Error: Cannot open load file: clojure-mode **************************************************************************** Then when I M-x slime I get this output to *inferior-lisp* and slime never loads. **************************************************************************** (require 'swank.swank) (swank.swank/ignore-protocol-version nil) (do (.. java.net.InetAddress getLocalHost getHostAddress) nil) (swank.swank/start-server "/tmp/slime.28344" :encoding "iso-latin-1- unix") Clojure 1.1.0 user=> java.io.FileNotFoundException: Could not locate swank/ swank__init.class or swank/swank.clj on classpath: (NO_SOURCE_FILE:0) user=> user=> java.lang.ClassNotFoundException: swank.swank (NO_SOURCE_FILE:0) user=> user=> nil java.lang.ClassNotFoundException: swank.swank (NO_SOURCE_FILE:0) *************************************************************************** On Feb 15, 4:23 pm, Phil Hagelberg <p...@hagelb.org> wrote: > On Mon, Feb 15, 2010 at 12:58 PM, joseph hirn <joseph.h...@gmail.com> wrote: > > Hello. I've been trying to get emacs/slime running for a while on > > ubuntu 9.10. I used clojure box for Windows and that was excellent but > > this is not running very well for me. > > > I compiled clojure and clojure-contrib.jar by cloning the > > repositories, checking out tag 1.1.0 and building them with ant. I > > then followed these instructions to a t (http://riddell.us/tutorial/ > > slime_swank/slime_swank.html). I've downloaded swank-clojure/slime/ > > clojure-mode as the instructions but used the latest code (I did not > > checkout a different tag). I have also tried emacs and emacs-snapshot, > > both installed via apt-get. > > Those instructions are pretty old. Have you tried the official readme? > > http://github.com/technomancy/swank-clojure > > Be sure to remove all the manual configuration from following the old > instructions. > > -Phil -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en