[Openmcl-devel] open-display in clx does not work with ccl, works in sbcl
Renzo Orsini
renzo.orsini at gmail.com
Wed Aug 2 02:26:57 PDT 2017
Hello, I have a problem starting clx from ccl.
Context: Mac OS X 10.12.6, XQuartz 2.7.11 (xorg-server 1.18.4) (last version), already opened when commands are issued, ccl Version 1.11-r16812 (DarwinX8664)
This is what happen in sbcl
(ql:quickload "clx")
To load "clx":
Load 1 ASDF system:
clx
; Loading "clx"
("clx")
* (xlib:open-display "")
#<XLIB:DISPLAY :0 (The X.Org Foundation R11804000)>
* (xlib:open-display "127.0.0.1")
#<XLIB:DISPLAY 127.0.0.1:0 (The X.Org Foundation R11804000)>
*
while this is the result with the same commands in ccl repl (both in terminal as well as in XTerm inside XQuartz)
? (ql:quickload "clx")
To load "clx":
Load 1 ASDF system:
clx
; Loading "clx"
("clx")
? (xlib:open-display "")
^C> Break: interrupt signal
> While executing: CCL::FD-INPUT-AVAILABLE-P, in process listener(1).
> Type :GO to continue, :POP to abort, :R for a list of available restarts.
> If continued: Return from BREAK.
> Type :? for other options.
1 > ^D
? (xlib:open-display "127.0.0.1")
> Error: Connection failure to X2816.0 server 127.0.0.1 display 0: Protocol version mismatch
> While executing: XLIB::X-ERROR, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1 >
The first time, with “” as host, it hangs until a control-c, in the second time it gives a “Protocol version mismatch”.
I have fully rebuild ccl on my machine.
Thanks very much for your help!
Renzo Orsini
More information about the Openmcl-devel
mailing list