How to use ASDF
Posted: Wed Mar 09, 2011 9:27 pm
Hi, I am a complete Lisp newbie. My question pertains ASDF, so I'm not sure if this is the appropiate place to ask. I am trying to get ASDF to correctly load a system (the wxCL gui library), but I keep getting errors, and I'm not sure what I am doing wrong. Here is how I set everything up: Using windows, GNU Clisp 2.49 installed on c:\clisp. I added the environment variable CL_SOURCE_REGISTRY and pointed it to the path where the wxcl.asd file is located (c:\clisp\registry\). I load ASDF with (load "c:\\clisp\\asdf\\asdf.lisp") (Note that I downloaded the asdf.lisp and manually installed it there.) and then attempt to load wxcl with (asdf:load-system :wxcl). I get the following:
I can see that asdf can at least see the library, but something is amiss. Can anyone help me solve this issue?
Code: Select all
[2]> (asdf:load-system :wxcl)
; Loading system definition from C:\clisp\registry\wxcl.asd into #<PACKAGE ASDF0
>
;; Loading file C:\clisp\registry\wxcl.asd ...
"Copyright (c) Surendra Singhi 2005"
"wxCL = wxWidgets + Common Lisp"
*** - Error while trying to load definition for system wxcl from pathname
C:\clisp\registry\wxcl.asd:
PARSE-NAMESTRING: Argument (CONCATENATE 'STRING
(DIRECTORY-NAMESTRING *WXCL-DIRECTORY*) "src/") should be a pathname
designator (OR
STRING FILE-STREAM PATHNAME)
The following restarts are available:
SKIP :R1 skip (DEFSYSTEM WXCL DESCRIPTION ...)
RETRY :R2 retry (DEFSYSTEM WXCL DESCRIPTION ...)
STOP :R3 stop loading file C:\clisp\registry\wxcl.asd
ABORT :R4 Abort main loop
Break 1 ASDF0[3]>