Hi--I'm on Mac OS X Snow Leopard, and I'm going crazy trying to get a
slime server running (I've done it successfully before, on both OS X
and Windows). Leiningen is installed and running. Here's a completely
new terminal window:

-----
Last login: Sun Nov 21 21:25:14 on ttys000
You have mail.
macscooter:~ gw$ cd /Users/gw/tech/clojurestuff
macscooter:clojurestuff gw$ lein new swank
Created new project in: swank

*** (here, I added :dev-dependencies [[swank-clojure "1.2.1"]] to
project.clj)

macscooter:clojurestuff gw$ cd swank
macscooter:swank gw$ lein deps
Copying 2 files to /Users/gw/tech/clojurestuff/swank/lib
Overriding previous definition of reference to swank
Overriding previous definition of reference to dependency.fileset
Copying 1 file to /Users/gw/tech/clojurestuff/swank/lib/dev
macscooter:swank gw$ lein swank
Exception in thread "main" java.lang.Exception: Unable to resolve
symbol: send-to-emacs in this context (server.clj:53)
        at clojure.lang.Compiler.analyze(Compiler.java:5205)
        at clojure.lang.Compiler.analyze(Compiler.java:5151)
        ...lots more stuff
-----
I discovered that one namespace in clojure-contrib, jmx, has a
server.clj file, and it calls send-to-emacs on line 53. I guess that
this jmx/server.clj is somehow hiding the "true" server.clj connected
with swank-clojure, so I go into swank/lib/clojure-contrib-1.2.0.jar,
take the jmx folder and a lot of jmx$... inner classes out of it,
close clojure-contrib-1.2.0.jar, and try again. This time I get the
same error.

I've tried this entire sequence twice, with the same results. I've
searched for the error message and similar stuff on the Internet,
found nothing similar. I've checked my .bash-profile but found nothing
crazy in it. Any ideas what I'm doing wrong? Thanks.

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