[Ecls-list] gray-stream support

Geo Carncross geocar at gmail.com
Tue May 6 04:00:41 UTC 2008


On Mon, May 5, 2008 at 11:20 PM,  <David_Creelman at pa.com.au> wrote:
>  I was trying to get hunchentoot going on my laptop over the last few days.
>  I got as far as this issue too.
>
>  So, if I read this right, this will mean that hunchentoot will load with
>  ECL now?

No, just it's deps. Trivial-gray-streams needs a short patch, and
Hunchentoot still needs to be ported to ECL. Fortunately, the
hunchentoot-mp: requirements are all easy to satisfy, and ECL's
sockets support is (mostly?) compatible with SBCL, so it shouldn't
take long. The new swank backtrace should be usable as well.

> Have also played with asdf-install, but there are problems reloading after
> a compile. I might put these issues on the list.

Here's how I do it:

I used clbuild to build an sbcl-based copy of hunchentoot. Then I made
a run-hun.lisp that looks like this:

(require :cmp)
(require :asdf)
(require :sockets)

(setf asdf:*central-registry*
      (list '*default-pathname-defaults*
	    #p"/home/geocar/clbuild/systems/"))

(push :HUNCHENTOOT-NO-SSL  *features*)

(setf (fdefinition 'close) #'gray:close)
(setf (fdefinition 'stream-element-type) #'gray:stream-element-type)
(setf (fdefinition 'open-stream-p) #'gray:open-stream-p)

(asdf:oos 'asdf:load-op :hunchentoot)

Note, this doesn't work yet. It's simply how I go about poking at
this. You could play with just about any clbuild-supported package
easily without having to fight with asdf-install.




More information about the ecl-devel mailing list