Note that there are some explanatory texts on larger screens.

plurals
  1. POIs system name must identical with file name when do asdf:load-system?
    primarykey
    data
    text
    <p>I am learning ASDF but encountered strange issue when do loading the defined system. Here are some information. i defined a .asd file named "hello.asd" with a single line content:</p> <pre><code>(asdf:defsystem :hellosystem) </code></pre> <p>and i put this file into a directory called "<strong>/tmp/pkg</strong>". After that, i run SBCL and try to load it. Here is the output:</p> <pre><code>This is SBCL 1.1.12, an implementation of ANSI Common Lisp. More information about SBCL is available at &lt;http://www.sbcl.org/&gt;. SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. * (asdf:asdf-version) "3.0.2" * (push #P"/tmp/pkg/" asdf:*central-registry*) (#P"/tmp/pkg/" #P"/Users/wuli2/quicklisp/quicklisp/") * (asdf:load-system :hellosystem) debugger invoked on a ASDF/FIND-SYSTEM:MISSING-COMPONENT: Component :HELLOSYSTEM not found Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. ((:METHOD ASDF/OPERATE:OPERATE (SYMBOL T)) ASDF/LISP-ACTION:LOAD-OP :HELLOSYSTEM) [fast-method] 0] 0 * (asdf:load-system :hello) debugger invoked on a ASDF/FIND-SYSTEM:MISSING-COMPONENT: Component :HELLO not found Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. restarts (invokable by number or by possibly-abbreviated name): 0: [ABORT] Exit debugger, returning to top level. ((:METHOD ASDF/OPERATE:OPERATE (SYMBOL T)) ASDF/LISP-ACTION:LOAD-OP :HELLO) [fast-method] 0] 0 * (asdf:load-system :hellosystem) T * </code></pre> <p>Please be noted, the first time i tried to load system <strong>:hellosystem</strong>, it failed. So i load the system <strong>:hello</strong>, i gussed maybe it need a filename, it failed again. The weired thing happened when i occasionally run load system <strong>:hellosystem</strong> again, it worked.</p> <p>So i made another test, change the file name to let it same as system name. Then run asdf:load-system, it worked directly.</p> <p>It confused me very much, i cannot find any clue in ASDF manual that the two names should be identical?</p> <p>Could somebody give me some insight on it?</p> <p>Thanks,</p> <p>Wu</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload