Hello,
I'm trying to use CCLAN packages with cmucl or sbcl on a Debian system
and have run into many difficulties.
For example, I installed the cl-split-sequence package. Following the
example from the man page with cmucl I get the following:
* (require :split-sequence)
; Loading #p"/usr/share/common-lisp/systems/split-sequence.system".
(#<FILE: split-sequence>)
* (split-sequence #\; "a;;b;c")
Warning: This function is undefined:
SPLIT-SEQUENCE
Error in KERNEL:%COERCE-TO-FUNCTION: the function SPLIT-SEQUENCE is
undefined.
Restarts:
0: [ABORT] Return to Top-Level.
Debug (type H for help)
(KERNEL:%COERCE-TO-FUNCTION SPLIT-SEQUENCE)
Source:
; File: target:code/fdefinition.lisp
; File has been modified since compilation:
; target:code/fdefinition.lisp
I've tried upgrading common-lisp-controller, cmucl and sbcl to the latest
versions in unstable but the same behavior is occuring. Similar errors
occur with sbcl.
I'm just learning lisp so sorting this out for myself is a bit difficult
at this point. Can anyone suggest what I might be doing wrong ?
Gerard Flynn
Gerard Flynn <············@libertysurf.fr> writes:
> Hello,
>
> I'm trying to use CCLAN packages with cmucl or sbcl on a Debian
> system and have run into many difficulties.
>
> For example, I installed the cl-split-sequence package. Following
> the example from the man page with cmucl I get the following:
>
> * (require :split-sequence)
>
> ; Loading #p"/usr/share/common-lisp/systems/split-sequence.system".
> (#<FILE: split-sequence>)
>
> * (split-sequence #\; "a;;b;c")
> Warning: This function is undefined:
> SPLIT-SEQUENCE
I'm not using CCLAN or Debian but if it's the code from
<http://www-jcsu.jesus.cam.ac.uk/~csr21/split-sequence.lisp> you'll
have to use a command like
(use-package "SPLIT-SEQUENCE")
after your REQUIRE statement. An alternative approach would be to use
(split-sequence:split-sequence #\; "a;;b;c")
instead of
(split-sequence #\; "a;;b;c")
See the CLHS chapter about packages
<http://www.xanalys.com/software_tools/reference/HyperSpec/Body/11_.htm>
for details.
Edi.
Edi Weitz wrote:
>
> I'm not using CCLAN or Debian but if it's the code from
> <http://www-jcsu.jesus.cam.ac.uk/~csr21/split-sequence.lisp> you'll
> have to use a command like
>
> (use-package "SPLIT-SEQUENCE")
>
> after your REQUIRE statement. An alternative approach would be to use
>
> (split-sequence:split-sequence #\; "a;;b;c")
>
> instead of
>
> (split-sequence #\; "a;;b;c")
>
> See the CLHS chapter about packages
> <http://www.xanalys.com/software_tools/reference/HyperSpec/Body/11_.htm>
> for details.
>
> Edi.
Yes that works. Thanks a lot. (I guess I was taking the man page too
literally).
Gerard Flynn
Hi-
On Sun, 26 May 2002 21:45:58 -0300, Edi Weitz wrote:
> Gerard Flynn <············@libertysurf.fr> writes:
>
>> Hello,
>>
>> I'm trying to use CCLAN packages with cmucl or sbcl on a Debian
>> system and have run into many difficulties.
>>
>> For example, I installed the cl-split-sequence package. Following
>> the example from the man page with cmucl I get the following:
>>
>> * (require :split-sequence)
>>
>> ; Loading #p"/usr/share/common-lisp/systems/split-sequence.system".
>> (#<FILE: split-sequence>)
>>
I'd like to know if you just drop the LISP source file in that path.
Is that it?
Also, I really don't understand the Common LISP controller?
I just can't find any understandable "user friendly" documentation.
Anyone have a pointer?
Thanks
Best regards to all,
Henry
_________________________________________________________________
Micro$oft-Free Human 100% Debian GNU/Linux
KMFMS "Bring the genome to the people!
···········@debian-rs.org
www.debian.org - www.debian-br.cipsga.org.br - www.debian-rs.org
synthespian <···········@debian-rs.org> writes:
> I'd like to know if you just drop the LISP source file in that path.
> Is that it?
No, you install a Debian-style package (like, say, cl-mail-streams)
and it puts the source in the right places then runs funky shell scripts
> Also, I really don't understand the Common LISP controller?
You're not supposed to (have to) understand it. It Just[*] Works
If apt-get install cl-foo is not doing its magic as expected, report a
bug either to the cclan package maintainer (use the bug thingy at
cclan.sf.net) or in the Debian BTS against common-lisp-controller.
Usually the problem is with the specific package, though.
(For anyone else reading, if you're looking for a non-Debian system or
a not-limited-to-Debian system, we're working on that too. Go and
look at <URL:http://ww.telent.net/cliki/vn-cCLan>, read the links it
points to, and volunteer to do something ;-) )
[*] For, excuse me please Peter, some value of "just" ;-)
-dan
--
http://ww.telent.net/cliki/ - Link farm for free CL-on-Unix resources
On Mon, 27 May 2002 17:48:04 -0300, Daniel Barlow wrote:
> synthespian <···········@debian-rs.org> writes:
>
>> I'd like to know if you just drop the LISP source file in that path.
>> Is that it?
>
> No, you install a Debian-style package (like, say, cl-mail-streams) and
> it puts the source in the right places then runs funky shell scripts
>
>> Also, I really don't understand the Common LISP controller?
>
> You're not supposed to (have to) understand it. It Just[*] Works
>
Hi-
Veeery cool!
Except that: apt-get install cm-mail-streams is a no go on my Woody.
Will look if a bug report is needed.
BTW, what are other packages we can install automagically using our
belove apt tool on our beloved Debian distro?
> -dan
>
Cheers
Regs
H
e
n ···········@debian-rs.org
r
y
_________________________________________________________________
Micro$oft-Free Human 100% Debian GNU/Linux
KMFMS "Bring the genome to the people!
···········@debian-rs.org
www.debian.org - www.debian-br.cipsga.org.br - www.debian-rs.org
synthespian wrote:
>
> Veeery cool!
> Except that: apt-get install cm-mail-streams is a no go on my Woody.
> Will look if a bug report is needed.
>
Did you include the CCLAN lines (see http://cclan.sourceforge.net) in
your sources.list file ?
Gerard Flynn
>
>
> _________________________________________________________________
> Micro$oft-Free Human 100% Debian GNU/Linux
> KMFMS "Bring the genome to the people!
> ···········@debian-rs.org
> www.debian.org - www.debian-br.cipsga.org.br - www.debian-rs.org
Gerard Flynn <·····@lure.u-psud.fr> writes:
> synthespian wrote:
> >
> > Veeery cool!
> > Except that: apt-get install cm-mail-streams is a no go on my Woody.
> > Will look if a bug report is needed.
> >
>
> Did you include the CCLAN lines (see http://cclan.sourceforge.net) in
> your sources.list file ?
>
> Gerard Flynn
>
Hi-
Yep.
deb http://cclan.sourceforge.net/debian cclan lisp
What's wrong?
TIA
Regards,
Henry
···········@debian-rs.org
_________________________________________________________________
Micro$oft-Free Human 100% Debian GNU/Linux
KMFMS "Bring the genome to the people!
···········@debian-rs.org
www.debian.org - www.debian-br.cipsga.org.br - www.debian-rs.org
synthespian wrote:
> Gerard Flynn <·····@lure.u-psud.fr> writes:
>
>> synthespian wrote:
>> >
>> > Veeery cool!
>> > Except that: apt-get install cm-mail-streams is a no go on my Woody.
>> > Will look if a bug report is needed.
>> >
>>
>> Did you include the CCLAN lines (see http://cclan.sourceforge.net) in
>> your sources.list file ?
>>
>> Gerard Flynn
>>
> Hi-
>
> Yep.
> deb http://cclan.sourceforge.net/debian cclan lisp
>
> What's wrong?
>
> TIA
> Regards,
>
> Henry
> ···········@debian-rs.org
It's cl-mail-streams not cm.
Gerard Flynn