I'm trying to get set up in emacs to use clojure.

When I try to fire up slime, I get this error:

Clojure 1.0.0--SNAPSHOT
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:3)
user=> user=> java.lang.ClassNotFoundException: swank.swank
(NO_SOURCE_FILE:5)

I've tried the ELPA install method and installing with sources from
git and get this error. I'm currently set up with everything in ~/src/
and I've pulled everything from git using the directions from
http://riddell.us/tutorial/clojure/clojure.html and
http://riddell.us/tutorial/slime_swank/slime_swank.html, translating
everything to OSX / ~src instead of ~opt.

This is my entire .emacs right now:

;; clojure-mode
(add-to-list 'load-path "~/src/clojure-mode")
(require 'clojure-mode)

;; swank-clojure
(add-to-list 'load-path "~/src/swank-clojure/src/emacs")

(setq swank-clojure-jar-path "~/.clojure/clojure.jar"
      swank-clojure-extra-classpaths (list
                                      "~/src/swank-clojure/src/main/clojure"
                                      "~/.clojure/clojure-contrib.jar"))

(require 'swank-clojure-autoload)
;; slime
(eval-after-load "slime"
  '(progn (slime-setup '(slime-repl))))

(add-to-list 'load-path "~/src/slime")
(require 'slime)
(slime-setup)


I've verified that all of the paths & files exist... Frankly I'm
stumped as to what could be causing this.

Is there something obvious I'm missing?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to