Hi. I'm still trying to get the hang of asdf, could use some help. I
have a packages.lisp and a deftest.lisp. deftest.lisp depends on
packages.lisp. I have two .asd files, packages.asd and deftest.asd in
a directory, and symlinks pointing to them in the asdf central registry
directory.
When I do
(asdf:operate 'asdf:load-op 'packages))
It loads the packages system fine. When I do
(asdf:operate 'asdf:load-op 'deftest))
it says
component "packages" not found, required by
#<CL-SOURCE-FILE "deftest" {6015F7FD}>
[Condition of type ASDF:MISSING-DEPENDENCY]
-- packages.asd looks like this:
(in-package :cl-user)
(defpackage :packages-asd
(:use :cl :asdf))
(in-package :packages-asd)
(defsystem "packages"
:components ((:file "packages")))
-- deftest.asd looks like this:
(defpackage :deftest-asd
(:use :cl :asdf))
(in-package :deftest-asd)
(defsystem "deftest"
:components ((:file "deftest" :depends-on ("packages"))))
Anyone see what I'm doing wrong?
- Jake
"jakemiles" <···········@gmail.com> writes:
[snip]
> (defsystem "deftest"
> :components ((:file "deftest" :depends-on ("packages"))))
>
>
> Anyone see what I'm doing wrong?
System-level dependencies go into the system :depends-on, not the
:depends-on of a component:
(defsystem "deftest"
:depends-on ("packages")
:components ((:file "deftest")))
Zach
Thank you - that fixed it. I think I took my format directly from one
of their examples; I must have misunderstood.
Zach Beane wrote:
> "jakemiles" <···········@gmail.com> writes:
>
> [snip]
> > (defsystem "deftest"
> > :components ((:file "deftest" :depends-on ("packages"))))
> >
> >
> > Anyone see what I'm doing wrong?
>
> System-level dependencies go into the system :depends-on, not the
> :depends-on of a component:
>
> (defsystem "deftest"
> :depends-on ("packages")
> :components ((:file "deftest")))
>
>
> Zach