ASDF 3 on WIn 10 doesn't find component
Robert Goldman
rpgoldman at sift.net
Tue Sep 18 21:02:40 UTC 2018
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
On 18 Sep 2018, at 15:24, Mitch Berkson wrote:
> 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%
> config/common-lisp/source-registry.conf.d/10-luser-lisp.conf with:
>
> (:tree (:home "d:/grouptix/"))
>
> But then when I:
> CL-USER 1 > (require "asdf")
> CL-USER 2 > (asdf:load-system "test")
>
> component "test" is not found although it's in d:/grouptix/
>
>
> On 9/18/2018 3:51 PM, Robert Goldman wrote:
>
>
>> 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
>>
>> On 18 Sep 2018, at 14:47, Mitch Berkson wrote:
>>
>>> Thanks. As you suggested, I was using %LOCALAPPDATA% instead of
>>> just `user-homedir-pathname` (which is C:\Users\Mitch\\)
>>>
>>> On 9/18/2018 3:27 PM, Robert Goldman wrote:
>>
>>>
>>>> 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.
>>>>
>>>> On 18 Sep 2018, at 11:11, Mitch Berkson wrote:
>>>>
>>>>> 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)
>> ;;; --------------------------------------------
>>
>> In LW, I do:
>> CL-USER 1 > (require "asdf")
>> CL-USER 2 > (asdf:load-system "test")
>>
>> and get:
>> Error: Component "test" not found
>>
>> Thanks for any advice.
>>
>> Mitch
>>
>>
>> _______________________________________________ Lisp Hug - the
>> mailing list for LispWorks users
>> [lisp-hug at lispworks.com](<mailto:lisp-hug at lispworks.com>)
>> <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: [rpgoldman at SIFT.net](<mailto:rpgoldman at SIFT.net>)
>>
>>> 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: [rpgoldman at SIFT.net](<mailto:rpgoldman at SIFT.net>)
>
> _______________________________________________ Lisp Hug - the mailing
> list for LispWorks users lisp-hug at lispworks.com
> 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: rpgoldman at SIFT.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20180918/adf9ff07/attachment.html>
More information about the asdf-devel
mailing list