Hi guys,

I'm very much a Lisp newbie (and thus assume that I'm doing a number
of things wrong) and can't make Lispbuilder-SDL work via ASDF-install.
I don't know how recent the ASDF build is, but I can see that it
includes a "cocoahelper" program which I was able to manually compile
afterwards.

However, I can't actually run the Lisp-side cocoahelper: the docs say
to do "(asdf:operate 'asdf:load-op :cocoahelper)" before trying to run
any SDL programs, which sounds about right since trying to run the SDL
examples crashed SBCL.
Trying to load cocoahelper that way produces:
"component "cocoahelper" not found
   [Condition of type ASDF:MISSING-COMPONENT]"

Since I don't know anything about ASDF, I naievely grepped for
cocoahelper in the lispbuilder-sdl*.asd files and found nothing, so
copied an entry in lispbuilder-sdl.asd to say something like:
(:module "cocoahelper"
  :components ((:file "cocoahelper"))
  :serial t)

This caused healthy-looking compilation messages when I then did
"(require 'lispbuilder-sdl)", but threw the same error:
CL-USER> (require 'lispbuilder-sdl)

; compiling file
"/Users/oisin/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.lisp"
(written 04 JUN 2007 05:52:21 PM):
; compiling (DEFPACKAGE :LISPBUILDER-SDL-COCOAHELPER ...)
; compiling (IN-PACKAGE :LISPBUILDER-SDL-COCOAHELPER)
; compiling (PUSH (ASDF:COMPONENT-PATHNAME #) ...)
; compiling (DEFINE-FOREIGN-LIBRARY COCOAHELPER ...)
; compiling (USE-FOREIGN-LIBRARY COCOAHELPER)
; compiling (DEFCFUN "cocoahelper_init" ...)
; compiling (COCOAHELPER-INIT)

; /Users/oisin/.sbcl/site/lispbuilder-sdl/cocoahelper/cocoahelper.fasl written
; compilation finished in 0:00:00
;
; compilation unit aborted
;   caught 1 fatal ERROR condition
; Evaluation aborted.

The error was, again:
;;;;;;;;;
component "cocoahelper" not found
   [Condition of type ASDF:MISSING-COMPONENT]

Restarts:
 0: [TRY-RECOMPILING] Recompile cocoahelper and try loading it again
 1: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {11C6E1C9}> on
#<ASDF:CL-SOURCE-FILE "cocoahelper" {11731911}>.
 2: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {11C6E1C9}> on
#<ASDF:CL-SOURCE-FILE "cocoahelper" {11731911}> as having been
successful.
 3: [RETRY] Retry SLIME REPL evaluation request.
 4: [ABORT] Return to SLIME's top level.
 5: [ABORT] Exit debugger, returning to top level.

Backtrace:
  0: (ASDF:FIND-SYSTEM :COCOAHELPER T)
;;;;;;;

At this point I've no idea what to do and would really appreciate any input.

thanks and regards,
Oisín
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to