ASDF is a tool for describing how source files are organized: what depends on which and when. It is roughly what Common Lisp hackers use to build software where C hackers would use say GNU Make. ASDF stands for Another System Definition Facility, in the continuity of the Lisp DEFSYSTEM of yore.
Questions tagged [asdf]
204 questions
3
votes
1 answer
UIOP does not recognize local-nicknames keyword
I'm attempting to make a Lisp package with uiop/package:define-package. I'm using SBCL, and have confirmed that package-local nicknaming ought to be supported:
* *features*
(:QUICKLISP :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-UNIX
…

Vivian
- 1,539
- 14
- 38
3
votes
1 answer
Common lisp — why isn't this symbol external?
I'm trying to run tests in ASDF, which looks like this:
;;;; foo.asd
(defsystem "foo/tests"
:depends-on ("foo"
"fiveam")
:components ((:module "tests"
:components
((:file "main"))))
:perform…

jay
- 1,524
- 4
- 25
- 45
3
votes
1 answer
Loading an Optional Component with ASDF
How do you tell ASDF to process a component file only if it exists (so it doesn't generate an error if it doesn't exist yet).
(asdf:defsystem "my-system"
:components ((:file "utilities")
(:file "temp-file" :depends-on…

davypough
- 1,847
- 11
- 21
3
votes
0 answers
how to upgrade ASDF to version 3
I need a version 3 ASDF. I am on GNU CLISP 2.49, Emacs 23.5.1, Ubuntu 16.04, SBCL 1.3.1 Debian.
The current problem is
CL-USER> (asdf:asdf-version) => "3.3.2"
but
CL-USER> (ql:quickload :quickproject)
=> Evaluation aborted on
…

Art-P
- 41
- 5
3
votes
3 answers
Getting asdf to load all files in a directory
Is there a way I can make asdf load all files (*.lisp) in a directory without naming them all in my .asd file? Using wildcards in both directory or filename spec doesn't work. Can someone please help?

Sunder
- 63
- 4
3
votes
1 answer
Why does ql:quickload ignores errors but asdf:load-system is not?
I found that sometimes ql:quickload just silently skips serious errors like:
;Compiler warnings for "home:common-lisp;mito-email-auth;src;models.lisp.newest" :
; In SEND-CODE: In the form ("Для входа на сайт [Skazorama.ru](~A), перейдите по [этой…

Alexander Artemenko
- 21,378
- 8
- 39
- 36
3
votes
1 answer
Can not launch or re-install Quicklisp: ASDF/FIND-SYSTEM::STAMP undefined
I broke my CL environment. I can run sbcl but I can't re-run or re-install Quicklisp (I simply deleted the directory ~/quicklisp/ and would like to start over properly). I get the following error:
* (load #p"~/quicklisp/setup.lisp")
While evaluating…

Ehvince
- 17,274
- 7
- 58
- 79
3
votes
2 answers
clisp 2.49: asdf cannot find asd
My setup is:
Windows Vista
clisp 2.49
I run clisp and load asdf without any problems.
I push a directory pathname into asdf:*central-registry* and copy a shortcut of cl-ppcre.asd into the directory. Then I try to load-op it with (asdf:oos…

Paralife
- 6,116
- 8
- 38
- 64
3
votes
5 answers
ASDF or other module system independent of home and site configurations
I'm trying to find out the best practices for real-world application development. I'm having trouble understanding how to properly configure third-party libraries for deployment as a standalone package. It seems that ASDF-INSTALL and ASDF are…

jennykwan
- 2,631
- 1
- 22
- 33
3
votes
1 answer
require asdf failed in sbcl repl
I meet the following error. Any clue?
CL-USER> (require "asdf")
NIL
But the page https://common-lisp.net/project/asdf/asdf.html#Loading-ASDF said
The recommended way to load ASDF is via:
(require "asdf")
All actively maintained Lisp implementations…

Ray
- 41
- 1
3
votes
2 answers
Quicklisp overriding default systems
I have a slightly modified version of cl-json that I use for a poorly implemented server parser. When I try to (ql:quickload :cl-json) it naturally loads the file that they have stored on their server as opposed to my modified version stored on my…

Spenser Truex
- 159
- 1
- 11
3
votes
2 answers
How to include all function and package declarations in a file called all.lisp for an asdf package-inferred-system
So, in the asdf manual/documentation in section 6.5 of the package-inferred-system extension, the example uses an all.lisp file for determining packages (which I/we will assume will contain all of the function and package information for that…

A Waouwa
- 41
- 3
3
votes
2 answers
CL-FAD - redundancy in defsystem?
I started looking at Edi Weitz's CL-FAD to pick up some good coding practices. One thing caught my eye when looking at cl-fad.asd. In defsystem Weitz uses :serial t which, if I understand correctly based on the docs, instructs ASDF to include…

Wojciech Gac
- 1,538
- 1
- 16
- 30
3
votes
2 answers
example of using external libraries or packages in Common Lisp
In Common Lisp, quicklisp is a popular library management tool. I'm going to use that tool and I'm going to try and use CL-WHO. I use the SBCL 1.0.57 implementation. I'm going to answer my own question below.
As a beginner, it's not clear how ASDF…

anonymous
- 193
- 2
- 5
3
votes
2 answers
Automatically resolving a symbol naming conflict using asdf and defpackage
I have defined a common lisp package using asdf which uses both parenscript and clsql.
But these packages have a naming conflict around the function GET-TIME. When the module is loaded I can resolve the conflict manually at the prompt (code may not…

tjb
- 11,480
- 9
- 70
- 91