Not sure if it works the same on Lispworks, but in SBCL + Emacs/SLIME, you can target your library archive directly with ASDF instead of relying on the automated download.
In other words
(require 'asdf) (require 'asdf-install) (asdf-install:install "/path/to/your/cl-ppcre.tar.gz")
Obviously, you'll want to use the windows file path in place of that one. As long as the tarball has that asd file in it, it should work.
Now, for this library, you should just be able to do
(asdf-install:install 'cl-ppcre)
instead of getting your own download (this is probably what is meant by "the usual way"). cl-ppcre is well maintained, so ASDF should be able to handle the download for you unless the CLiki is down for whatever reason.
-Leo
PS. I remember the first few weeks of learning Lisp. It was goddamn infuriating. If it's any consolation at all, the feeling passes once you get your bearings.
On Tue, Nov 16, 2010 at 12:00 PM, toronto-lisp-request@common-lisp.netwrote:
Send toronto-lisp mailing list submissions to toronto-lisp@common-lisp.net
To subscribe or unsubscribe via the World Wide Web, visit http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp or, via email, send a message with subject or body 'help' to toronto-lisp-request@common-lisp.net
You can reach the person managing the list at toronto-lisp-owner@common-lisp.net
When replying, please edit your Subject line so it is more specific than "Re: Contents of toronto-lisp digest..."
Today's Topics:
- asdf / lispworks 6.0.1 personal edition question (Matijaca, Aleksandar)
- Re: asdf / lispworks 6.0.1 personal edition question (Brian Connoy)
Message: 1 Date: Mon, 15 Nov 2010 14:07:43 -0500 From: "Matijaca, Aleksandar" Aleksandar.Matijaca@rbccm.com Subject: [toronto-lisp] asdf / lispworks 6.0.1 personal edition question To: toronto-lisp@common-lisp.net Message-ID: BD3CC1693A9DA54C971EDAED1B7EF040018C35FF@SXGM-501.fg.rbc.com Content-Type: text/plain; charset="iso-8859-1"
Ok, so I downloaded the latest 6.0.1 Lispworks for windows, and I do not see anywhere in the gui even a mention of ASDF - there is no "button"... On their web site, they state that they have ASDF integration in IDE - I don't see it. The link in their web pages takes me here:
To use ASDF in the LispWorks IDE:
Load ASDF and some ASDF system definitions in the usual ASDF
way. 2. Load the file (example-file "misc/asdf-integration.lisp") .
From the above: Load ASDF and some ASDF system definitions in the usual
ASDF way. (WTF, I don't know what the "usual way" is...?) What is the usual way????
Ok, so I ran the second line called (example-file ...... And I assume that does something also, although they don't say what.... Why is it called example-file??? What is example-file? What kind of a function is that?
Ok, so, I also downloaded cl-ppcre-2.0.3 (I can't use quicklisp network type installations because I am at a bank, and they have serious firewalls preventing stuff just like this). So, I downloaded this package, and I unzipped it, and I did notice that there is amongst other files a cl-ppcre.asd file (probably important). So, this is what I have:
LispWorks 6.0.1 which is supposed to be already ASDF ready on Windows
Unzipped cl-ppcre-2.0.3
So, assuming that the whole thing is ASDF ready, how do I load up and "install" cl-ppcre-2.0.3
Why is this so friggin' frustrating - I just wanna code in Lisp, not fight Lispworks and ASDF...
Thanks, Alex.
This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message.
Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen.
Thanks I will try it!
________________________________
From: Leo Zovic [mailto:leo.zovic@gmail.com] Sent: 2010, November, 16 3:03 PM To: toronto-lisp@common-lisp.net Subject: Re: [toronto-lisp] toronto-lisp Digest, Vol 35, Issue 5
Not sure if it works the same on Lispworks, but in SBCL + Emacs/SLIME, you can target your library archive directly with ASDF instead of relying on the automated download.
In other words
(require 'asdf) (require 'asdf-install) (asdf-install:install "/path/to/your/cl-ppcre.tar.gz")
Obviously, you'll want to use the windows file path in place of that one. As long as the tarball has that asd file in it, it should work.
Now, for this library, you should just be able to do
(asdf-install:install 'cl-ppcre)
instead of getting your own download (this is probably what is meant by "the usual way"). cl-ppcre is well maintained, so ASDF should be able to handle the download for you unless the CLiki is down for whatever reason.
-Leo
PS. I remember the first few weeks of learning Lisp. It was goddamn infuriating. If it's any consolation at all, the feeling passes once you get your bearings.
On Tue, Nov 16, 2010 at 12:00 PM, toronto-lisp-request@common-lisp.net wrote:
Send toronto-lisp mailing list submissions to toronto-lisp@common-lisp.net To subscribe or unsubscribe via the World Wide Web, visit http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp or, via email, send a message with subject or body 'help' to toronto-lisp-request@common-lisp.net You can reach the person managing the list at toronto-lisp-owner@common-lisp.net When replying, please edit your Subject line so it is more specific than "Re: Contents of toronto-lisp digest..." Today's Topics: 1. asdf / lispworks 6.0.1 personal edition question (Matijaca, Aleksandar) 2. Re: asdf / lispworks 6.0.1 personal edition question (Brian Connoy) ---------------------------------------------------------------------- Message: 1 Date: Mon, 15 Nov 2010 14:07:43 -0500 From: "Matijaca, Aleksandar" Aleksandar.Matijaca@rbccm.com Subject: [toronto-lisp] asdf / lispworks 6.0.1 personal edition question To: toronto-lisp@common-lisp.net Message-ID: BD3CC1693A9DA54C971EDAED1B7EF040018C35FF@SXGM-501.fg.rbc.com Content-Type: text/plain; charset="iso-8859-1" Ok, so I downloaded the latest 6.0.1 Lispworks for windows, and I do not see anywhere in the gui even a mention of ASDF - there is no "button"... On their web site, they state that they have ASDF integration in IDE - I don't see it. The link in their web pages takes me here: To use ASDF in the LispWorks IDE: 1. Load ASDF and some ASDF system definitions in the usual ASDF way. 2. Load the file (example-file "misc/asdf-integration.lisp") . >From the above: Load ASDF and some ASDF system definitions in the usual ASDF way. (WTF, I don't know what the "usual way" is...?) What is the usual way???? Ok, so I ran the second line called (example-file ...... And I assume that does something also, although they don't say what.... Why is it called example-file??? What is example-file? What kind of a function is that? Ok, so, I also downloaded cl-ppcre-2.0.3 (I can't use quicklisp network type installations because I am at a bank, and they have serious firewalls preventing stuff just like this). So, I downloaded this package, and I unzipped it, and I did notice that there is amongst other files a cl-ppcre.asd file (probably important). So, this is what I have: LispWorks 6.0.1 which is supposed to be already ASDF ready on Windows Unzipped cl-ppcre-2.0.3 So, assuming that the whole thing is ASDF ready, how do I load up and "install" cl-ppcre-2.0.3 Why is this so friggin' frustrating - I just wanna code in Lisp, not fight Lispworks and ASDF... Thanks, Alex. _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen.
Any idea what's gone wrong?? Just trying to load asdf-install
CL-USER 1 > (load "c:/aa/asdf/asdf.lisp") ; Loading text file c:\aa\asdf\asdf.lisp #P"c:/aa/asdf/asdf.lisp"
CL-USER 2 > (load "c:/aa/asdf-install/asdf-install/load-asdf-install.lisp") ; Loading text file c:\aa\asdf-install\asdf-install\load-asdf-install.lisp ;;; ASDF-INSTALL: Loading ASDF-INSTALL package from directory ;;; "c:\aa\asdf-install\asdf-install"
; Loading text file c:\aa\asdf-install\asdf-install\defpackage.lisp ; Loading text file c:\aa\asdf-install\asdf-install\port.lisp ; Loading C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\comm-defsys.lisp on demand... ;; Creating system "COMM"
; Loading text file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\comm-pkg.lisp ; Loading fasl file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\sockets.ofasl ; Loading fasl file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\ssl-constants.ofasl ; Loading fasl file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\ssl-foreign-types.ofasl ; Loading fasl file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\ssl.ofasl ; Loading fasl file C:\Program Files\LispWorks Personal\lib\6-0-0-0\load-on-demand\processes\ssl-certs.ofasl
Error: Unmatched right parenthesis. 1 (continue) Try loading ASDF-INSTALL-LIBRARY:port.lisp again. 2 Give up loading ASDF-INSTALL-LIBRARY:port.lisp. 3 Try loading another file instead of ASDF-INSTALL-LIBRARY:port.lisp. 4 Try loading c:/aa/asdf-install/asdf-install/load-asdf-install.lisp again. 5 Give up loading c:/aa/asdf-install/asdf-install/load-asdf-install.lisp. 6 Try loading another file instead of c:/aa/asdf-install/asdf-install/load-asdf-install.lisp. 7 (abort) Return to level 0. 8 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.
ASDF-INSTALL 3 : 1 >
________________________________
From: Leo Zovic [mailto:leo.zovic@gmail.com] Sent: 2010, November, 16 3:03 PM To: toronto-lisp@common-lisp.net Subject: Re: [toronto-lisp] toronto-lisp Digest, Vol 35, Issue 5
Not sure if it works the same on Lispworks, but in SBCL + Emacs/SLIME, you can target your library archive directly with ASDF instead of relying on the automated download.
In other words
(require 'asdf) (require 'asdf-install) (asdf-install:install "/path/to/your/cl-ppcre.tar.gz")
Obviously, you'll want to use the windows file path in place of that one. As long as the tarball has that asd file in it, it should work.
Now, for this library, you should just be able to do
(asdf-install:install 'cl-ppcre)
instead of getting your own download (this is probably what is meant by "the usual way"). cl-ppcre is well maintained, so ASDF should be able to handle the download for you unless the CLiki is down for whatever reason.
-Leo
PS. I remember the first few weeks of learning Lisp. It was goddamn infuriating. If it's any consolation at all, the feeling passes once you get your bearings.
On Tue, Nov 16, 2010 at 12:00 PM, toronto-lisp-request@common-lisp.net wrote:
Send toronto-lisp mailing list submissions to toronto-lisp@common-lisp.net To subscribe or unsubscribe via the World Wide Web, visit http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp or, via email, send a message with subject or body 'help' to toronto-lisp-request@common-lisp.net You can reach the person managing the list at toronto-lisp-owner@common-lisp.net When replying, please edit your Subject line so it is more specific than "Re: Contents of toronto-lisp digest..." Today's Topics: 1. asdf / lispworks 6.0.1 personal edition question (Matijaca, Aleksandar) 2. Re: asdf / lispworks 6.0.1 personal edition question (Brian Connoy) ---------------------------------------------------------------------- Message: 1 Date: Mon, 15 Nov 2010 14:07:43 -0500 From: "Matijaca, Aleksandar" Aleksandar.Matijaca@rbccm.com Subject: [toronto-lisp] asdf / lispworks 6.0.1 personal edition question To: toronto-lisp@common-lisp.net Message-ID: BD3CC1693A9DA54C971EDAED1B7EF040018C35FF@SXGM-501.fg.rbc.com Content-Type: text/plain; charset="iso-8859-1" Ok, so I downloaded the latest 6.0.1 Lispworks for windows, and I do not see anywhere in the gui even a mention of ASDF - there is no "button"... On their web site, they state that they have ASDF integration in IDE - I don't see it. The link in their web pages takes me here: To use ASDF in the LispWorks IDE: 1. Load ASDF and some ASDF system definitions in the usual ASDF way. 2. Load the file (example-file "misc/asdf-integration.lisp") . >From the above: Load ASDF and some ASDF system definitions in the usual ASDF way. (WTF, I don't know what the "usual way" is...?) What is the usual way???? Ok, so I ran the second line called (example-file ...... And I assume that does something also, although they don't say what.... Why is it called example-file??? What is example-file? What kind of a function is that? Ok, so, I also downloaded cl-ppcre-2.0.3 (I can't use quicklisp network type installations because I am at a bank, and they have serious firewalls preventing stuff just like this). So, I downloaded this package, and I unzipped it, and I did notice that there is amongst other files a cl-ppcre.asd file (probably important). So, this is what I have: LispWorks 6.0.1 which is supposed to be already ASDF ready on Windows Unzipped cl-ppcre-2.0.3 So, assuming that the whole thing is ASDF ready, how do I load up and "install" cl-ppcre-2.0.3 Why is this so friggin' frustrating - I just wanna code in Lisp, not fight Lispworks and ASDF... Thanks, Alex. _______________________________________________________________________ This email is intended only for the use of the individual(s) to whom it is addressed and may be privileged and confidential. Unauthorised use or disclosure is prohibited. If you receive This e-mail in error, please advise immediately and delete the original message. This message may have been altered without your or our knowledge and the sender does not accept any liability for any errors or omissions in the message. Ce courriel est confidentiel et prot?g?. L'exp?diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d?sign?(s) est interdite. Si vous recevez ce courriel par erreur, veuillez m'en aviser imm?diatement, par retour de courriel ou par un autre moyen.
...
Error: Unmatched right parenthesis. 1 (continue) Try loading ASDF-INSTALL-LIBRARY:port.lisp again.
...
It's claiming that port.lisp has an extra right paren. LW considers this to be an error, maybe other lisps don't?
Use the editor to look at port.lisp and see if there really is an extra right paren. If not, there might be an unterminated string or split comment.
If there's nothing obviously wrong, use the editor to manually compile each defun, i.e. start at the top of the file, position the cursor at the end of the first sexp and hit ^X^E and watch the echo buffer and output viewer for success/fail messages. Walk down the file sexp by sexp until you find something wrong, then ask us again if it's not obvious.
pt