Hi Magnus, Magnus Henoch wrote: > Sébastien Vauban <wxhgmqzgw...@spammotel.com> writes: > >> checking for X... (cached) no > > "Cached" sounds bad. Could you try removing the config.cache file?
I think your advise was a good one. Removing that file had the following effect: instead of... --8<---------------cut here---------------start------------->8--- checking for X... (cached) no configure: error: in `/home/sva/src/clisp-2.48/src/clx/new-clx': configure: error: cannot find X Window System See `config.log' for more details. make: *** [clx/new-clx] Error 1 --8<---------------cut here---------------end--------------->8--- ... this is what I got when `make'ing CLisp: --8<---------------cut here---------------start------------->8--- checking for X... (cached) libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking size of KeySym... 4 checking for XGetAtomNames... yes checking for Xpm library... yes checking for X shape extension... yes checking if XauGetAuthByAddr needs -lXau... no configure: ** NEW CLX (output) configure: updating cache ../../config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating link.sh config.status: creating config.h configure: ** NEW CLX (done) CLISP="/home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc" ; cd clx/new-clx ; make clisp-module CC="gcc" CPPFLAGS="-I/home/sva/src/clisp-2.48/tools/i686-pc-linux-gnu/include -I/home/sva/src/clisp-2.48/src/gllib" CFLAGS="-g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O2 -fexpensive-optimizations -falign-functions=4 -DUNICODE -DNO_TERMCAP_NCURSES -DDYNAMIC_FFI -I." CLFLAGS="" LIBS="-ldl /usr/local/lib/libavcall.a /usr/local/lib/libcallback.a -L/home/sva/src/clisp-2.48/tools/i686-pc-linux-gnu/lib -lsigsegv -lc" RANLIB="ranlib" CLISP="$CLISP -q" SHREXT=.so make[1]: Entering directory `/home/sva/src/clisp-2.48/src/clx/new-clx' /home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -i clx-preload.lisp -c clx.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.lisp ... ;; Wrote file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.fas The following functions were used but not defined: XLIB::%GCONTEXT-KEY->MASK XLIB::ATOM-NAME XLIB::INTERN-ATOM XLIB::LOOKUP-WINDOW XLIB::WINDOW-ID XLIB::SET-WM-HINTS XLIB::VISUAL-INFO XLIB::LOOKUP-RESOURCE-ID XLIB::DRAWABLE-ID XLIB::GCONTEXT-ID XLIB::CURSOR-ID XLIB::FONT-ID XLIB::LOOKUP-COLORMAP XLIB::WINDOW-DISPLAY XLIB::COLORMAP-ID XLIB::CARD8->CHAR XLIB::GET-PROPERTY XLIB::CHAR->CARD8 XLIB::CHANGE-PROPERTY XLIB::SCREEN-ROOT XLIB::DISPLAY-DEFAULT-SCREEN XLIB::LIST-PROPERTIES XLIB::ROTATE-PROPERTIES XLIB::COLORMAP-VISUAL-INFO XLIB::DISPLAY-DISPLAY XLIB::DISPLAY-HOST XLIB::DISPLAY-PROTOCOL-MAJOR-VERSION XLIB::DISPLAY-PROTOCOL-MINOR-VERSION XLIB::DISPLAY-RELEASE-NUMBER XLIB::DISPLAY-VENDOR-NAME XLIB::DRAWABLE-HEIGHT XLIB::DRAWABLE-WIDTH XLIB::DRAWABLE-X XLIB::DRAWABLE-Y XLIB::%UNTRACED-COLOR-RED XLIB::%UNTRACED-COLOR-GREEN XLIB::%UNTRACED-COLOR-BLUE XLIB::%UNTRACED-DISPLAY-DISPLAY XLIB::%UNTRACED-DISPLAY-VENDOR-NAME XLIB::%UNTRACED-DISPLAY-RELEASE-NUMBER XLIB::%UNTRACED-DISPLAY-PROTOCOL-MAJOR-VERSION XLIB::%UNTRACED-DISPLAY-PROTOCOL-MINOR-VERSION XLIB::%UNTRACED-COLORMAP-VISUAL-INFO XLIB::%UNTRACED-VISUAL-INFO-CLASS XLIB::CLOSED-DISPLAY-P XLIB::%UNTRACED-DRAWABLE-WIDTH XLIB::%UNTRACED-DRAWABLE-HEIGHT XLIB::%UNTRACED-DRAWABLE-X XLIB::%UNTRACED-DRAWABLE-Y XLIB::%UNTRACED-DISPLAY-HOST XLIB::OPEN-DISPLAY XLIB::SET-DISPLAY-DEFAULT-SCREEN XLIB::CREATE-IMAGE XLIB::MAKE-EVENT-MASK 0 errors, 0 warnings /home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -i clx-preload.lisp -c image.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /home/sva/src/clisp-2.48/src/clx/new-clx/image.lisp ... ;; Loading file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.lib ... ;; Loaded file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.lib ;; Wrote file /home/sva/src/clisp-2.48/src/clx/new-clx/image.fas The following functions were used but not defined: XLIB::CREATE-PIXMAP XLIB::CREATE-GCONTEXT XLIB::PUT-IMAGE XLIB::COPY-AREA XLIB::FREE-GCONTEXT 0 errors, 0 warnings /home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -i clx-preload.lisp -c resource.lisp ;; Loading file clx-preload.lisp ... ;; Loaded file clx-preload.lisp ;; Compiling file /home/sva/src/clisp-2.48/src/clx/new-clx/resource.lisp ... ;; Loading file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.lib ... ;; Loaded file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.lib ;; Wrote file /home/sva/src/clisp-2.48/src/clx/new-clx/resource.fas The following functions were used but not defined: XLIB::CARD8->CHAR XLIB::DISPLAY-DEFAULT-SCREEN XLIB::SCREEN-ROOT XLIB::DISPLAY-ROOTS XLIB::GET-PROPERTY 0 errors, 0 warnings ../../ccmp2c clx.f > genclx.c ./genclx -l -o clx.e > clx.e rm -f genclx.c rm -f genclx cp clx.e clx.d /home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -C $(/home/sva/src/clisp-2.48/src/clisp -K boot -B /home/sva/src/clisp-2.48/src -N /home/sva/src/clisp-2.48/src/locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -q -b)/linkkit/modprep clx.d clx.c ;; MODPREP: "clx.d" --> "clx.c" ;; MODPREP: reading "clx.d": 352,068 bytes, 8,773 lines WARNING: "clx.d":1830:XLIB:OPEN-DISPLAY: emulating signature (1 0 &ALLOW-OTHER-KEYS) WARNING: "clx.d":3599:XLIB:COPY-AREA: emulating signature (9 0) WARNING: "clx.d":3619:XLIB:COPY-PLANE: emulating signature (10 0) WARNING: "clx.d":3688:XLIB:DRAW-LINE: emulating signature (6 1) WARNING: "clx.d":3774:XLIB:DRAW-RECTANGLE: emulating signature (6 1) WARNING: "clx.d":3811:XLIB:DRAW-ARC: emulating signature (8 1) WARNING: "clx.d":4022:XLIB:DRAW-GLYPH: emulating signature (5 0 &KEY) WARNING: "clx.d":4029:XLIB:DRAW-GLYPHS: emulating signature (5 0 &KEY) WARNING: "clx.d":4035:XLIB:DRAW-IMAGE-GLYPH: emulating signature (5 0 &KEY) WARNING: "clx.d":4040:XLIB:DRAW-IMAGE-GLYPHS: emulating signature (5 0 &KEY) WARNING: "clx.d":5402:XLIB:CHANGE-PROPERTY: emulating signature (5 0 &KEY) WARNING: "clx.d":6151:XLIB:QUEUE-EVENT: emulating signature (2 0 &ALLOW-OTHER-KEYS) WARNING: "clx.d":6247:XLIB:SEND-EVENT: emulating signature (3 0 &ALLOW-OTHER-KEYS) WARNING: "clx.d":6393:XLIB:WARP-POINTER-IF-INSIDE: emulating signature (6 2) WARNING: "clx.d":6413:XLIB:WARP-POINTER-RELATIVE-IF-INSIDE: emulating signature (5 2) ;; MODPREP: 543 objects, 410 DEFUNs (15 emulated), 1 DEFVAR (1 init) ;; packages: ("XPM" "XLIB") MODPREP: wrote clx.c (577,624 bytes) make[1]: Leaving directory `/home/sva/src/clisp-2.48/src/clx/new-clx' rm -rf base CLISP_LINKKIT=. MAKE=make ./clisp-link add boot base i18n syscalls regexp || (rm -rf base ; exit 1) make[1]: Entering directory `/home/sva/src/clisp-2.48/src/i18n' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/sva/src/clisp-2.48/src/i18n' make[1]: Entering directory `/home/sva/src/clisp-2.48/src/syscalls' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/sva/src/clisp-2.48/src/syscalls' make[1]: Entering directory `/home/sva/src/clisp-2.48/src/regexp' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/sva/src/clisp-2.48/src/regexp' boot/lisp.run -B . -M boot/lispinit.mem -norc -q -i i18n/preload.lisp -i syscalls/preload.lisp -i regexp/preload.lisp -x (saveinitmem "base/lispinit.mem") ;; Loading file i18n/preload.lisp ... ;; Loaded file i18n/preload.lisp ;; Loading file syscalls/preload.lisp ... ;; Loaded file syscalls/preload.lisp ;; Loading file regexp/preload.lisp ... ;; Loaded file regexp/preload.lisp ;; Wrote the memory image into base/lispinit.mem (1,942,240 bytes) Bytes permanently allocated: 89,056 Bytes currently in use: 1,852,256 Bytes available until next GC: 522,128 1852256 ; 522128 ; 89056 ; 1 ; 127272 ; 32002 base/lisp.run -B . -M base/lispinit.mem -norc -q -i i18n/i18n -i syscalls/posix -i regexp/regexp -x (saveinitmem "base/lispinit.mem") ;; Loading file /home/sva/src/clisp-2.48/src/i18n/i18n.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/i18n/i18n.fas ;; Loading file /home/sva/src/clisp-2.48/src/syscalls/posix.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/syscalls/posix.fas ;; Loading file /home/sva/src/clisp-2.48/src/regexp/regexp.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/regexp/regexp.fas ;; Wrote the memory image into base/lispinit.mem (2,131,496 bytes) Bytes permanently allocated: 92,512 Bytes currently in use: 2,035,616 Bytes available until next GC: 522,128 2035616 ; 522128 ; 92512 ; 2 ; 438512 ; 52003 rm -rf full CLISP_LINKKIT=. MAKE=make ./clisp-link add base full clx/new-clx || (rm -rf full ; exit 1) make[1]: Entering directory `/home/sva/src/clisp-2.48/src/clx/new-clx' make[1]: Nothing to be done for `clisp-module'. make[1]: Leaving directory `/home/sva/src/clisp-2.48/src/clx/new-clx' base/lisp.run -B . -M base/lispinit.mem -norc -q -i clx/new-clx/clx-preload.lisp -x (saveinitmem "full/lispinit.mem") ;; Loading file clx/new-clx/clx-preload.lisp ... ;; Loaded file clx/new-clx/clx-preload.lisp ;; Wrote the memory image into full/lispinit.mem (2,131,744 bytes) Bytes permanently allocated: 92,512 Bytes currently in use: 2,035,864 Bytes available until next GC: 522,128 2035864 ; 522128 ; 92512 ; 1 ; 58168 ; 20001 full/lisp.run -B . -M full/lispinit.mem -norc -q -i clx/new-clx/clx -i clx/new-clx/image -i clx/new-clx/resource -x (saveinitmem "full/lispinit.mem") ;; Loading file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/clx/new-clx/clx.fas ;; Loading file /home/sva/src/clisp-2.48/src/clx/new-clx/image.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/clx/new-clx/image.fas ;; Loading file /home/sva/src/clisp-2.48/src/clx/new-clx/resource.fas ... ;; Loaded file /home/sva/src/clisp-2.48/src/clx/new-clx/resource.fas ;; Wrote the memory image into full/lispinit.mem (2,540,940 bytes) Bytes permanently allocated: 105,568 Bytes currently in use: 2,429,824 Bytes available until next GC: 604,756 2429824 ; 604756 ; 105568 ; 4 ; 1505648 ; 40001 --8<---------------cut here---------------end--------------->8--- Sounds better. Good enough? We'll see... >From the `~/src/clisp-2.48/src', I then execute the following commands for finishing the installation of CLisp (located at `/usr/local/bin/clisp'): --8<---------------cut here---------------start------------->8--- make check sudo make install cd ../.. --8<---------------cut here---------------end--------------->8--- Then, installing StumpWM... --8<---------------cut here---------------start------------->8--- git clone git://git.savannah.nongnu.org/stumpwm.git cd stumpwm autoconf ./configure --with-lisp=clisp --with-ppcre=/usr/share/common-lisp/source/cl-ppcre sudo make sudo install /home/sva/src/stumpwm/stumpwm /usr/local/bin/ sudo cp /home/sva/src/stumpwm/contrib/stumpish /usr/local/bin/ --8<---------------cut here---------------end--------------->8--- But login out of Gnome and login into StumpWM does not work. StumpWM crashes and the login manager notices that the session did not even last for 10 seconds... More info is available in `~/.xsession-errors' it says. Here it is: --8<---------------cut here---------------start------------->8--- /etc/gdm/Xsession: Beginning session setup... Setting IM through im-switch for locale=en_US. Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. I: caps.c: Dropping root privileges. I: caps.c: Limited capabilities successfully to CAP_SYS_NICE. N: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary privileges: N: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits. N: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user. (gnome-settings-daemon:17975): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed (gnome-settings-daemon:17975): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed GNOME_KEYRING_SOCKET=/tmp/keyring-Tw8iMe/socket SSH_AUTH_SOCK=/tmp/keyring-Tw8iMe/socket.ssh Checking for Xgl: not present. xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log Detected PCI ID for VGA: Checking for texture_from_pixmap: present. Checking for non power of two support: present. Checking for Composite extension: present. Checking screen 1Comparing resolution (1280x800) to maximum 3D texture size (4096): Passed. Checking for Software Rasterizer: Not present. Checking for nVidia: present. Checking for FBConfig: present. running under gnome seesion, checking for gnomecompat Checking for Xgl: not present. /usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format ** (gnome-panel:18046): DEBUG: Adding applet 0. ** (gnome-panel:18046): DEBUG: Initialized Panel Applet Signaler. ** (gnome-panel:18046): DEBUG: Adding applet 1. ** (gnome-panel:18046): DEBUG: Adding applet 2. ** (gnome-panel:18046): DEBUG: Adding applet 3. ** (gnome-panel:18046): DEBUG: Adding applet 4. ** (gnome-panel:18046): DEBUG: Adding applet 5. ** (gnome-panel:18046): DEBUG: Adding applet 6. ** (gnome-panel:18046): DEBUG: Adding applet 7. ** (gnome-panel:18046): DEBUG: Adding applet 8. ** (gnome-panel:18046): DEBUG: Adding applet 9. ** (gnome-panel:18046): DEBUG: Adding applet 10. ** (gnome-panel:18046): DEBUG: Adding applet 11. ** (gnome-panel:18046): DEBUG: Adding applet 12. ** (gnome-panel:18046): DEBUG: Adding applet 13. ** (nautilus:18047): WARNING **: Unable to add monitor: Not supported Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory Please ask your system administrator to enable user sharing. I/O warning : failed to load external entity "/home/sva/.compiz/session/102e3db2aeecc13b63125257775361094900000178150022" Starting gtk-window-decorator (gnome-panel:18046): Gdk-WARNING **: /build/buildd/gtk+2.0-2.16.1/gdk/x11/gdkdrawable-x11.c:878 drawable is not a pixmap or window (gnome-panel:18046): libglade-WARNING **: Unexpected element <requires-version> inside <glade-interface>. ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: old state indicates that this was not a disconnect 0 ** (gnome-panel:18046): DEBUG: Adding applet 14. ** (gnome-panel:18046): DEBUG: Adding applet 15. (gnome-panel:18046): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -5 and height 24 (bluetooth-applet:18070): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed evolution-alarm-notify-Message: Setting timeout for 49415 1252627200 1252577785 evolution-alarm-notify-Message: Fri Sep 11 02:00:00 2009 evolution-alarm-notify-Message: Thu Sep 10 12:16:25 2009 ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (update-notifier:18071): DEBUG: /usr/lib/update-notifier/apt-check returned 3 (security: 0) ** (update-notifier:18071): DEBUG: crashreport_check ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): WARNING **: _nm_object_get_property: Error getting 'Default' for /org/freedesktop/NetworkManager/ActiveConnection/7: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: going for offline with icon: notification-network-wireless-disconnected ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** Message: <info> New secrets for Auto MisCrit-11-1/802-11-wireless-security requested; ask the user ** (nm-applet:18072): WARNING **: applet-device-wifi.c.1539 (get_secrets_dialog_response_cb): canceled ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: applet_common_device_state_changed ** (nm-applet:18072): DEBUG: old state indicates that this was not a disconnect 9 ** (nm-applet:18072): DEBUG: going for offline with icon: notification-network-wireless-disconnected ** (update-notifier:18071): DEBUG: /usr/lib/update-notifier/apt-check returned 3 (security: 0) Xlib: extension "XFree86-Misc" missing on display ":0.0". Xlib: extension "XFree86-Misc" missing on display ":0.0". Xlib: extension "XFree86-Misc" missing on display ":0.0". database table: ubiquity_suggestion_memory already exists --8<---------------cut here---------------end--------------->8--- For sure, typing `stumpwm' in a terminal does not work either: --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. *** - SYSTEM::%STRUCTURE-STORE: 49 is not a valid index into #<XLIB:DISPLAY localhost:0 (The X.Org Foundation R10600000) X11.0 #x21A5F3C6> Bye. --8<---------------cut here---------------end--------------->8--- Anybody can help? I'm sure I'm not so far from the ultimate goal... Best regards, Seb -- Sébastien Vauban _______________________________________________ Stumpwm-devel mailing list Stumpwm-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/stumpwm-devel