You need to declare your dependencies in the defsystem
with a :depends-on
clause. The :use
clause of the defpackage
only makes names of already loaded packages available, but won't load them.
BTW, your .asd
file should not include the defpackage
of the main package. While it makes sense to declare a special package to run the defsystem
s in there, regular packages should be declared in .lisp
files.
EDIT: This may also solve your second problem. If not, it's probably because ASDF doesn't automatically expand the ~
character in paths. In that case, replace it with the actual path of your home directory.