[mcclim-devel] more clisp/win32 issues
Here are a few more issues I've encountered trying to load McCLIM on CLISP / Win32. There are two places in the .asd file where the :file component :name value is given as a two-part path expression. CLISP complains: MAKE-PATHNAME: illegal :NAME argument "Goatee/presentation-history" [Condition of type SIMPLE-ERROR] and MAKE-PATHNAME: illegal :NAME argument "Looks/pixie" [Condition of type SIMPLE-ERROR] Goatee/goatee-command.lisp fails to compile specifically on CLISP / Win32 because #\Delete is not defined (but it is for CLISP on Unix). The same character value can be obtained with #\Rubout. More info here: http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html I suppose the next problem is better reported on the flexichain mailing list, but while I've got your attention...flexichain/utilities.lisp has an EVAL-WHEN form that uses :evaluate which is not supported on CLISP: ;; Compiling file C:\projects\third_party\asdf-repo\flexichain\utilities.lisp ... ERROR in lines 66..93 : EVAL-WHEN situation must be :LOAD-TOPLEVEL, :COMPILE-TOPLEVEL or :EXECUTE, but not :EVALUATE The reason why I'm bothering you all with these issues, rather than just using SBCL, is that the combination of SBCL, Slime, and Graphic-Forms is not working due to an as yet unresolved issue with window creation. If you're subscribed to either slime-devel or sbcl-devel then you've seen the problem report. Interestingly, I see the same problem with gtkairo. But CLISP works great for me, so I thought it would be worth some time looking into this stuff. -- Jack Unrue
"Jack Unrue" <jdunrue@gmail.com> writes:
MAKE-PATHNAME: illegal :NAME argument "Goatee/presentation-history" [Condition of type SIMPLE-ERROR]
and
MAKE-PATHNAME: illegal :NAME argument "Looks/pixie" [Condition of type SIMPLE-ERROR]
I thought these bugs had been fixed in the most recent ASDF? Perhaps CLISP is shipping an older version?
Goatee/goatee-command.lisp fails to compile specifically on CLISP / Win32 because #\Delete is not defined (but it is for CLISP on Unix). The same character value can be obtained with #\Rubout. More info here:
http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html
Would adding something like "#+win32 #\Rubout #-win32 #\Delete" work? I'm not very familiar with Windows-Lisps.
I suppose the next problem is better reported on the flexichain mailing list, but while I've got your attention...flexichain/utilities.lisp has an EVAL-WHEN form that uses :evaluate which is not supported on CLISP:
This bug existed for quite a while, but it has actually been fixed in Flexichain CVS. I think Flexichain should make a "proper" release soon - after all, it's stable and does what it's supposed to do. McCLIM should not rely on unreleased components.
The reason why I'm bothering you all with these issues, rather than just using SBCL...
McCLIM is supposed to be portable, so reporting these issues here is alright. And it's not like mcclim-devel is overcrowded with activity anyway. -- \ Troels "Athas" /\ Henriksen
Troels Henriksen <athas@sigkill.dk> writes:
Goatee/goatee-command.lisp fails to compile specifically on CLISP / Win32 because #\Delete is not defined (but it is for CLISP on Unix). The same character value can be obtained with #\Rubout. More info here:
http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html
Would adding something like "#+win32 #\Rubout #-win32 #\Delete" work? I'm not very familiar with Windows-Lisps.
Andy Hefner seems to have fixed this now. Thanks! -- \ Troels "Athas" /\ Henriksen
On 11/21/06, Troels Henriksen <athas@sigkill.dk> wrote:
Troels Henriksen <athas@sigkill.dk> writes:
Goatee/goatee-command.lisp fails to compile specifically on CLISP / Win32 because #\Delete is not defined (but it is for CLISP on Unix). The same character value can be obtained with #\Rubout. More info here:
http://www.podval.org/~sds/clisp/impnotes/char-platform-dep.html
Would adding something like "#+win32 #\Rubout #-win32 #\Delete" work? I'm not very familiar with Windows-Lisps.
Andy Hefner seems to have fixed this now. Thanks!
Almost :-) Index: goatee-command.lisp =================================================================== RCS file: /project/mcclim/cvsroot/mcclim/Goatee/goatee-command.lisp,v retrieving revision 1.23 diff -r1.23 goatee-command.lisp 336c336 < (add-gesture-command-to-table '(#\delete :meta) ---
(add-gesture-command-to-table '(#\rubout :meta) 339c339 < (add-gesture-command-to-table '(#\delete :control)
(add-gesture-command-to-table '(#\rubout :control)
-- Jack Unrue
Oops! On 11/21/06, Jack Unrue <jdunrue@gmail.com> wrote:
On 11/21/06, Troels Henriksen <athas@sigkill.dk> wrote:
Andy Hefner seems to have fixed this now. Thanks!
Almost :-)
Index: goatee-command.lisp =================================================================== RCS file: /project/mcclim/cvsroot/mcclim/Goatee/goatee-command.lisp,v retrieving revision 1.23 diff -r1.23 goatee-command.lisp 336c336 < (add-gesture-command-to-table '(#\delete :meta) ---
(add-gesture-command-to-table '(#\rubout :meta) 339c339 < (add-gesture-command-to-table '(#\delete :control)
(add-gesture-command-to-table '(#\rubout :control)
-- Jack Unrue _______________________________________________ mcclim-devel mailing list mcclim-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/mcclim-devel
On 11/21/06, Troels Henriksen <athas@sigkill.dk> wrote:
I thought these bugs had been fixed in the most recent ASDF? Perhaps CLISP is shipping an older version?
Ah! I was woefully out-of-date, still using revision 1.86. CLISP does not bundle ASDF.
I suppose the next problem is better reported on the flexichain mailing list, but while I've got your attention...flexichain/utilities.lisp has an EVAL-WHEN form that uses :evaluate which is not supported on CLISP:
This bug existed for quite a while, but it has actually been fixed in Flexichain CVS. I think Flexichain should make a "proper" release soon - after all, it's stable and does what it's supposed to do. McCLIM should not rely on unreleased components.
Thanks, I'll grab the latest and give that a try. -- Jack Unrue
participants (3)
-
Andy Hefner
-
Jack Unrue
-
Troels Henriksen