Installing ASDF on CLISP-Win32?

Discussion of Common Lisp

Installing ASDF on CLISP-Win32?

Postby anta40 » Tue Feb 03, 2009 5:43 pm

Anybody succeded in installing ASDF on CLISP-Win32?

My Lisp installation dir is C:\clisp (CLISP 2.47).
I tried to follow this guide:
1. Downloaded ASDF from here, and extracted it to C:\clisp\asdf-install.
2. The guide said "put the file asdf.lisp in a place where you want it to stay". I didn't see any asdf.lisp, so I decided to consult the README. It said:
This can be used either from within a CL implementation:

cl-prompt> (load "/path/to/load-asdf-install.lisp")


Then I tried: (load "load-asdf.install.lisp")

C:\clisp\asdf-install\asdf-install>clisp
i i i i i i i ooooo o ooooooo ooooo ooooo
I I I I I I I 8 8 8 8 8 o 8 8
I \ `+' / I 8 8 8 8 8 8
\ `-+-' / 8 8 8 ooooo 8oooo
`-__|__-' 8 8 8 8 8
| 8 o 8 8 o 8 8
------+------ ooooo 8oooooo ooo8ooo ooooo 8

Welcome to GNU CLISP 2.47 (2008-10-23) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2008

Type :h and hit Enter for context help.

[1]> (load "load-asdf-install.lisp")
;; Loading file load-asdf-install.lisp ...
;;; ASDF-INSTALL: Loading ASDF-INSTALL package from directory
;;; "C:\clisp\asdf-install\asdf-install\"


*** - PARSE-NAMESTRING: syntax error in filename
"ASDF-INSTALL-LIBRARY:defpackage.lisp" at position 20
The following restarts are available:
SKIP :R1 skip (EVAL-WHEN # #)
STOP :R2 stop loading file C:\clisp\asdf-install\asdf-install\loa
d-asdf-install.lisp
ABORT :R3 Abort main loop
Break 1 ASDF-INSTALL-LOADER[2]>


What went wrong here? :?
anta40
 
Posts: 18
Joined: Fri Oct 10, 2008 10:27 pm

Re: Installing ASDF on CLISP-Win32?

Postby qbg » Tue Feb 03, 2009 5:54 pm

anta40 wrote:1. Downloaded ASDF from here, and extracted it to C:\clisp\asdf-install.

That is ASDF-INSTALL, not ASDF. You can get ASDF from here.
qbg
 
Posts: 64
Joined: Mon Jun 30, 2008 1:05 pm
Location: Minnesota

Re: Installing ASDF on CLISP-Win32?

Postby anta40 » Tue Feb 03, 2009 7:49 pm

My mistake. I downloaded it, and put it on C:\clis\asdf-install\asdf-install

Here's my .clisprc
Code: Select all
#-:asdf (load "C:\\clisp\\asdf-install\\asdf-install\\asdf")
#-:asdf-install (asdf:operate 'asdf:load-op :asdf-install)   
(pushnew 'asdf-install:sysdef-source-dir-search asdf:*system-definition-search-functions*)
(pushnew "C:\\clisp\\asdf-install\\asdf-install" asdf:*central-registry* :test #'equal) 


When I ran clisp:
Code: Select all
  i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
  I I I I I I I      8     8   8           8     8     o  8    8
  I  \ `+' /  I      8         8           8     8        8    8
   \  `-+-'  /       8         8           8      ooooo   8oooo
    `-__|__-'        8         8           8           8  8
        |            8     o   8           8     o     8  8
  ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8

Welcome to GNU CLISP 2.47 (2008-10-23) <http://clisp.cons.org/>

Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
Copyright (c) Bruno Haible, Sam Steingold 1999-2000
Copyright (c) Sam Steingold, Bruno Haible 2001-2008

Type :h and hit Enter for context help.

;; Loading file C:\Users\Andre\.clisprc ...
;;  Loading file C:\clisp\asdf-install\asdf-install\asdf.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\asdf.fas
; loading system definition from C:asdf-install.asd into #<PACKAGE ASDF0>
;;  Loading file C:asdf-install.asd ...
; registering #<SYSTEM ASDF-INSTALL #x19EEEE3D> as ASDF-INSTALL
;;  Loaded file C:asdf-install.asd
;;  Loading file C:\clisp\asdf-install\asdf-install\defpackage.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\defpackage.fas
;;  Loading file C:\clisp\asdf-install\asdf-install\port.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\port.fas
;;  Loading file C:\clisp\asdf-install\asdf-install\variables.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\variables.fas
;;  Loading file C:\clisp\asdf-install\asdf-install\conditions.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\conditions.fas
;;  Loading file C:\clisp\asdf-install\asdf-install\split-sequence.fas ...
;;  Loaded file C:\clisp\asdf-install\asdf-install\split-sequence.fas
;;  Loading file C:\clisp\asdf-install\asdf-install\installer.fas ...
WARNING: The generic function #<STANDARD-GENERIC-FUNCTION ASDF:FIND-COMPONENT>
         is being modified, but has already been called.
;;   Loading file C:\Users\Andre\.asdf-install ...
*** - READ from
       #<INPUT BUFFERED FILE-STREAM CHARACTER
         #P"C:\\Users\\Andre\\.asdf-install" @1>
      : #<PACKAGE ASDF-INSTALL> has no external symbol with name
      "[*PROXY*][*PROXY]"
The following restarts are available:
SKIP           :R1      skip 564 570 (EVAL-WHEN (:LOAD-TOPLEVEL :EXECUTE) (LET*
# #))-39
STOP           :R2      stop loading file C:\clisp\asdf-install\asdf-install\ins
taller.fas
TRY-RECOMPILING :R3     Recompile installer and try loading it again
RETRY          :R4
Retry performing #<ASDF:LOAD-OP NIL #x19EE2251> on #<ASDF:CL-SOURCE-FILE
  "installer" #x19EE0305>.
ACCEPT         :R5
Continue, treating #<ASDF:LOAD-OP NIL #x19EE2251> on #<ASDF:CL-SOURCE-FILE
  "installer" #x19EE0305> as having been successful.
SKIP           :R6      skip (OPERATE 'LOAD-OP ASDF-INSTALL)
STOP           :R7      stop loading file C:\Users\Andre\.clisprc
Break 1 ASDF-INSTALL-CUSTOMIZE[3]>


Still won't work... :?
anta40
 
Posts: 18
Joined: Fri Oct 10, 2008 10:27 pm

Re: Installing ASDF on CLISP-Win32?

Postby nuntius » Wed Feb 04, 2009 6:04 pm

Do you need asdf-install or just asdf? If the latter, then drop all the asdf-install stuff from your rc file...
User avatar
nuntius
 
Posts: 498
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to Common Lisp

Who is online

Users browsing this forum: Bing [Bot] and 5 guests