[flexi-streams-devel] Flexi Streams fails to compile and install onMacPorts ECL
Xu Jingtao
jingtaozf at gmail.com
Wed Mar 2 01:40:23 UTC 2011
I redefined the type char-code-integer in mapping.lisp under cmucl.
this idea is from here: http://comments.gmane.org/gmane.lisp.cmucl.general/6316
=============================================================================
(deftype char-code-integer ()
"The subtype of integers which can be returned by the function CHAR-CODE."
#-:cmu '(integer 0 #.(1- char-code-limit))
#+:cmu '(integer 0 65533))
=============================================================================
Maybe you could try to redefine it under ecl.
> Specs:
>
> flexi-streams 1.0.7
> Quicklisp 2010121400
> ECL 11.1.1
> MacPorts 1.9.2
> Mac OS X 10.6.6
> MacBook Pro 5,1
>
> Trace:
>
> > (load "quicklisp")
> > (ql:quickload "flexi-streams")
>
> ...
>
> ;;; Invoking external command:
> ;;; /usr/bin/gcc-4.2 -o /Users/andrew/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/
> andrew/quicklisp/dists/quicklisp/software/flexi-streams-1.0.7/mapping.fas -L/Users/andrew
> /macports/lib/ /private/var/folders/N-/N-IxaaKuFae5ik1WKxV6wE+++TI/-Tmp-/eclinit87rR0W.o
> /Users/andrew/.cache/common-lisp/ecl-11.1.1-macosx-x86/Users/andrew/quicklisp/dists/
> quicklisp/software/flexi-streams-1.0.7/mapping.o -bundle -L/Users/andrew/macports/lib
> -arch x86_64 -L/Users/andrew/macports/lib -arch x86_64 -lecl -lm
> In function COERCE, the value of variable is
> 65533
> which is not of expected type (INTEGER -128 127)
>
> Available restarts:
>
> 1. (ABORT) ABORT
> 2. (TRY-RECOMPILING) Try recompiling ascii
> 3. (RETRY) Retry compiling component ("flexi-streams" "ascii").
> 4. (ACCEPT) Continue, treating compiling component ("flexi-streams" "ascii") as having
> been successful.
> 5. (ABORT) Give up on "hunchentoot"
> 6. (RESTART-TOPLEVEL) Go back to Top-Level REPL.
>
> Broken at SI:BYTECODES. [Evaluation of: (QUICKLISP-CLIENT:QUICKLOAD "hunchentoot")]
>
> Cheers,
> Andrew Pennebaker
>
More information about the Flexi-streams-devel
mailing list