A quick guide to install and use UCW
Posted in: (Lisp) by ikki , last update on: 2010-01-01 19:41:29.007314
For make a UCW App, currently the best way is to use the clbuild software facilities:
1. Get clbuild
darcs get http://common-lisp.net/project/clbuild/clbuild
Make it executable
$ cd clbuild clbuild$ chmod +x clbuild
Check clbuild has all the dependencies it needs
clbuild$ ./clbuild check
2 With clbuild get ucw and its dependencies.
./clbuild install ucw
3 Using clbuild generate the ~/.emacs code to load the clbuild and slime software, put that code into your ~/.emacs
./clbuild slime-configuration ;; add this to your ~/.emacs to use clbuild and its slime: ;; ;; possibly controversial as a global default, but shipping a lisp ;; that dies trying to talk to slime is stupid, so: (set-language-environment "UTF-8") (setq slime-net-coding-system 'utf-8-unix) ;; load slime: (setq load-path (cons "/home/jdoe/src/clbuild/source/slime" load-path)) (setq load-path (cons "/home/jdoe/src/clbuild/source/slime/contrib" load-path)) (setq slime-backend "/home/jdoe/src/clbuild/.swank-loader.lisp") (setq inhibit-splash-screen t) (load "/home/jdoe/src/clbuild/source/slime/slime") (setq inferior-lisp-program "/home/jdoe/src/clbuild/clbuild lisp") (setq slime-use-autodoc-mode nil) (slime-setup '(slime-fancy slime-tramp slime-asdf)) (slime-require :swank-listener-hooks) (slime)
4 Fire up your clbuild-turbo-charged Emacs!!
5 On Emacs, load UCW:
cl-user> (require :ucw)
6 Entering into UCW context:
CL-USER> (in-package :ucw-user) #UCW-USER>
7 Enjoy!