[iolib-devel] compilation error

Stelian Ionescu sionescu at cddr.org
Thu Dec 24 21:04:02 UTC 2009


On Thu, 2009-12-24 at 14:41 -0600, Peter Keller wrote:
> On Thu, Dec 24, 2009 at 07:46:13PM +0100, Stelian Ionescu wrote:
> > sbcl 1.0.18 may be too old (17 months old ATM) so I'd advise you to try
> > with a more recent version.
> 
> Another poster mentioned to me to use clbuild to get a newer copy of
> sbcl and the various supported packages. I used it, installed ALL of
> the supported packages, and it worked *almost* out of the box.
> 
> Oddly, enough, it failed to compile iolib :), but this time I figured out why.
> 
> Basically, you have some 8-bit ascii in the documentation string for the
> method in iolib/src/sockets/base-sockets.lisp:
> 
> (defgeneric socket-option (socket option-name)
>   (:documentation "Returns the value(s) of OS option OPTION-NAME on SOCKET.
>   For a complete list of supported options see <C2><AB>iolib.sockets/socket-options.lisp<C2><BB>."))
> 

That's UTF-8 for #\« and #\». You can make SBCL user UTF-8 by default:
either use a UTF-8 locale or add
(setf sb-impl::*default-external-format* :utf-8) to your ~/.sbclrc

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/iolib-devel/attachments/20091224/535e7308/attachment.sig>


More information about the iolib-devel mailing list