I have a trouble when i try to install closure-html.
I do:
* (require :asdf-install)
("ASDF-INSTALL") * (asdf-install:install :closure-html) Install where? 1) System-wide install: System in /usr/lib/sbcl/site-systems/ Files in /usr/lib/sbcl/site/ 2) Personal installation: System in /root/.sbcl/systems/ Files in /root/.sbcl/site/ --> 1 Downloading 128788 bytes from http://common-lisp.net/project/closure/download/closure-html.tar.gz ... Installing /root/CLOSURE-HTML.asdf-install-tmp in /usr/lib/sbcl/site/,/usr/lib/sbcl/site-systems/
................
; % list <- 'UL | OL | DIR | MENU' ;; % preformatted <- 'PRE' ;; % Color <- 'CDATA' ;; % bodycolors <- ' bgcolor %Color; #IMPLIED -- document backgrou [...]' ;; % HTMLlat1 <- '<!-- Portions (C) International Organization for Standardiza [...]'
and slime write error-message in buffer *sldb sbcl/1*
The value 38 is not of type CHARACTER. [Condition of type TYPE-ERROR]
Restarts: 0: [TRY-RECOMPILING] Recompile "html-parser" and try loading it again 1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {1004098731}> on #<CLOSURE-SYSTEM::CLOSURE-SOURCE-FILE "html-parser" {10038AEFE1}>. 2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {1004098731}> on #<CLOSURE-SYSTEM::CLOSURE-SOURCE-FILE "html-parser" {10038AEFE1}> as having been successful. 3: [RETRY] Retry installation 4: [ABORT] Exit debugger, returning to top level.
Backtrace: 0: (RUNE= 38 #&) 1: (SB-KERNEL:%FIND-POSITION 38 " " NIL 0 6 #<FUNCTION IDENTITY> #<FUNCTION RUNE= {1004691CD9}>) 2: (POSITION 38 " ")[:EXTERNAL] 3: (SGML::RESOLVE-ENTITIES-IN-STRING " " NIL 0 6 NIL) 4: (SGML::PROCESS-DTD-DEF #<SGML::DTD (:PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN")> (SGML::DEF-ENTITY "nbsp" " ")) 5: ((LABELS LALR::REDUCE-CAT) SGML::STATE-6 SGML::<ONE-DEF> 1 #<FUNCTION (LAMBDA #) {10044D5539}>) 6: (SGML::DTD-PARSER #<CLOSURE (LABELS SGML::NEXT-INPUT) {1002D94BC9}> #<CLOSURE (LABELS PARSE-ERROR) {1002D94BE9}>) 7: (PARSE-DTD (:PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN") :HTML) 8: (SB-FASL::FOP-FUNCALL)
.....
If I choose "Accept" then sbcl throw next error
erred while invoking #<COMPILE-OP NIL {10038B7191}> on #<CLOSURE-SOURCE-FILE "unparse" {10038B0021}> [Condition of type ASDF:COMPILE-ERROR]
Restarts: 0: [TRY-RECOMPILING] Try recompiling "unparse" 1: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {10038B7191}> on #<CLOSURE-SYSTEM::CLOSURE-SOURCE-FILE "unparse" {10038B0021}>. 2: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {10038B7191}> on #<CLOSURE-SYSTEM::CLOSURE-SOURCE-FILE "unparse" {10038B0021}> as having been successful. 3: [RETRY] Retry installation 4: [ABORT] Exit debugger, returning to top level.
How to compile closure-html without any errors?
My system is sbcl 1.0.23 slime 20090106 (from cvs) and linux distribution --- pacman x86_64
Hi,
Quoting ???????????? n/a (ugoday@gmail.com):
I have a trouble when i try to install closure-html. The value 38 is not of type CHARACTER. [Condition of type TYPE-ERROR]
perhaps you compiled closure-common using a configuration without unicode earlier, and now with unicode (or vice versa)?
Try cleaning fasls for all of cxml, closure-common, closure-html and add-on libraries, for example using find . -name *.fasl -print0 | xargs -0 rm
d.