Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to use it after installation?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
徐迪  
View profile  
 More options Jul 2 2011, 1:20 am
From: 徐迪 <xudi...@gmail.com>
Date: Sat, 2 Jul 2011 13:20:08 +0800
Local: Sat, Jul 2 2011 1:20 am
Subject: [cl-ppcre-devel] How to use it after installation?

Hi, there , excuse me for asking this stupid question, but I'm fresh
to common-lisp.
I knew from http://weitz.de/cl-ppcre/#install that debian can install
cl-ppcre from native package, so I use "apt-get install cl-ppcre" to
install, and there are no problem during installation, but i don't
know how to use it at all, should i just require from REPL? But it get
a error.
Maybe i just don't know how to use library in lisp, and i'm using
clisp.

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Uhl  
View profile  
 More options Jul 2 2011, 1:07 pm
From: Robert Uhl <eadmun...@gmail.com>
Date: Sat, 02 Jul 2011 11:07:47 -0600
Local: Sat, Jul 2 2011 1:07 pm
Subject: Re: [cl-ppcre-devel] How to use it after installation?

徐迪 <xudi...@gmail.com> writes:
> Hi, there , excuse me for asking this stupid question, but I'm fresh
> to common-lisp.
> I knew from http://weitz.de/cl-ppcre/#install that debian can install
> cl-ppcre from native package, so I use "apt-get install cl-ppcre" to
> install, and there are no problem during installation, but i don't
> know how to use it at all, should i just require from REPL? But it get
> a error.

What error are you getting?

> Maybe i just don't know how to use library in lisp, and i'm using
> clisp.

Once you have a library installed, it should be this easy:

  cl-user> (require :cl-ppcre)

If that's generating an error, it's possible that the Debian package has
problems.  You could try using ASDF-INSTALL to install it:

  cl-user> (require :asdf-install)
  cl-user> (asdf-install:install :cl-ppcre)

Or you could try using Quicklisp:

  $ wget http://beta.quicklisp.org/quicklisp.lisp
  $ clisp
  cluser> (load "quicklisp.lisp")
  cluser> (ql:quickload :cl-ppcre)

--
Robert A. Uhl

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Seibel  
View profile  
 More options Jul 2 2011, 1:21 pm
From: Peter Seibel <pe...@gigamonkeys.com>
Date: Sat, 2 Jul 2011 10:21:27 -0700
Local: Sat, Jul 2 2011 1:21 pm
Subject: Re: [cl-ppcre-devel] How to use it after installation?
For lisp libraries you should strongly prefer quicklisp to
asdf-install and probably to the Debian packages. If you have troubles
with that you can probably get some help from #quicklisp on
irc.freenode.net.

-Peter

--
Peter Seibel
http://www.codequarterly.com/

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
徐迪  
View profile  
 More options Jul 3 2011, 2:16 am
From: 徐迪 <xudi...@gmail.com>
Date: Sun, 3 Jul 2011 14:16:14 +0800
Local: Sun, Jul 3 2011 2:16 am
Subject: Re: [cl-ppcre-devel] How to use it after installation?

> What error are you getting?

> [1]> (require :cl-ppcre)

*** - LOAD: A file with name CL-PPCRE does not exist
The following restarts are available:
ABORT          :R1      Abort main loop

> Maybe i just don't know how to use library in lisp, and i'm using
> > clisp.

> Once you have a library installed, it should be this easy:

>  cl-user> (require :cl-ppcre)

If that's generating an error, it's possible that the Debian package has
> problems.  You could try using ASDF-INSTALL to install it:

>  cl-user> (require :asdf-install)
>  cl-user> (asdf-install:install :cl-ppcre)

> Yes, after i use asdf-install and asdf:load-system, i can use it, still how

asdf works...

Or you could try using Quicklisp:

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
徐迪  
View profile  
 More options Jul 3 2011, 2:17 am
From: 徐迪 <xudi...@gmail.com>
Date: Sun, 3 Jul 2011 14:17:57 +0800
Local: Sun, Jul 3 2011 2:17 am
Subject: Re: [cl-ppcre-devel] How to use it after installation?

2011/7/3 Peter Seibel <pe...@gigamonkeys.com>

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Uhl  
View profile  
 More options Jul 3 2011, 11:47 am
From: Robert Uhl <eadmun...@gmail.com>
Date: Sun, 03 Jul 2011 09:47:37 -0600
Local: Sun, Jul 3 2011 11:47 am
Subject: Re: [cl-ppcre-devel] How to use it after installation?

徐迪 <xudi...@gmail.com> writes:

>> What error are you getting?

>> [1]> (require :cl-ppcre)

> *** - LOAD: A file with name CL-PPCRE does not exist
> The following restarts are available:
> ABORT          :R1      Abort main loop

Ah-ha!  I bet that CLISP's (require :foo) is just a thin wrapper over
(load "foo.lisp"), instead of being a thin wrapper over (asdf:oos
asdf:'load-op :foo).

> Yes, after i use asdf-install and asdf:load-system, i can use it, still how
> asdf works...

I bet just asdf on its own would have worked.  You could remove the
version you installed and see if it uses the Debian package version
instead.

> Or you could try using Quicklisp:

>>  $ wget http://beta.quicklisp.org/quicklisp.lisp
>>  $ clisp
>>  cluser> (load "quicklisp.lisp")
>>  cluser> (ql:quickload :cl-ppcre
>> )

>  I will have a try, thanks for your response.

Quicklisp is really, really nice.  I have to second Peter's
recommendation.  Where it supports a package, it tends to be very
reliable.

--
Robert A. Uhl

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
徐迪  
View profile  
 More options Jul 3 2011, 11:03 pm
From: 徐迪 <xudi...@gmail.com>
Date: Mon, 4 Jul 2011 11:03:08 +0800
Local: Sun, Jul 3 2011 11:03 pm
Subject: Re: [cl-ppcre-devel] How to use it after installation?

> > Yes, after i use asdf-install and asdf:load-system, i can use it, still
> how
> > asdf works...

> I bet just asdf on its own would have worked.  You could remove the
> version you installed and see if it uses the Debian package version
> instead.

No, maybe it's weird, but after i remove Debian package, i can not use
asdf:load-system any longer...What a myth.

_______________________________________________
cl-ppcre-devel site list
cl-ppcre-de...@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-ppcre-devel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »