Hi all,

I just thought I would document what I had to do to get Ratpoison and
StumpWM to build and run on Mac OS X in case there are other Mac users
who are ratpoison/stumpwm user-wanna-bes. My machine is an Intel
MacBook Pro 17", 2.4GHz, with 2 GB of RAM and I'm running Leopard
(10.5.2).

Ratpoison:
It is generally accepted that the X11 that comes with Leopard is
broken - see these:
http://boredzo.org/blog/archives/2007-10-29/x11-on-leopard-is-broken
http://macresearch.org/x11-leopard-broken
http://forums.macosxhints.com/showthread.php?t=80171

If you download and build Ratpoison according to the directions in the
Ratpoison INSTALL file, it will build correctly. If you then create a
.xinitrc file with "exec ratpoison" in it, and attempt to start X11,
X11 will briefly start and then die.

The workaround is to download and install the latest X11 package from
the XQuartz site:
http://trac.macosforge.org/projects/xquartz/wiki/Releases

You need to have installed the X11 package (either downloaded from
Apple's site or off your Leopard install disk) first before you
install the XQuartz X11 package.

After installing the alternative X11, Ratpoison works fine.


StumpWM:
1. As with Ratpoison, you need to install thee XQuartz version of X11.
2. The README file says to use ASDF-INSTALL to get the cl-ppcre and
clx libraries. However, the version of clx that is installed with
asdf-install didn't work with stumpwm and SBCL. Instead, I used the
darcs version of clx that Christophe Rhodes looks after
(http://common-lisp.net/~crhodes/clx).
3. I had to hack around the make-image.lisp file a bit to get it to
generate a stumpwm image properly. I'll have to try a re-install after
next week (I'm just about to fly out for a week) just to make certain;
however, I think all I had to do was remove the "(require 'stumpwm)"
statement and replace it with "(asdf:oos 'asdf:load-op 'stumpwm)".
4. I created a .xinitrc file with "exec stumpwm" in it and moved the
stumpwm executable (that was generated in step#3) to a location in my
PATH.


It would probably be a good idea to submit a patch to the clbuild
maintainers so that stumpwm is one of the packages that can be
installed through clbuild (the versions of cl-ppcre and clx that I
used are installable with clbuild already). If anyone else wants to do
this, feel free to do so. Otherwise, I will probably submit a patch
when I get back from my trip. The clbuild project is located here:
http://common-lisp.net/project/clbuild/

Cheers,
Bill


_______________________________________________
Ratpoison-devel mailing list
Ratpoison-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/ratpoison-devel

Reply via email to