Here is my script for updating clojure on Mac/Linux - update-clojure.sh or on Windows (uses cygwin git) - update-clojure.bat
git clone git://github.com/richhickey/clojure.git cd clojure git pull ant clean ant cd .. git clone git://github.com/richhickey/clojure-contrib.git cd clojure-contrib git pull ant clean ant -Dclojure.jar=../clojure/clojure.jar cd .. git clone git://github.com/richhickey/sdb.git cd sdb git pull cd .. git clone git://github.com/richhickey/clojure-clr.git cd clojure-clr git pull cd .. git clone git://github.com/stuarthalloway/clojure-presentations.git cd clojure-presentations git pull cd .. git clone git://github.com/stuarthalloway/programming-clojure.git cd programming-clojure git pull cd .. git clone git://github.com/jochu/clojure-mode.git cd clojure-mode git pull cd .. git clone git://github.com/jochu/swank-clojure.git cd swank-clojure git pull cd .. git clone git://github.com/jochu/clojure-extra.git cd clojure-extra git pull cd .. cvs -d :pserver:anonymous:anonym...@common-lisp.net:/project/slime/ cvsroot co slime ----------- Then my Mac OSX ~/.emacs (you need to change things according to your config) (custom-set-variables '(swank-clojure-extra-classpaths '("/Users/malkia/p/clojure-contrib/ clojure-contrib.jar:/Users/malkia/classes/:/Users/malkia/p/swank- clojure/")) '(swank-clojure-extra-vm-args '("-Xmx1024000000" "-server" "- Duser.dir=/Users/malkia/p/" "-Dcom.sun.management.jmxremote" "-Xdebug" "-Xrunjdwp:transport=dt_socket,address=8888,server=y,suspend=n")) '(swank-clojure-java-path "/System/Library/Frameworks/ JavaVM.framework/Versions/1.6.0/Home/bin/java") ; '(swank-clojure-java-path "/Users/malkia/p/soylatte16-amd64-1.0.3/ bin/java") ) ;(set-language-environment 'utf-8) (setq inferior-lisp-program "/Users/malkia/p/ccl/dx86cl64") (setq slime-lisp-implementations '((ccl ("/Users/malkia/p/ccl/dx86cl64" "-K utf-8")) (ccl32 ("/Users/malkia/p/ccl/dx86cl" "-K utf-8")) (sbcl ("/usr/local/bin/sbcl")) (cmucl ("/Users/malkia/p/cmucl/bin/lisp")) (ecl ("/usr/local/bin/ecl")) (lw ("/Applications/Lispworks 5.1/lw-console")) ; (lw ("/Applications/LispWorks 5.1/LispWorks.app/Contents/MacOS/ lispworks-5-1-0-macos-universal")) (acl ("/Applications/Lisp/AllegroCL/alisp")) (abcl ("/Users/malkia/p/abcl/abcl")) (clisp ("/opt/local/bin/clisp" "-K full -norc -ansi")))) (add-to-list 'load-path "~/p/") (add-to-list 'load-path "~/p/slime/") (add-to-list 'load-path "~/p/slime/contrib/") (add-to-list 'load-path "~/p/clojure-mode") (require 'clojure-mode) (setq swank-clojure-jar-path "~/p/clojure/clojure.jar") (add-to-list 'load-path "~/p/swank-clojure") (require 'swank-clojure-autoload) (require 'paredit) (mapc (lambda (mode) (let ((hook (intern (concat (symbol-name mode) "-mode-hook")))) (add-hook hook (lambda () (paredit-mode +1))))) '(emacs-lisp lisp inferior-lisp)) ;(require 'clojure-paredit) ; Uncomment if you use Paredit (require 'slime) (require 'slime-fancy) ;(setq slime-net-coding-system 'utf-8-unix) (slime-setup) (slime 'clojure) (put 'scroll-left 'disabled nil) ;; Erlang OTP (Mac Ports version) (setq erlang-root-dir "/opt/local/lib/erlang/") (add-to-list 'load-path (concat erlang-root-dir "lib/tools-2.6.2/ emacs")) (add-to-list 'exec-path (concat erlang-root-dir "bin")) (require 'erlang-start) (load "/Applications/factor/misc/fuel/fu.el") ;;; This was installed by package-install.el. ;;; This provides support for the package system and ;;; interfacing with ELPA, the package archive. ;;; Move this code earlier if you want to reference ;;; packages in your .emacs. (when (load (expand-file-name "~/.emacs.d/elpa/package.el")) (package-initialize)) (put 'set-goal-column 'disabled nil) On Jul 18, 5:40 am, Glen Foy <sp...@clairvaux.org> wrote: > Hi, > > I'm trying to set up Clojure, Slime and Aquamacs on a powerbook. > > I obtainedhttp://github.com/technomancy/clojure-mode > > M-x clojure-install produces this error: > > Checking out source... this will take a while... > Loading cl-macs...done > Initialized empty Git repository in /Users/gef/src/clojure/.git/ > Initialized empty Git repository in /Users/gef/src/clojure-contrib/.git/ > Initialized empty Git repository in /Users/gef/src/swank-clojure/.git/ > Initialized empty Git repository in /Users/gef/src/slime/.git/ > format: Wrong type argument: listp, "origin/1.0" > > Suggestions? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---