swank-clojure and debian/stable issue

2010-02-16 Thread Terrence Brannon
After installing swank-clojure via ELPA on emacs23, and type M-x slime, I
get this error:

(require 'swank.swank)

(swank.swank/ignore-protocol-version nil)

(do (.. java.net.InetAddress getLocalHost getHostAddress)
nil)(swank.swank/start-server /tmp/slime.29897 :encoding
iso-latin-1-unix)

Exception in thread main java.lang.NoClassDefFoundError:
clojure.lang.Symbol
   at clojure.main.clinit(main.java:19)
   at java.lang.Class.initializeClass(libgcj.so.70)

Process inferior-lisp exited abnormally with code 1

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

Re: swank-clojure and debian/stable issue

2010-02-16 Thread Phil Hagelberg
On Tue, Feb 16, 2010 at 2:55 PM, Terrence Brannon scheme...@gmail.com wrote:
 After installing swank-clojure via ELPA on emacs23, and type M-x slime, I
 get this error:
 (require 'swank.swank)
 (swank.swank/ignore-protocol-version nil)
 (do (.. java.net.InetAddress getLocalHost getHostAddress)
 nil)(swank.swank/start-server /tmp/slime.29897 :encoding
 iso-latin-1-unix)
 Exception in thread main java.lang.NoClassDefFoundError:
 clojure.lang.Symbol
    at clojure.main.clinit(main.java:19)
    at java.lang.Class.initializeClass(libgcj.so.70)

Looks like you're using gcj instead of openjdk or Sun's. I don't know
if this is supported by Clojure; but it's not supported by swank. Try
switching to openjdk-6.

-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