Yes,
You need to create customize-target-features.lisp in the source code directory with
 (lambda (features)
      (flet ((enable (x)
               (pushnew x features))
             (disable (x)
               (setf features (remove x features))))
        ;; Threading support, available only on x86/x86-64 Linux, x86 Solaris
        ;; and x86 Mac OS X (experimental).
        (enable :sb-thread)))

I rebuilt SBCL 1.0.18 and hunchentoot svn version and version 0.15.7  work fine.

Thanks,

andy


On Tue, Jul 8, 2008 at 12:43 PM, Cyrus Harmon <ch-tbnl@bobobeach.com> wrote:

There isn't an SBCL problem, you just need to enable threads when you build SBCL. See Christophe Rhode's recent message to sbcl-devel:

You need to create a file called customize-target-features.lisp in the
sbcl source directory, containing something like
 (lambda (list) (list* :sb-thread list))
(see section 2.2 of the INSTALL file)

Cyrus

On Jul 8, 2008, at 8:46 AM, Andrew Peterson wrote:

Hans,

This appears to be the case with SBCL 1.0.18 and SBCL 1.0.17.
In both cases :sb-thread is not in *features* and if I (pushnew :sb-thread *features)
(defvar *server* (hunchentoot:start-server :port 8080))
now returns the error: Not supported in unithread builds.

I built  1.0.18 with the instructions on SBCL site (sh make.sh).
So it is built with whatever default configuration is within the make files.

I will advise SBCL of the problem and try to figure out how to build with threads.

Thanks for being so responsive,

andy

On Tue, Jul 8, 2008 at 10:16 AM, Hans Hübner <hans@huebner.org> wrote:
Andy,

did you build SBCL 1.0.18 with threads?  From what you write I would
guess that you are using a non-threaded Lisp.  START-SERVER does not
return in this case, as all request processing is done in the
foreground.  The SBCL 1.0.17 binary that you downloaded should be
threaded, though.

-Hans

2008/7/8 Andrew Peterson <andy.arvid@gmail.com>:
> Hans,
>
> The Hunchentoot development version compiles fine in SBCL 1.0.18 (Linux 64
> bits) using all libraries in the ediware tree.
> SBCL 1.0.18 was compiled from the source using SBCL 1.0.12.
>
> I do this by removing all *.fasl in the libraries. then enter
> (require :hunchentoot)
> But
> (defvar *server* (hunchentoot:start-server :port 8080))
> does not return. It hangs REPL. But it is running.
> http://localhost:8080/ returns the default hunchentoot page.
>
> The same holds true for SBCL 1.0.17 (binary download).
>
> But SBCL 1.0.12 compiles and runs right, start-server does return and my
> code runs fine.
>
> Thanks
>
> Andy
>
> On Tue, Jul 8, 2008 at 12:54 AM, Hans Hübner <hans@huebner.org> wrote:
>>
>> Andrew,
>>
>> could you check whether you have the same problem when you're using
>> the Hunchentoot development version?  It is currently only available
>> through Subversion by checking out http://bknr.net/svn/ediware - If
>> that does not work, too, please send a complete error message of the
>> compilation.
>>
>> Thanks,
>> Hans
>>
>> 2008/7/8 Andrew Peterson <andy.arvid@gmail.com>:
>> > Today, I upgraded to SBCL 1.0.18 and Hunchentoot 0.15.7 from SBCL 1.0.12
>> > and
>> > Hunchentoot 0.15.2.
>> >
>> > Unfortunately, when SBCL compiles I got this error:
>> > erred while invoking #<COMPILE-OP NIL {1002F3BE11}> on
>> > #<CL-SOURCE-FILE "port-sbcl" {10031BF5B1}>
>> >    [Condition of type ASDF:COMPILE-FAILED]
>> >
>> > I also got this error when I returned to  Hunchentoot 0.15.2.
>> >
>> > I returned to SBCL 1.0.12 and Hunchentoot works in both versions (0.15.2
>> > and
>> > 0.15.7)
>> >
>> > andy peterson.
>> >
>> >
>> >
>> > _______________________________________________
>> > tbnl-devel site list
>> > tbnl-devel@common-lisp.net
>> > http://common-lisp.net/mailman/listinfo/tbnl-devel
>> >
>> _______________________________________________
>> tbnl-devel site list
>> tbnl-devel@common-lisp.net
>> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
>
>
> --
> My Exercise Logs:
> http://andyarvid.infogami.com
> http://decenturl.com/spreadsheets.google/andys-exercise-log
> _______________________________________________
> tbnl-devel site list
> tbnl-devel@common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel



--
My Exercise Logs:
http://andyarvid.infogami.com
http://decenturl.com/spreadsheets.google/andys-exercise-log _______________________________________________


_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel