ASDF example doesn't work well when having dependencies
I have tried this example ECL repository asdf example , it works fine but it doesn't have any asdf dependencies. If i add
:depends-on (#:inferior-shell)
to example.asd then running the compiled standalone executable gives this error:
Condition of type: SIMPLE-PACKAGE-ERROR
There exists no package with name "ASDF/DRIVER"
No restarts available.
A workaround is to add this prologue code in readme.lisp:
(asdf:make-build :example :type :program :prologue-code '(require 'asdf) :epilogue-code '(ext:quit 0) :move-here "./")
but still it gives some ugly warnings when running the exe :
;;; Warning: Duplicate proclamation for COMPILE
;;; Warning: Duplicate proclamation for COMPILER-MACRO-FUNCTION
;;; Warning: Duplicate proclamation for CONSTANTP
;;; Warning: Duplicate proclamation for EVAL