From: Colin Benson
Subject: LispCast, hunchentoot, SBCL, OS X.
Date: 
Message-ID: <1193931012.917568.147890@v3g2000hsg.googlegroups.com>
I want to follow along with Eric Normand's LispCast 1
(www.lispcast.com). I can
get hunchentoot to start and display its default page but no
further. I've tried downloading the complete source file from the
website but to no effect. I still get the default web page. I wonder
if this is to do with an error I saw while installing hunchentoot...


on OS X (10.4.10) with SBCL (1.0.10) and Slime in the Carbon port of
Emacs 22.1.1. At this point I'm such a Lisp, ASDF, ASDF-Install,
Hunchentoot and Slime beginner than I probably don't even qualify for
"dumb". Therefore your patience is appreciated.

I fire up Emacs, M-x slime, then

(require 'asdf)
(require 'asdf-install)
(asdf-install:install 'hunchentoot)

Things progress for a few moments, then I get the errors shown
below. What have I done wrong?

Thanks

c

erred while invoking #<COMPILE-OP NIL {1462E979}> on
#<CL-SOURCE-FILE "port-sbcl" {120B8BA1}>
   [Condition of type ASDF:COMPILE-FAILED]

Restarts:
  0: [RETRY] Retry performing #<ASDF:COMPILE-OP NIL {1462E979}> on
#<ASDF:CL-SOURCE-FILE "port-sbcl" {120B8BA1}>.
  1: [ACCEPT] Continue, treating #<ASDF:COMPILE-OP NIL {1462E979}> on
#<ASDF:CL-SOURCE-FILE "port-sbcl" {120B8BA1}> as having been
successful.
  2: [RETRY] Retry installation
  3: [ABORT-REQUEST] Abort handling SLIME request.
  4: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:COMPILE-OP ASDF:CL-
SOURCE-FILE)) #<unavailable argument> #<unavailable argument>
#<ASDF:COMPILE-OP NIL {1462E979}> #<ASDF:CL-SOURCE-FILE "port-
sbcl" {120B8BA1}>)
  1: ((LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0.
SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument>
#<ASDF:COMPILE-OP NIL {1462E979}> #<ASDF:CL-SOURCE-FILE "port-
sbcl" {120B8BA1}>)
  2: ((LAMBDA NIL))
  3: ((FLET SB-THREAD::WITH-RECURSIVE-LOCK-THUNK))
  4: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL) {11F2DDB5}>)
  5: (ASDF:OPERATE ASDF:LOAD-OP "hunchentoot-test")
  6: ((LABELS ASDF-INSTALL::ONE-ITER) (HUNCHENTOOT))
  7: (ASDF-INSTALL:INSTALL)
  8: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ASDF-INSTALL:INSTALL (QUOTE
HUNCHENTOOT)) #<NULL-LEXENV>)
  9: (SWANK::EVAL-REGION "(asdf-install:install 'hunchentoot)
" T)
 10: ((LAMBDA NIL))
 11: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA NIL) {119FF625}>)
 12: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL)
{119FF625}>)
 13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(asdf-
install:install 'hunchentoot)
") #<NULL-LEXENV>)
 14: ((LAMBDA NIL))
 15: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION
SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {119FEF45}>)
 16: ((LAMBDA NIL))
 17: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION
SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {11AA98AD}>)
 18: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {11E19159}>
#<CLOSURE (LAMBDA NIL) {119FCA3D}>)
 19: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {11E19159}>
#<FUNCTION (LAMBDA NIL) {11AA98AD}>)
 20: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {11E19159}>)
 21: (SWANK::PROCESS-AVAILABLE-INPUT #<SB-SYS:FD-STREAM for "a
socket" {11E17EF1}> #<CLOSURE (LAMBDA NIL) {119FC9FD}>)
 22: ((FLET SWANK::HANDLER))
 23: ((LAMBDA (SWANK-BACKEND::_)) #<unused argument>)
 24: (SB-IMPL::SUB-SERVE-EVENT NIL NIL NIL)
 25: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL)
 26: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard
input" {1223C2D1}>)
 27: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard
input" {1223C2D1}> NIL #:EOF-OBJECT)
 28: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {1223C2D1}>
NIL #:EOF-OBJECT #<unused argument>)
 29: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {100BC7E9}>
NIL #:EOF-OBJECT #<unused argument>)
 30: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-
SYS:*STDIN* {100BC7E9}> NIL (NIL) T)
 31: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-
SYS:*STDIN* {100BC7E9}> NIL (NIL) NIL)
 32: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {100BC7E9}> NIL
(NIL) NIL)
 33: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-
SYS:*STDIN* {100BC7E9}> #<unavailable argument>)
 34: (SB-IMPL::REPL-FUN NIL)
 35: (SB-IMPL::REPL-FUN NIL)
 36: ((LAMBDA NIL))
 37: ((LAMBDA NIL))
 38: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL)
{11BB5EC5}>)
 39: (SB-IMPL::TOPLEVEL-REPL NIL)
 40: (SB-IMPL::TOPLEVEL-INIT)
 41: ((LABELS SB-IMPL::RESTART-LISP))

From: Thomas A. Russ
Subject: Re: LispCast, hunchentoot, SBCL, OS X.
Date: 
Message-ID: <ymizlxx3o7t.fsf@blackcat.isi.edu>
Colin Benson <·········@gmail.com> writes:

> I want to follow along with Eric Normand's LispCast 1
> (www.lispcast.com). I can
> get hunchentoot to start and display its default page but no
> further. I've tried downloading the complete source file from the
> website but to no effect. I still get the default web page. I wonder
> if this is to do with an error I saw while installing hunchentoot...
> 
> 
> on OS X (10.4.10) with SBCL (1.0.10) and Slime in the Carbon port of
> Emacs 22.1.1. At this point I'm such a Lisp, ASDF, ASDF-Install,
> Hunchentoot and Slime beginner than I probably don't even qualify for
> "dumb". Therefore your patience is appreciated.
> 
> I fire up Emacs, M-x slime, then
> 
> (require 'asdf)
> (require 'asdf-install)
> (asdf-install:install 'hunchentoot)
> 
> Things progress for a few moments, then I get the errors shown
> below. What have I done wrong?

Hmmm.  The error message isn't really very informative.  One would
really wish for some better indication of why the compilation operator
failed.  I wonder if you would get a better error message if we
eliminated the Emacs-Slime part of the system.

Try doing the same things directly in sbcl.  Start up sbcl and then type
(or copy) those forms into the sbcl listener directly.  (You should be
able to start sbcl in a Terminal window by just typing its name).

Maybe that will produce something more debuggable.

-- 
Thomas A. Russ,  USC/Information Sciences Institute
From: Zach Beane
Subject: Re: LispCast, hunchentoot, SBCL, OS X.
Date: 
Message-ID: <m3wst1lre7.fsf@unnamed.xach.com>
···@sevak.isi.edu (Thomas A. Russ) writes:

> Hmmm.  The error message isn't really very informative.  One would
> really wish for some better indication of why the compilation operator
> failed.  I wonder if you would get a better error message if we
> eliminated the Emacs-Slime part of the system.

No need to wonder. It won't be any better.

The real error message that triggered the failure will almost
certainly be somewhere in the previous compilation output. 

> Try doing the same things directly in sbcl.  Start up sbcl and then type
> (or copy) those forms into the sbcl listener directly.  (You should be
> able to start sbcl in a Terminal window by just typing its name).
>
> Maybe that will produce something more debuggable.

Nope. It will mean scrolling back with xterm instead of emacs. That's
about it.

Zach
From: Edi Weitz
Subject: Re: LispCast, hunchentoot, SBCL, OS X.
Date: 
Message-ID: <ur6j9x67t.fsf@agharta.de>
On Thu, 01 Nov 2007 08:30:12 -0700, Colin Benson <·········@gmail.com> wrote:

> I want to follow along with Eric Normand's LispCast 1
> (www.lispcast.com). I can get hunchentoot to start and display its
> default page but no further. I've tried downloading the complete
> source file from the website but to no effect. I still get the
> default web page. I wonder if this is to do with an error I saw
> while installing hunchentoot...

  http://weitz.de/hunchentoot/#mail

-- 

Lisp is not dead, it just smells funny.

Real email: (replace (subseq ·········@agharta.de" 5) "edi")
From: Wilkes Joiner
Subject: Re: LispCast, hunchentoot, SBCL, OS X.
Date: 
Message-ID: <1193943099.637108.279750@50g2000hsm.googlegroups.com>
On Nov 1, 10:30 am, Colin Benson <·········@gmail.com> wrote:
> I want to follow along with Eric Normand's LispCast 1
> (www.lispcast.com). I can
> get hunchentoot to start and display its default page but no
> further. I've tried downloading the complete source file from the
> website but to no effect. I still get the default web page. I wonder
> if this is to do with an error I saw while installing hunchentoot...
>
> on OS X (10.4.10) with SBCL (1.0.10) and Slime in the Carbon port of
> Emacs 22.1.1. At this point I'm such a Lisp, ASDF, ASDF-Install,
> Hunchentoot and Slime beginner than I probably don't even qualify for
> "dumb". Therefore your patience is appreciated.
>
> I fire up Emacs, M-x slime, then
>
> (require 'asdf)
> (require 'asdf-install)
> (asdf-install:install 'hunchentoot)
>
> Things progress for a few moments, then I get the errors shown
> below. What have I done wrong?
>
> Thanks
>
> c
>

I got everything to work by installing sbcl through darwinports, then
downloading and compiling sbcl from the source with threading turned
on.  The INSTALL doc explains how to do this.  Everything worked fine
after that.  This works on an Intel machine, don't know about PPC.