Great.  Thanks.  That worked.

On 9/18/2018 5:02 PM, Robert Goldman wrote:

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-...@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: rpgold...@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: rpgold...@sift.net

_______________________________________________ Lisp Hug - the mailing list for LispWorks users lisp-...@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: rpgold...@sift.net

Reply via email to