ASDF 3 on WIn 10 doesn't find component
Robert Goldman
rpgoldman at sift.net
Tue Sep 18 19:51:24 UTC 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20180918/47210922/attachment.html>
More information about the asdf-devel
mailing list