Hello,
I'm trying to use ASDF (git repo) with Corman Lisp 3.0 natively on Windows. I managed to have Corman Lisp load ASDF, but now I have a configuration problem.
I have a file C:\Users\Didier.config\common-lisp\source-registry.conf which contains this:
(:source-registry (:tree "C:\Program Files (x86)\Common Files\Common Lisp") :inherit-configuration)
But ASDF doesn't find any of the packages I put there. asdf::*source-registry* seems to be NIL. What am I doing wrong ?
Thanks !
Cher Didier,
On Tue, Sep 11, 2012 at 11:39 AM, Didier Verna didier@lrde.epita.fr wrote:
I'm trying to use ASDF (git repo) with Corman Lisp 3.0 natively on Windows. I managed to have Corman Lisp load ASDF, but now I have a configuration problem.
I had no idea that anyone was still using Corman Lisp. With the author not replying to any of my emails for years, and the most active users long gone, I have classified the platform as "dead until further notice". I understand you too are trying to port your software to it, but that might be wasted time.
I have a file C:\Users\Didier.config\common-lisp\source-registry.conf which contains this:
(:source-registry (:tree "C:\Program Files (x86)\Common Files\Common Lisp") :inherit-configuration)
But ASDF doesn't find any of the packages I put there. asdf::*source-registry* seems to be NIL. What am I doing wrong ?
The first thing I'd do is check that it's not a silly issue of failing to escape \ as \.
The second thing I'd try on Corman Lisp would be to make sure these functions work: directory* directory-files subdirectories
The third thing I'd do would be to trace various functions in the ASDF package until I find out what's failing.
Sorry, the only people who can make me touch a Windows machine without paying me big bucks are my parents, so I won't do the debugging of Corman Lisp myself.
Bonne chance!
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org It’s amazing that the amount of news that happens in the world everyday always just exactly fits the newspaper.
Faré fahree@gmail.com wrote:
I had no idea that anyone was still using Corman Lisp. With the author not replying to any of my emails for years, and the most active users long gone, I have classified the platform as "dead until further notice". I understand you too are trying to port your software to it, but that might be wasted time.
Noted.
FWIW, I have made some progress: Corman Lisp's (user-homedir-pathname) happens to return a pathname with a file component, ie: - the directory part is \Users\ - the file part is Didier
As a consequence, calling PATHNAME-DIRECTORY on it returns C:\Users\ and the source registry becomes C:\Users.config\common-lisp\source-registry.conf (the actual user homedir is missing).
This is easily fixed with a Siebel-like PATHNAME-AS-DIRECTORY function. However, I ran into a bunch of other problems after that (such as the lack of a TRANSLATE-LOGICAL-PATHNAME function).
So given what you're saying above, I think I'll just give up.
Sorry, the only people who can make me touch a Windows machine without paying me big bucks are my parents
Well, I can always modify the envelope of my emails :-)
On Wed, Sep 12, 2012 at 9:13 AM, Didier Verna didier@lrde.epita.fr wrote:
Faré fahree@gmail.com wrote:
I had no idea that anyone was still using Corman Lisp. With the author not replying to any of my emails for years, and the most active users long gone, I have classified the platform as "dead until further notice". I understand you too are trying to port your software to it, but that might be wasted time.
Noted.
FWIW, I have made some progress: Corman Lisp's (user-homedir-pathname) happens to return a pathname with a file component, ie:
- the directory part is \Users\
- the file part is Didier
As a consequence, calling PATHNAME-DIRECTORY on it returns C:\Users\ and the source registry becomes C:\Users.config\common-lisp\source-registry.conf (the actual user homedir is missing).
This is easily fixed with a Siebel-like PATHNAME-AS-DIRECTORY function. However, I ran into a bunch of other problems after that (such as the lack of a TRANSLATE-LOGICAL-PATHNAME function).
That part easy: you could modify defun* user-homedir to wrap user-homedir-pathname in an ensure-directory-pathname.
As for translate-logical-pathname, there's a #+cormanlisp progn that could define it as identity.
Based on your report, I've committed these changes to asdf 2.24.3. Please test.
So given what you're saying above, I think I'll just give up.
Here, give it another try!
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org In its weak form, Utilitarianism sums up as a requirement of observational consistency and behavioral relevance for ethical rules. — Faré
Faré fahree@gmail.com wrote:
Based on your report, I've committed these changes to asdf 2.24.3. Please test.
So given what you're saying above, I think I'll just give up.
Here, give it another try!
Thank you son. I did get a little bit further; only to fall on what appears to be a cascade of subsequent Corman Lisp internal problems which I really don't have the time to track down right now. So again, thank you for the patch but I'm going to put this on hold at least for the time being.