[toronto-lisp] toronto-lisp Digest, Vol 35, Issue 5

Matijaca, Aleksandar Aleksandar.Matijaca at rbccm.com
Tue Nov 16 20:05:05 UTC 2010


Thanks I will try it!
 

________________________________

From: Leo Zovic [mailto:leo.zovic at gmail.com] 
Sent: 2010, November, 16 3:03 PM
To: toronto-lisp at 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 at common-lisp.net>
wrote:


	Send toronto-lisp mailing list submissions to
	       toronto-lisp at 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 at common-lisp.net
	
	You can reach the person managing the list at
	       toronto-lisp-owner at 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 at rbccm.com>
	Subject: [toronto-lisp] asdf / lispworks 6.0.1 personal edition
	       question
	To: <toronto-lisp at common-lisp.net>
	Message-ID:
	
<BD3CC1693A9DA54C971EDAED1B7EF040018C35FF at 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.
	-------------- next part --------------
	An HTML attachment was scrubbed...
	URL:
http://common-lisp.net/pipermail/toronto-lisp/attachments/20101115/c9bd5
305/attachment.htm
	
	------------------------------
	
	Message: 2
	Date: Mon, 15 Nov 2010 21:33:09 +0000
	From: Brian Connoy <BConnoy at morrisonhershfield.com>
	Subject: Re: [toronto-lisp] asdf / lispworks 6.0.1 personal
edition
	       question
	To: "toronto-lisp at common-lisp.net"
<toronto-lisp at common-lisp.net>
	Message-ID:
<D24C273EE459364F85FF48051F75E9CA1B1AD110 at TDC39.mh.local>
	Content-Type: text/plain; charset="us-ascii"
	
	Here's a few quick replies.  I don't believe the personal
edition permits the use of an init file, so for now you'll be doing
things 'the hard way'.
	
	
	*         Click the File->Load menu on the main LispWorks menu
(or podium) and browse respectively to your "asdf.lisp" and
"cl-ppcre.asd" files.
	
	*         Load the asdf-integration as before.
	
	*         On the menu/podium again, click the icon for the
"System Browser".
	
	*         The ASDF integration is not obvious.  Look along the
right hand side of the System Browser for the three buttons, of a
checkmark, an X and some question marks.  Click the question marks and
you will be able to select from the available ASDF and LW systems.
	
	I think there's a glitch in the System Browser.  If you close
and reopen it, you'll probably see all loaded Systems displayed.  You
should be good to go as far as loading CL-PPCRE (although your next
stumbling block might be understanding Packages).
	
	As to the choice of EXAMPLE-FILE as a name, my guess is that the
ASDF integration provided by LW was originally a chargeable support
incident (a couple of mine are in the examples too) and that this
function is just a general convenience for loading examples.
	
	BC
	
	p.s.    Your feelings about fighting LispWorks are understood.
I had a heck of a time getting started, mainly because I had never
travelled in the 'Land of Lisp'!
	
	-------------- next part --------------
	An HTML attachment was scrubbed...
	URL:
http://common-lisp.net/pipermail/toronto-lisp/attachments/20101115/91801
003/attachment-0001.html
	
	------------------------------
	
	_______________________________________________
	toronto-lisp mailing list
	toronto-lisp at common-lisp.net
	http://common-lisp.net/cgi-bin/mailman/listinfo/toronto-lisp
	
	
	End of toronto-lisp Digest, Vol 35, Issue 5
	*******************************************
	


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/toronto-lisp/attachments/20101116/247f2a35/attachment.html>


More information about the toronto-lisp mailing list