Today and yesterday I got my eeepc setup for lisp development, using clbuild to get all the dependencies resolved for me. After some trial and error, here were my steps:
- Added xandros repositories and updates.xepc.org repositories to /etc/apt/sources.list, set updates.xepc.org to have the same priority as the asus repository in /etc/apt/preferences
- The version of git in those repos is too old, so also add backports.org to sources.list:
deb http://www.backports.org/debian etch-backports main contrib
non-free, then pin git-core in /etc/apt/preferences:Package: git-core Pin: release a=etch-backports Pin-Priority: 999
- Install tools clbuild needs:
sudo apt-get install darcs cvs subversion curl cogito git-core sbcl
- Install clbuild:
darcs get http://common-lisp.net/project/clbuild/clbuild
- Make the script executable:
chmod u+x clbuild/clbuild
- Get a recent version of sbcl:
./clbuild/clbuild buildsbcl
- Watch sbcl compiler output, speculate on what things like “
(DEFINE-SOURCE-TRANSFORM LOGNOR ...)
” might mean - Give up on waiting for the sbcl to finish compiling, spend 6 hours at Nathan’s house for dinner, beer, and Rock Band.
- Get some basic libraries:
./clbuild/clbuild update --main-projects
- Compile slime:
./clbuild/clbuild build slime
- Load up emacs and slime to verify everything went smoothly:
./clbuild/clbuild slime
UPDATE: added bits about getting a recent version of git installed, clbuild needs it for updating source directories after initial installation. My repos installed 1.4.x, and that doesn’t seem to include git-config, nor set the remote.origin.url config value which clbuild depends on. Once I got git 1.5.x, I downloaded the projects again, and now everything works fine. That took me approximately forever to figure out.
One Comment