Re: ASDF 3 on WIn 10 doesn't find component
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)
Re: ASDF 3 on WIn 10 doesn't find component
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
Re: ASDF 3 on WIn 10 doesn't find component
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
[asdf-devel] How to have fasls go to a fasl directory under the source directory?
Is there a general way to have the fasls for files in a source directory default to being written to a fasl subdirectory of the source directory? So if I have the source in d:/lisp/lw-add-ons, I'd like the fasls to be written to d:/lisp/lw-add-ons. I have done this by adding a d:/lisp/.config/common-lisp/asdf-output-translations.conf.d/lw-add-ons-asdf.conf file containing:(d:/lisp/lw-add-ons/ d:/lisp/lw-add-ons/fasl/) But is there a way to make this the default behavior so that d:/lisp/other-system/ will have their fasls written to d:/lisp/other-system/fasl? Alternatively, could they be written to a central fasl directory but in a sub-directory named for the package? So d:/lisp/fasl/other-system/? This is on Win XP. Thanks for any help. Mitch Berkson ___ asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
[asdf-devel] Error writing some output translation
I am encountering the error below when trying to load-system from directory d:/foo/: Error: Failed to MAKE-DIRECTORY file C:\Documents and Settings\mitch\Application Data\common-lisp\cache\lispworks-6.0.1-windows-x86\d\foo\d:\: The filename, directory name, or volume label syntax is incorrect.(123). I am able to load-system systems I have downloaded (e.g., lw-add-ons, cl-pdf) which are in a different directory (d:/lisp/). I have fooled around with a .conf file in the d:/foo/.config/common-lisp/asdf-output-translations.conf.d/ directory but that hasn't helped. I'd appreciate any suggestions. Mitch Berkson ___ asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel
Re: [asdf-devel] Error writing some output translation
LW6. asdf 2.009 The trace results are lengthy, but the lines before the error are: 0 ASDF:MERGE-PATHNAMES* ... VALUE-0 : #Pd:/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl 0 ASDF:MERGE-PATHNAMES* ... ASDF::SPECIFIED : #P**/*.* ASDF::DEFAULTS : #Pd:/ 0 ASDF:MERGE-PATHNAMES* ... VALUE-0 : #Pd:/**/*.* 0 ASDF::TRANSLATE-PATHNAME* ... ASDF::PATH: #Pd:/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl ASDF::ABSOLUTE-SOURCE : #Pd:/**/*.* ASDF::DESTINATION : #PC:/Documents and Settings/mitch/Application Data/common-lisp/cache/lispworks-6.0.1-windows-x86/**/*.* ASDF::ROOT: #Pd:/ ASDF::SOURCE : T 1 ASDF:MERGE-PATHNAMES* ... ASDF::SPECIFIED : #P**/*.* ASDF::DEFAULTS : #Pd:/ 1 ASDF:MERGE-PATHNAMES* ... VALUE-0 : #Pd:/**/*.* 1 ASDF:MERGE-PATHNAMES* ... ASDF::SPECIFIED : #Pd:/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl ASDF::DEFAULTS : #Pd:/ 1 ASDF:MERGE-PATHNAMES* ... VALUE-0 : #Pd:/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl 1 ASDF:MERGE-PATHNAMES* ... ASDF::SPECIFIED : #P**/*.* ASDF::DEFAULTS : #Pd:/d/ 1 ASDF:MERGE-PATHNAMES* ... VALUE-0 : #Pd:/d/**/*.* 0 ASDF::TRANSLATE-PATHNAME* ... VALUE-0 : #PC:/Documents and Settings/mitch/Application Data/common-lisp/cache/lispworks-6.0.1-windows-x86/d/grouptix/d:/lisp/cl-pdf/pdf-template.ofasl Error: Failed to MAKE-DIRECTORY file C:\Documents and Settings\mitch\Application Data\common-lisp\cache\lispworks-6.0.1-windows-x86\d\grouptix\d:\: The filename, directory name, or volume label syntax is incorrect.(123). 1 (continue) Try recompiling pdf-template 2 Retry compiling component (grouptix-sys print-templates pdf-template). 3 Continue, treating compiling component (grouptix-sys print-templates pdf-template) as having been successful. 4 (abort) Return to level 0. 5 Return to top loop level 0. Type :b for backtrace or :c option number to proceed. Type :bug-form subject for a bug report template or :? for other options. On 10/17/2010 10:27 PM, Faré wrote: Which version of Lispworks are you using? (asdf:asdf-version) Can you (trace asdf::apply-output-translations asdf::translate-pathname* asdf::merge-pathnames*) ? [ François-René ÐVB Rideau | ReflectionCybernethics | http://fare.tunes.org ] Be wiser than other people if you can; but do not tell them so. — Chesterfield On 17 October 2010 19:17, Mitch Berksonmi...@bermita.com wrote: I am encountering the error below when trying to load-system from directory d:/foo/: Error: Failed to MAKE-DIRECTORY file C:\Documents and Settings\mitch\Application Data\common-lisp\cache\lispworks-6.0.1-windows-x86\d\foo\d:\: The filename, directory name, or volume label syntax is incorrect.(123). I am able to load-system systems I have downloaded (e.g., lw-add-ons, cl-pdf) which are in a different directory (d:/lisp/). I have fooled around with a .conf file in the d:/foo/.config/common-lisp/asdf-output-translations.conf.d/ directory but that hasn't helped. I'd appreciate any suggestions. Mitch Berkson ___ asdf-devel mailing list asdf-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel