[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Building StumpWM/CLisp on Ubuntu
From: |
Sébastien Vauban |
Subject: |
Re: [STUMP] Building StumpWM/CLisp on Ubuntu |
Date: |
Wed, 28 Oct 2009 16:04:26 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Hi all,
>> Looks like you've made some progress.
>
> Thanks for trying to help me with this problem as well...
After a couple of weeks where I could not spend any minutes on this (and thus
was regressed to using Gnome), I come back... Not willing to give up...
I have redone all the steps to build CLisp 2.48 and StumpWM on Ubuntu.
When typing stumpwm after every step is done (with no error, just warnings), I
still get the message:
>> *** - SYSTEM::%STRUCTURE-STORE: 49 is not a valid index into
>> #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R10600000) X11.0
>> #x21A5F3C6>
Trying to use REPL to debug this gives me the following session:
--8<---------------cut here---------------start------------->8---
address@hidden src/stumpwm>clisp -K full
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.48 (2009-07-28) <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-2009
Type :h and hit Enter for context help.
[1]> (load "asdf.lisp")
;; Loading file asdf.lisp ...
;; Loaded file asdf.lisp
T
[2]> (load "stumpwm.asd")
;; Loading file stumpwm.asd ...
;; Loaded file stumpwm.asd
T
[3]> (load "/usr/share/common-lisp/systems/cl-ppcre.asd")
;; Loading file /usr/share/common-lisp/systems/cl-ppcre.asd ...
;; Loaded file /usr/share/common-lisp/systems/cl-ppcre.asd
T
[4]> (asdf:operate 'asdf:load-op :stumpwm)
;; Loading file /usr/share/common-lisp/source/cl-ppcre/packages.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/packages.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/specials.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/specials.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/util.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/util.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/errors.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/errors.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/lexer.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/lexer.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/parser.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/parser.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/regex-class.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/regex-class.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/convert.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/convert.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/optimize.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/optimize.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/closures.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/closures.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/repetition-closures.fas
...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/repetition-closures.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/scanner.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/scanner.fas
;; Loading file /usr/share/common-lisp/source/cl-ppcre/api.fas ...
;; Loaded file /usr/share/common-lisp/source/cl-ppcre/api.fas
;; Loading file /home/sva/src/stumpwm/package.fas ...
;; Loaded file /home/sva/src/stumpwm/package.fas
;; Loading file /home/sva/src/stumpwm/primitives.fas ...
;; Loaded file /home/sva/src/stumpwm/primitives.fas
;; Loading file /home/sva/src/stumpwm/workarounds.fas ...
** - Continuable Error
DEFUN/DEFMACRO(GET-WM-CLASS): #<PACKAGE XLIB> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed
The following restarts are also available:
SKIP :R1 skip 5 91 (DEFUN GET-WM-CLASS (WINDOW) ...)-2
STOP :R2 stop loading file /home/sva/src/stumpwm/workarounds.fas
RETRY :R3 Retry performing #<ASDF:LOAD-OP NIL #x20771A8E> on
#<ASDF:CL-SOURCE-FILE "workarounds" #x2076F656>.
ACCEPT :R4 Continue, treating #<ASDF:LOAD-OP NIL #x20771A8E> on
#<ASDF:CL-SOURCE-FILE "workarounds" #x2076F656> as having been successful.
ABORT :R5 Abort main loop
Break 1 XLIB[5]> continue
WARNING: DEFUN/DEFMACRO: redefining function GET-WM-CLASS in
/home/sva/src/stumpwm/workarounds.fas, was defined in
/home/sva/src/clisp-2.48/src/clx/new-clx/clx.fas
** - Continuable Error
DEFUN/DEFMACRO(WITH-GCONTEXT): #<PACKAGE XLIB> is locked
If you continue (by typing 'continue'): Ignore the lock and proceed
The following restarts are also available:
SKIP :R1 skip 93 120 (WHEN (FBOUNDP '%GCONTEXT-KEY->MASK)
(DEFMACRO WITH-GCONTEXT # ...))-3
STOP :R2 stop loading file /home/sva/src/stumpwm/workarounds.fas
RETRY :R3 Retry performing #<ASDF:LOAD-OP NIL #x20771A8E> on
#<ASDF:CL-SOURCE-FILE "workarounds" #x2076F656>.
ACCEPT :R4 Continue, treating #<ASDF:LOAD-OP NIL #x20771A8E> on
#<ASDF:CL-SOURCE-FILE "workarounds" #x2076F656> as having been successful.
ABORT :R5 Abort main loop
Break 1 XLIB[6]> continue
WARNING: DEFUN/DEFMACRO: redefining macro WITH-GCONTEXT in
/home/sva/src/stumpwm/workarounds.fas, was defined in
/home/sva/src/clisp-2.48/src/clx/new-clx/clx.fas
;; Loaded file /home/sva/src/stumpwm/workarounds.fas
;; Loading file /home/sva/src/stumpwm/wrappers.fas ...
;; Loaded file /home/sva/src/stumpwm/wrappers.fas
;; Loading file /home/sva/src/stumpwm/keysyms.fas ...
;; Loaded file /home/sva/src/stumpwm/keysyms.fas
;; Loading file /home/sva/src/stumpwm/keytrans.fas ...
;; Loaded file /home/sva/src/stumpwm/keytrans.fas
;; Loading file /home/sva/src/stumpwm/kmap.fas ...
;; Loaded file /home/sva/src/stumpwm/kmap.fas
;; Loading file /home/sva/src/stumpwm/input.fas ...
;; Loaded file /home/sva/src/stumpwm/input.fas
;; Loading file /home/sva/src/stumpwm/core.fas ...
;; Loaded file /home/sva/src/stumpwm/core.fas
;; Loading file /home/sva/src/stumpwm/command.fas ...
;; Loaded file /home/sva/src/stumpwm/command.fas
;; Loading file /home/sva/src/stumpwm/menu.fas ...
;; Loaded file /home/sva/src/stumpwm/menu.fas
;; Loading file /home/sva/src/stumpwm/screen.fas ...
;; Loaded file /home/sva/src/stumpwm/screen.fas
;; Loading file /home/sva/src/stumpwm/head.fas ...
;; Loaded file /home/sva/src/stumpwm/head.fas
;; Loading file /home/sva/src/stumpwm/group.fas ...
;; Loaded file /home/sva/src/stumpwm/group.fas
;; Loading file /home/sva/src/stumpwm/window.fas ...
;; Loaded file /home/sva/src/stumpwm/window.fas
;; Loading file /home/sva/src/stumpwm/floating-group.fas ...
;; Loaded file /home/sva/src/stumpwm/floating-group.fas
;; Loading file /home/sva/src/stumpwm/tile-group.fas ...
;; Loaded file /home/sva/src/stumpwm/tile-group.fas
;; Loading file /home/sva/src/stumpwm/tile-window.fas ...
;; Loaded file /home/sva/src/stumpwm/tile-window.fas
;; Loading file /home/sva/src/stumpwm/window-placement.fas ...
;; Loaded file /home/sva/src/stumpwm/window-placement.fas
;; Loading file /home/sva/src/stumpwm/message-window.fas ...
;; Loaded file /home/sva/src/stumpwm/message-window.fas
;; Loading file /home/sva/src/stumpwm/selection.fas ...
;; Loaded file /home/sva/src/stumpwm/selection.fas
;; Loading file /home/sva/src/stumpwm/user.fas ...
;; Loaded file /home/sva/src/stumpwm/user.fas
;; Loading file /home/sva/src/stumpwm/iresize.fas ...
;; Loaded file /home/sva/src/stumpwm/iresize.fas
;; Loading file /home/sva/src/stumpwm/bindings.fas ...
;; Loaded file /home/sva/src/stumpwm/bindings.fas
;; Loading file /home/sva/src/stumpwm/events.fas ...
;; Loaded file /home/sva/src/stumpwm/events.fas
;; Loading file /home/sva/src/stumpwm/help.fas ...
;; Loaded file /home/sva/src/stumpwm/help.fas
;; Loading file /home/sva/src/stumpwm/fdump.fas ...
;; Loaded file /home/sva/src/stumpwm/fdump.fas
;; Loading file /home/sva/src/stumpwm/time.fas ...
;; Loaded file /home/sva/src/stumpwm/time.fas
;; Loading file /home/sva/src/stumpwm/mode-line.fas ...
;; Loaded file /home/sva/src/stumpwm/mode-line.fas
;; Loading file /home/sva/src/stumpwm/color.fas ...
;; Loaded file /home/sva/src/stumpwm/color.fas
;; Loading file /home/sva/src/stumpwm/module.fas ...
;; Loaded file /home/sva/src/stumpwm/module.fas
;; Loading file /home/sva/src/stumpwm/stumpwm.fas ...
;; Loaded file /home/sva/src/stumpwm/stumpwm.fas
;; Loading file /home/sva/src/stumpwm/version.fas ...
;; Loaded file /home/sva/src/stumpwm/version.fas
0 errors, 0 warnings
NIL
[7]> (stumpwm::stumpwm)
Another window manager is running.
0
[8]> (quit)
Bye.
--8<---------------cut here---------------end--------------->8---
I was happy to finally get "Another window manager is running." which kind of
indicates that it ran well.
Though, logging out and in into a proper StumpWM session crashes immediately.
Same errors as always.
Giving up CLisp.
Moving to SBCL.
--8<---------------cut here---------------start------------->8---
sudo aptitude install sbcl sbcl-doc cl-clx-sbcl cl-ppcre
--8<---------------cut here---------------end--------------->8---
Then, inside a `sudo sbcl':
--8<---------------cut here---------------start------------->8---
This is SBCL 1.0.18.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
* (require 'asdf)
NIL
* (require 'asdf-install)
; loading system definition from
; /usr/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM SB-BSD-SOCKETS {AAD6251}> as SB-BSD-SOCKETS
; registering #<SYSTEM SB-BSD-SOCKETS-TESTS {AC39759}> as SB-BSD-SOCKETS-TESTS
("SB-BSD-SOCKETS" "ASDF-INSTALL")
*
--8<---------------cut here---------------end--------------->8---
Weird about `asdf' not being properly loaded...
Went on with `(asdf-install:install 'clx)' and
`(asdf-install:install 'cl-ppcre)'. It loaded packages such as
`cl-ppcre-unicode' and `trivial-gray-streams'.
Compiled StumpWM with default options (after a ./configure); hence, using
SBCL?
Launching /usr/bin/stumpwm:
--8<---------------cut here---------------start------------->8---
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.48 (2009-07-28) <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-2009
Type :h and hit Enter for context help.
*** - READ from #<INPUT STRING-INPUT-STREAM>: there is no package with name
"ASDF"
Bye.
--8<---------------cut here---------------end--------------->8---
ASDF missing...
Installing `cl-asdf' via aptitude.
Nothing changed...
I'm puzzled.
Giving up SBCL.
Installing StumpWM from the Ubuntu package manager.
Launching it. Results:
>> *** - SYSTEM::%STRUCTURE-STORE: 49 is not a valid index into
>> #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R10600000) X11.0
>> #x21A5F3C6>
Back to square 1 (or 0, should I say?, as I'm still forced to use Gnome).
Any idea? Maybe reformating my HD and beginning with a fresh install of
Ubuntu 9.10 (tomorrow!)?
Best regards,
Seb
--
Sébastien Vauban
- Re: [STUMP] Building StumpWM/CLisp on Ubuntu,
Sébastien Vauban <=