[clfswm-devel] Bad luck installing clfswm ...
Philippe Brochard
pbrochard at common-lisp.net
Thu Mar 6 19:23:25 UTC 2008
Xavier Maillard writes:
> Hi all,
>
Hi,
> > 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 ?
>
I have had this error on my Debian/ppc and installing the libffcall
devel package solve the instalation failure.
Be sure to take clisp-2.44.1 because the 2.44 doesn't compile with the
current gcc version (a bug in gcc. The 2.44.1 version has a workaround
to this bug).
I don't think something has changed in the building process. My script
to build clisp works the same way as with older versions of clisp.
http://trac.common-lisp.net/clfswm/wiki/BuildClisp
> 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.
>
My pkgbuild for archlinux is here:
http://aur.archlinux.org/packages/clfswm/clfswm/PKGBUILD
I'll take a look to your script to see if I can adapt it for archlinux.
Philippe
--
Philippe Brochard <pbrochard at common-lisp.net>
http://hocwp.free.fr
More information about the clfswm-devel
mailing list