Posted August 18, 2024 by screwtape
#lisp #ecl #setup #mcclim #common lisp
This morning I got my friend Andrew's :cl-fast-ecs working. Great. Except… When I did a sanity cold boot… Mcclim dependencies wanted to rebuild, but couldn't…
So I nuked everything I had to set up again like you would if you turned into me.
The challenge is that mcclim, in doing literally everything literally has a lot of dependencies and quicklisp (the git dependency source manager and getter) has two outdated repos where we want current.
Might as well describe
pkg_add ecl
You might be =pkg install ecl=
or =emerge ecl=
or something.
but tl;dr download the file from https://www.quicklisp.org/beta/
and =ecl -load quicklisp.lisp=
it.
Listen, hopefully you have both got and git installed because thaaaaaat's what I do.
apt install -y git got
mkdir ~/gits/ cd ~/gits/ git clone --bare https://codeberg.org/mcclim/mcclim git clone --bare https://github.com/Xach/zpb-ttf
git is common but also sucks, so I work using got instead
mkdir ~/working/
cd ~/working/
got checkout ~/gits/mcclim.git
got checkout ~/gits/zpb-ttf.git
We're getting current mcclim working by the way but not yet
mkdir -p ~/common-lisp/
cd ~/common-lisp/
ln -s ~/working/mcclim
ln -s ~/working/zpb-ttf
ecl -load ~/quicklisp/setup.lisp
for the two main systems we provided
(ql:quickload :mcclim)
(in-package :Clim-user) (define-application-frame working () () (:pane :title :title-string "Totally working."))