sharplispers / clx

a fork of crhodes' fork of danb's fork of the CLX library, an X11 client for Common Lisp
Other
116 stars 46 forks source link

CLX on sbcl #162

Open bpecsek opened 4 years ago

bpecsek commented 4 years ago

I use sbcl 2.0.0 on cygwin64 on WIN10 and when I try to load clx with quickload I get the following error during the compilation process.

$ sbcl This is SBCL 2.0.0, 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.

WARNING: the Windows port is fragile, particularly for multithreaded code. Unfortunately, the development team currently lacks the time and resources this platform demands.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name): 0: [RETRY ] Retry compiling #<CLX-SOURCE-FILE "clx" "input">.

1: [ACCEPT ] Continue, treating compiling #<CLX-SOURCE-FILE "clx" "input"> as having been successful. 2: Retry ASDF operation. 3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
configuration. 4: Retry ASDF operation. 5: Retry ASDF operation after resetting the
configuration. 6: [ABORT ] Give up on "clx" 7: Exit debugger, returning to top level.

(UIOP/LISP-BUILD:CHECK-LISP-COMPILE-RESULTS NIL T T "~/asdf-action::format-actio n/" ((#<ASDF/LISP-ACTION:COMPILE-OP > . #<CLX-SYSTEM::CLX-SOURCE-FILE "clx" "inp ut">))) error finding frame source: Bogus form-number: the source file has probably
changed too much to cope with. source: NIL 0]

bpecsek commented 4 years ago

Hi there,

I have also tried to quickload :clx without downloading it into ~/quicklisp/local-projects/. It installes but then when I try to install the demo I get the following.

$ sbcl This is SBCL 2.0.0, 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.

WARNING: the Windows port is fragile, particularly for multithreaded code. Unfortunately, the development team currently lacks the time and resources this platform demands.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name): 0: [CONTINUE ] Retry calling XLIB::GET-DEFAULT-DISPLAY. 1: [USE-VALUE ] Call specified function. 2: [RETURN-VALUE ] Return specified values. 3: [RETURN-NOTHING ] Return zero values. 4: [TRY-RECOMPILING ] Recompile clclock and try loading it again 5: [RETRY ] Retry loading FASL for #<CL-SOURCE-FILE "clx/demo " "demo" "clclock">. 6: [ACCEPT ] Continue, treating loading FASL for #<CL-SOURCE-FILE "clx/demo " "demo" "clclock"> as having been successful. 7: Retry ASDF operation. 8: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration. 9: Retry ASDF operation. 10: Retry ASDF operation after resetting the configuration. 11: [ABORT ] Give up on "clx/demo" 12: Exit debugger, returning to top level.

("undefined function" NIL) 0]

dkochmanski commented 4 years ago

Function "get-default-display" is implemented only for unix (see dependent.lisp). on windows you are expected to use open-display. that said, cygwin should be accounted for as some kind of a unix. One way to circumvent that could be passing :unix to *features* before loading the server. open-display should work as expected.