Discussion:
ASDF 3 on WIn 10 doesn't find component
Robert Goldman
2018-09-18 19:27:15 UTC
Permalink
Can you tell us what version of asdf you have? `(asdf:asdf-version)`?

Will you please also report what `user-homedir-pathname` returns? It
should be the parent of your `common-lisp` directory (I.e., the same as
the value of `%LOCALAPPDATA%`; if not, we have found your problem. If
so, we need to look further.
This is with LW 7.1.1 and Win 10. 
I don't know how to get ASDF to find a file. My environment variable
%LOCALAPPDATA% is C:\Users\Mitch\AppData\Local
I have the files test.asd and test.lisp in
c:\Users\Mitch\AppData\Local\common-lisp\test.asd
;;; test.asd --------------------------------
(defsystem "test"
  :components ((:file "test")))
;;; --------------------------------------------
;;; test.lisp ------------------------------------
(defpackage :test
  (:use :common-lisp))
(in-package :test)
(defconstant *golden-ratio* 1.6180339887)
;;; --------------------------------------------
CL-USER 1 > (require "asdf")
CL-USER 2 > (asdf:load-system "test")
Error: Component "test" not found
Thanks for any advice.
Mitch
_______________________________________________ Lisp Hug - the mailing
http://www.lispworks.com/support/lisp-hug.html
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)

319 N. First Ave., Suite 400
Minneapolis, MN 55401

Voice: (612) 326-3934
Email: ***@SIFT.net
Robert Goldman
2018-09-18 19:51:24 UTC
Permalink
You could fix this by doing a bit of configuration, but TBH, it will
just be easier to move your common-lisp director into `C:\Users\Mitch`.

Best,
R
Thanks. As you suggested, I was using %LOCALAPPDATA% instead of just
`user-homedir-pathname` (which is C:\Users\Mitch\\)
Can you tell us what version of asdf you have? `(asdf:asdf-version)`?
Will you please also report what `user-homedir-pathname` returns? It
should be the parent of your `common-lisp` directory (I.e., the same
as the value of `%LOCALAPPDATA%`; if not, we have found your problem.
If so, we need to look further.
This is with LW 7.1.1 and Win 10.
I don't know how to get ASDF to find a file. My environment variable
%LOCALAPPDATA% is C:\Users\Mitch\AppData\Local
I have the files test.asd and test.lisp in
c:\Users\Mitch\AppData\Local\common-lisp\test.asd
;;; test.asd --------------------------------
(defsystem "test"
:components ((:file "test")))
;;; --------------------------------------------
;;; test.lisp ------------------------------------
(defpackage :test
(:use :common-lisp))
(in-package :test)
(defconstant *golden-ratio* 1.6180339887)
;;; --------------------------------------------
CL-USER 1 > (require "asdf")
CL-USER 2 > (asdf:load-system "test")
Error: Component "test" not found
Thanks for any advice.
Mitch
_______________________________________________ Lisp Hug - the
mailing list for LispWorks users
<http://www.lispworks.com/support/lisp-hug.html>
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)
319 N. First Ave., Suite 400
Minneapolis, MN 55401
Voice: (612) 326-3934
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)

319 N. First Ave., Suite 400
Minneapolis, MN 55401

Voice: (612) 326-3934
Email: ***@SIFT.net
Mitch Berkson
2018-09-18 20:24:50 UTC
Permalink
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I was actually doing this en route to getting that bit of
configuration working.  <br>
</p>
<p>What I did (following
<a class="moz-txt-link-freetext" href="https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html">https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html</a>)
is create the file %LOCALAPPDATA%
config/common-lisp/source-registry.conf.d/10-luser-lisp.conf with:</p>
<p>(:tree (:home "d:/grouptix/"))</p>
<p>But then when I:<br>
CL-USER 1 &gt; (require "asdf")<br>
CL-USER 2 &gt; (asdf:load-system "test")</p>
<p>component "test" is not found although it's in d:/grouptix/<br>
</p>
<div class="moz-cite-prefix">On 9/18/2018 3:51 PM, Robert Goldman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1FA82174-BB6C-4F43-864C-***@sift.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">You could fix this by doing a bit of
configuration, but TBH, it will just be easier to move your
common-lisp director into <code
style="background-color:#F7F7F7; border-radius:3px;
margin:0; padding:0 0.4em" bgcolor="#F7F7F7">C:\Users\Mitch</code>.</p>
<p dir="auto">Best,<br>
R</p>
<p dir="auto">On 18 Sep 2018, at 14:47, Mitch Berkson wrote:</p>
</div>
<blockquote style="border-left:2px solid #777; color:#777;
margin:0 0 5px; padding-left:5px">
<div id="4212B517-D461-4898-A366-2266E4C274CA">
<div text="#000000" bgcolor="#FFFFFF">
<p>Thanks.  As you suggested, I was using %LOCALAPPDATA%
instead of just <code style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0 0.4em"
bgcolor="#F7F7F7">user-homedir-pathname </code>(which
is C:\Users\Mitch\)</p>
<div class="moz-cite-prefix"> On 9/18/2018 3:27 PM, Robert
Goldman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:F6706C77-9D84-46C7-A372-***@sift.net">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">Can you tell us what version of asdf
you have? <code style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">(asdf:asdf-version)</code>?</p>
<p dir="auto">Will you please also report what <code
style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">user-homedir-pathname</code>
returns? It should be the parent of your <code
style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">common-lisp</code>
directory (I.e., the same as the value of <code
style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">%LOCALAPPDATA%</code>;
if not, we have found your problem. If so, we need
to look further.</p>
<p dir="auto">On 18 Sep 2018, at 11:11, Mitch
Berkson wrote:</p>
</div>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777;
color:#777;&#xA; margin:0 0 5px; padding-left:5px">
<p dir="auto">This is with LW 7.1.1 and Win 10. <br>
<br>
<br>
I don't know how to get ASDF to find a file. My
environment variable %LOCALAPPDATA% is
C:\Users\Mitch\AppData\Local<br>
<br>
I have the files test.asd and test.lisp in
c:\Users\Mitch\AppData\Local\common-lisp\test.asd<br>
<br>
;;; test.asd --------------------------------<br>
(defsystem "test"<br>
  :components ((:file "test")))<br>
;;; --------------------------------------------<br>
<br>
;;; test.lisp
------------------------------------<br>
<br>
<br>
(defpackage :test<br>
  (:use :common-lisp))<br>
<br>
(in-package :test)<br>
<br>
(defconstant *golden-ratio* 1.6180339887)<br>
;;; --------------------------------------------<br>
<br>
In LW, I do:<br>
CL-USER 1 &gt; (require "asdf")<br>
CL-USER 2 &gt; (asdf:load-system "test")<br>
<br>
and get:<br>
Error: Component "test" not found<br>
<br>
Thanks for any advice.<br>
<br>
Mitch<br>
<br>
<br>
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
<a class="moz-txt-link-abbreviated"
href="mailto:lisp-***@lispworks.com"
moz-do-not-send="true">lisp-***@lispworks.com</a>
<a
href="http://www.lispworks.com/support/lisp-hug.html"
style="color:#777" moz-do-not-send="true">http://www.lispworks.com/support/lisp-hug.html</a></p>
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">Robert P. Goldman<br>
Research Fellow<br>
Smart Information Flow Technologies (d/b/a SIFT,
LLC)</p>
<p dir="auto">319 N. First Ave., Suite 400<br>
Minneapolis, MN 55401</p>
<p dir="auto">Voice: (612) 326-3934<br>
Email: <a href="mailto:***@SIFT.net"
style="color:#3983C4" moz-do-not-send="true">***@SIFT.net</a></p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777; color:#777;
margin:0 0 5px; padding-left:5px">
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">Robert P. Goldman<br>
Research Fellow<br>
Smart Information Flow Technologies (d/b/a SIFT, LLC)</p>
<p dir="auto">319 N. First Ave., Suite 400<br>
Minneapolis, MN 55401</p>
<p dir="auto">Voice: (612) 326-3934<br>
Email: <a href="mailto:***@SIFT.net"
style="color:#3983C4" moz-do-not-send="true">***@SIFT.net</a></p>
</div>
</div>
</blockquote>
</body>
</html>
Robert Goldman
2018-09-18 21:02:40 UTC
Permalink
I suspect that the problem is that you are telling ASDF to look for
systems in the `d:/grouptix/` *subdirectory* of your home directory. Or
something. I think you just want `(:tree "d:/grouptix/")`

For debugging, I'd suggest using the REPL and test your forms using
`asdf:initialize-source-registry`. And... once you do that, you might
as well just put the form in your lisp init file (I forget where that is
in LW).

Best,
R
Post by Mitch Berkson
I was actually doing this en route to getting that bit of
configuration working.
What I did (following
<https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html>)
is create the file %LOCALAPPDATA%
(:tree (:home "d:/grouptix/"))
CL-USER 1 > (require "asdf")
CL-USER 2 > (asdf:load-system "test")
component "test" is not found although it's in d:/grouptix/
Post by Robert Goldman
You could fix this by doing a bit of configuration, but TBH, it will
just be easier to move your common-lisp director into
`C:\Users\Mitch`.
Best,
R
Thanks. As you suggested, I was using %LOCALAPPDATA% instead of
just `user-homedir-pathname` (which is C:\Users\Mitch\\)
Post by Robert Goldman
Can you tell us what version of asdf you have?
`(asdf:asdf-version)`?
Will you please also report what `user-homedir-pathname` returns?
It should be the parent of your `common-lisp` directory (I.e., the
same as the value of `%LOCALAPPDATA%`; if not, we have found your
problem. If so, we need to look further.
This is with LW 7.1.1 and Win 10.
I don't know how to get ASDF to find a file. My environment variable
%LOCALAPPDATA% is C:\Users\Mitch\AppData\Local
I have the files test.asd and test.lisp in
c:\Users\Mitch\AppData\Local\common-lisp\test.asd
;;; test.asd --------------------------------
(defsystem "test"
:components ((:file "test")))
;;; --------------------------------------------
;;; test.lisp ------------------------------------
(defpackage :test
(:use :common-lisp))
(in-package :test)
(defconstant *golden-ratio* 1.6180339887)
;;; --------------------------------------------
CL-USER 1 > (require "asdf")
CL-USER 2 > (asdf:load-system "test")
Error: Component "test" not found
Thanks for any advice.
Mitch
_______________________________________________ Lisp Hug - the
mailing list for LispWorks users
<http://www.lispworks.com/support/lisp-hug.html>
Post by Robert Goldman
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)
Post by Robert Goldman
319 N. First Ave., Suite 400
Minneapolis, MN 55401
Post by Robert Goldman
Voice: (612) 326-3934
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)
319 N. First Ave., Suite 400
Minneapolis, MN 55401
Voice: (612) 326-3934
_______________________________________________ Lisp Hug - the mailing
http://www.lispworks.com/support/lisp-hug.html
Robert P. Goldman
Research Fellow
Smart Information Flow Technologies (d/b/a SIFT, LLC)

319 N. First Ave., Suite 400
Minneapolis, MN 55401

Voice: (612) 326-3934
Email: ***@SIFT.net
Mitch Berkson
2018-09-18 21:08:36 UTC
Permalink
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Great.  Thanks.  That worked.<br>
</p>
<div class="moz-cite-prefix">On 9/18/2018 5:02 PM, Robert Goldman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:868C859A-9996-4402-B795-***@sift.net">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">I suspect that the problem is that you are
telling ASDF to look for systems in the <code
style="background-color:#F7F7F7; border-radius:3px;
margin:0; padding:0 0.4em" bgcolor="#F7F7F7">d:/grouptix/</code>
<em>subdirectory</em> of your home directory. Or something.
I think you just want <code
style="background-color:#F7F7F7; border-radius:3px;
margin:0; padding:0 0.4em" bgcolor="#F7F7F7">(:tree
"d:/grouptix/")</code></p>
<p dir="auto">For debugging, I'd suggest using the REPL and
test your forms using <code
style="background-color:#F7F7F7; border-radius:3px;
margin:0; padding:0 0.4em" bgcolor="#F7F7F7">asdf:initialize-source-registry</code>.
And... once you do that, you might as well just put the form
in your lisp init file (I forget where that is in LW).</p>
<p dir="auto">Best,<br>
R</p>
<p dir="auto">On 18 Sep 2018, at 15:24, Mitch Berkson wrote:</p>
</div>
<blockquote style="border-left:2px solid #777; color:#777;
margin:0 0 5px; padding-left:5px">
<div id="57813754-B7BC-4282-BB71-2EA4BF7C38A5">
<div text="#000000" bgcolor="#FFFFFF">
<p>I was actually doing this en route to getting that bit
of configuration working.  <br>
</p>
<p>What I did (following
<a class="moz-txt-link-freetext"
href="https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html"
moz-do-not-send="true">https://common-lisp.net/project/asdf/asdf/Configuring-ASDF-to-find-your-systems.html</a>)
is create the file %LOCALAPPDATA%
config/common-lisp/source-registry.conf.d/10-luser-lisp.conf
with:</p>
<p>(:tree (:home "d:/grouptix/"))</p>
<p>But then when I:<br>
CL-USER 1 &gt; (require "asdf")<br>
CL-USER 2 &gt; (asdf:load-system "test")</p>
<p>component "test" is not found although it's in
d:/grouptix/<br>
</p>
<div class="moz-cite-prefix">On 9/18/2018 3:51 PM, Robert
Goldman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1FA82174-BB6C-4F43-864C-***@sift.net">
<meta http-equiv="Content-Type" content="text/html;
charset=UTF-8">
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">You could fix this by doing a bit of
configuration, but TBH, it will just be easier to
move your common-lisp director into <code
style="background-color:#F7F7F7;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">C:\Users\Mitch</code>.</p>
<p dir="auto">Best,<br>
R</p>
<p dir="auto">On 18 Sep 2018, at 14:47, Mitch
Berkson wrote:</p>
</div>
<blockquote style="border-left:2px solid #777;
color:#777;&#xA; margin:0 0 5px; padding-left:5px">
<div id="4212B517-D461-4898-A366-2266E4C274CA">
<div text="#000000" bgcolor="#FFFFFF">
<p>Thanks.  As you suggested, I was using
%LOCALAPPDATA% instead of just <code
style="background-color:#F7F7F7;&#xA;
border-radius:3px;&#xA; margin:0; padding:0
0.4em" bgcolor="#F7F7F7">user-homedir-pathname
</code>(which is C:\Users\Mitch\)</p>
<div class="moz-cite-prefix"> On 9/18/2018 3:27
PM, Robert Goldman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:F6706C77-9D84-46C7-A372-***@sift.net">
<meta http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<div style="font-family:sans-serif">
<div style="white-space:normal">
<p dir="auto">Can you tell us what version
of asdf you have? <code
style="background-color:#F7F7F7;&#xA;
border-radius:3px;&#xA; margin:0;
padding:0&#xA; 0.4em"
bgcolor="#F7F7F7">(asdf:asdf-version)</code>?</p>
<p dir="auto">Will you please also report
what <code
style="background-color:#F7F7F7;&#xA;
border-radius:3px;&#xA; margin:0;
padding:0&#xA; 0.4em"
bgcolor="#F7F7F7">user-homedir-pathname</code>
returns? It should be the parent of your
<code
style="background-color:#F7F7F7;&#xA;
border-radius:3px;&#xA; margin:0;
padding:0&#xA; 0.4em"
bgcolor="#F7F7F7">common-lisp</code>
directory (I.e., the same as the value
of <code
style="background-color:#F7F7F7;&#xA;
border-radius:3px;&#xA; margin:0;
padding:0&#xA; 0.4em"
bgcolor="#F7F7F7">%LOCALAPPDATA%</code>;
if not, we have found your problem. If
so, we need to look further.</p>
<p dir="auto">On 18 Sep 2018, at 11:11,
Mitch Berkson wrote:</p>
</div>
<div style="white-space:normal">
<blockquote style="border-left:2px solid
#777;&#xA; color:#777;&#xA; margin:0 0
5px; padding-left:5px">
<p dir="auto">This is with LW 7.1.1 and
Win 10. <br>
<br>
<br>
I don't know how to get ASDF to find a
file. My environment variable
%LOCALAPPDATA% is
C:\Users\Mitch\AppData\Local<br>
<br>
I have the files test.asd and
test.lisp in
c:\Users\Mitch\AppData\Local\common-lisp\test.asd<br>
<br>
;;; test.asd
--------------------------------<br>
(defsystem "test"<br>
  :components ((:file "test")))<br>
;;;
--------------------------------------------<br>
<br>
;;; test.lisp
------------------------------------<br>
<br>
<br>
(defpackage :test<br>
  (:use :common-lisp))<br>
<br>
(in-package :test)<br>
<br>
(defconstant *golden-ratio*
1.6180339887)<br>
;;;
--------------------------------------------<br>
<br>
In LW, I do:<br>
CL-USER 1 &gt; (require "asdf")<br>
CL-USER 2 &gt; (asdf:load-system
"test")<br>
<br>
and get:<br>
Error: Component "test" not found<br>
<br>
Thanks for any advice.<br>
<br>
Mitch<br>
<br>
<br>
_______________________________________________ Lisp Hug - the mailing
list for LispWorks users <a
class="moz-txt-link-abbreviated"
href="mailto:lisp-***@lispworks.com"
moz-do-not-send="true">lisp-***@lispworks.com</a>
<a
href="http://www.lispworks.com/support/lisp-hug.html"
style="color:#777"
moz-do-not-send="true">http://www.lispworks.com/support/lisp-hug.html</a></p>
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">Robert P. Goldman<br>
Research Fellow<br>
Smart Information Flow Technologies
(d/b/a SIFT, LLC)</p>
<p dir="auto">319 N. First Ave., Suite 400<br>
Minneapolis, MN 55401</p>
<p dir="auto">Voice: (612) 326-3934<br>
Email: <a
href="mailto:***@SIFT.net"
style="color:#3983C4"
moz-do-not-send="true">***@SIFT.net</a></p>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777;
color:#777;&#xA; margin:0 0 5px; padding-left:5px">
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">Robert P. Goldman<br>
Research Fellow<br>
Smart Information Flow Technologies (d/b/a SIFT,
LLC)</p>
<p dir="auto">319 N. First Ave., Suite 400<br>
Minneapolis, MN 55401</p>
<p dir="auto">Voice: (612) 326-3934<br>
Email: <a href="mailto:***@SIFT.net"
style="color:#3983C4" moz-do-not-send="true">***@SIFT.net</a></p>
</div>
</div>
</blockquote>
</div>
_______________________________________________
Lisp Hug - the mailing list for LispWorks users
<a class="moz-txt-link-abbreviated" href="mailto:lisp-***@lispworks.com">lisp-***@lispworks.com</a>
<a class="moz-txt-link-freetext" href="http://www.lispworks.com/support/lisp-hug.html">http://www.lispworks.com/support/lisp-hug.html</a></div>
</blockquote>
<div style="white-space:normal">
<blockquote style="border-left:2px solid #777; color:#777;
margin:0 0 5px; padding-left:5px">
</blockquote>
</div>
<div style="white-space:normal">
<p dir="auto">Robert P. Goldman<br>
Research Fellow<br>
Smart Information Flow Technologies (d/b/a SIFT, LLC)</p>
<p dir="auto">319 N. First Ave., Suite 400<br>
Minneapolis, MN 55401</p>
<p dir="auto">Voice: (612) 326-3934<br>
Email: <a href="mailto:***@SIFT.net"
style="color:#3983C4" moz-do-not-send="true">***@SIFT.net</a></p>
</div>
</div>
</blockquote>
</body>
</html>

Continue reading on narkive:
Search results for 'ASDF 3 on WIn 10 doesn't find component' (Questions and Answers)
77
replies
How does recycling work exactly? #ExplainThis?
started 2015-01-16 11:33:17 UTC
green living
Loading...