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

Philippe Brochard pbrochard at common-lisp.net
Sun Mar 9 13:11:33 UTC 2008


Matthieu Moy a écrit :

> Philippe Brochard <pbrochard at common-lisp.net> writes:
>
>> Matthieu Moy a écrit :
>>
>>> Hi,
>>>
>> Hi,
>>
>>> I got some more time to try out clfswm, but I seem to be quite
>>> unlucky ... Last time, I was running clisp 2.42 from Debian unstable,
>>> and got multiple segfaults.
>>>
>> Hum, I got also this with the new-clx module. It's for this I run it
>> with the mit-clx module. But Shawn Betts (the stumpwm author) has
>> commited some bugfix to run stumpwm with new-clx.
>>
>>> 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 didn't, and installing it solves this particular problem.
> Surprisingly, I had to restart a build from scratch, but I now have a
> compiled clisp.
>
Ah, nice!

> Still:
>
> ... clisp-2.44.1/build$ ./clisp -x '(require :clx)' 
>   i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
>   I I I I I I I      8     8   8           8     8     o  8    8
>   I  \ `+' /  I      8         8           8     8        8    8
>    \  `-+-'  /       8         8           8      ooooo   8oooo
>     `-__|__-'        8         8           8           8  8
>         |            8     o   8           8     o     8  8
>   ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8
>
> Welcome to GNU CLISP 2.44.1 (2008-02-23) <http://clisp.cons.org/>
>
> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
> Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
> Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
> Copyright (c) Bruno Haible, Sam Steingold 1999-2000
> Copyright (c) Sam Steingold, Bruno Haible 2001-2008
>
> Type :h and hit Enter for context help.
>
> *** - LOAD: A file with name CLX does not exist
> Bye.
>
> :-(.
>
CLX is a module on clisp, if you want to use it, you have to use a
full clisp image :

./clisp -K full

check for the *features* variable to see if you have the CLX module:

$ clisp -K full
[1]> *features*
(:CLX-MIT-R5 :CLX-MIT-R4 :XLIB :CLX :CLX-LITTLE-ENDIAN :READLINE :REGEXP :SYSCALLS :I18N :LOOP :COMPILER :CLOS :MOP :CLISP :ANSI-CL :COMMON-LISP :LISP=CL
 :INTERPRETER :SOCKETS :GENERIC-STREAMS :LOGICAL-PATHNAMES :SCREEN :FFI :GETTEXT :UNICODE :BASE-CHAR=CHARACTER :PC386 :UNIX)
[2]> 

And the load the clfswm load.lisp file.

Philippe

-- 
Philippe Brochard    <pbrochard at common-lisp.net>
                      http://hocwp.free.fr




More information about the clfswm-devel mailing list