[clfswm-devel] Bad luck installing clfswm ...

Xavier Maillard xma at gnu.org
Thu Mar 6 01:00:06 UTC 2008


Hi all,

   > This time, I tried installing clisp (2.44.1) following the
   > instructions on the wiki. But "make" fails:
   >
   > [...]
   > ../src/foreign.d:17:64: error: avcall.h: No such file or directory
   > ../src/foreign.d:18:63: error: callback.h: No such file or directory
   > ../src/foreign.d:460: error: expected declaration specifiers or ‘...’ before ‘va_alist’
   > [...]
   >
   Do you have libffcall1-dev installed?

I also had this one (error) when building clisp-2.44 onto my
slackware GNU/linux box. I don't know how to fix it here. I
thought that something had changed with clisp 2.44 in the
building process. Can someone confirm that ?

   For some test and if you are not too limited in ram, you can test
   clfswm with sbcl. You need to install cl-clx-sbcl.
   And then load.lisp as usual or:

   --------------------------------------------------
   (require :sb-posix)
   (require :clx)
   (require :clfswm)
   (in-package :clfswm)
   (main ":0")
   --------------------------------------------------

Here is something I am using when I want to launch CLFSWM with
SBCL:

#!/bin/bash -e
# We need to be bash for type -p.

# http://stumpwm.antidesktop.net/cgi-bin/wiki/SetUp
x="/home/zedek/var/cache/clfswm-$(cksum $(type -p sbcl) | cut -d ' ' -f 1).core"
if  test ! -e "$x" ||
    (   for i in "$(dirname $(readlink /home/zedek/systems/clfswm.asd))"/*.lisp
        do  test "$x" -ot "$i" && exit 1
        done )
then /usr/bin/sbcl --disable-debugger --eval "(mapc 'require '(asdf clfswm))" \
                             --eval "(save-lisp-and-die \"$x\" :toplevel 'clfswm:main)"
fi
exec /usr/bin/sbcl --core "$x"

This tip is something I adopted and adapted from a Stumpwm contribution.

	Xavier
-- 
http://www.gnu.org
http://www.april.org
http://www.lolica.org



More information about the clfswm-devel mailing list