1
安裝Clojure的開發環境我遵循這個指南:麻煩在Ubuntu
http://wiki.unto.net/setting-up-clojure-and-slime
其中走到我通過從源頭煤泥和斯旺克emacs的腳本一起建立的Clojure和Clojure的-的contrib的步驟。當涉及到emacs時,我是一個完全noob。
我收到此錯誤:
File error: Cannot open load file, swank-clojure-autoload
這是我的.emacs:
;; Clojure
(add-to-list 'load-path "~/git/clojure-mode")
(add-to-list 'load-path "~/git/swank-clojure/src/emacs")
(add-to-list 'load-path "~/git/slime")
(setq swank-clojure-jar-path "~/git/clojure/clojure-1.2.0-master-SNAPSHOT.jar")
;; clojure-contrib, when compiled as above, is not working at the moment
;; (setq swank-clojure-extra-classpaths
;; (list "~/git/clojure-contrib/clojure-contrib.jar"))
(require 'clojure-mode)
(require 'swank-clojure-autoload)
(require 'slime)
(eval-after-load "slime" (slime-setup '(slime-repl)))
(slime-setup)
而下面一個單獨的步驟this guide安裝我也遇到同樣的錯誤。
謝謝!
非常感謝您的幫助。這很棒! – Tyler 2010-06-25 04:50:33