From: Gerard Flynn
Subject: How to use CCLAN packages
Date: 
Message-ID: <acruo9$1uan$1@news5.isdnet.net>
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

  

From: Edi Weitz
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <87sn4e2zax.fsf@bird.agharta.de>
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.
From: Gerard Flynn
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <acs32i$lck$1@news6.isdnet.net>
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
From: synthespian
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <pan.2002.05.27.13.31.04.192773.1358@debian-rs.org>
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
From: Daniel Barlow
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <87n0uluxkr.fsf@noetbook.telent.net>
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 
From: synthespian
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <pan.2002.05.29.00.08.08.776314.18395@debian-rs.org>
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
From: Gerard Flynn
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <ad20hk$jc1$1@upsn21.u-psud.fr>
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
From: synthespian
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <87elftfcbd.fsf@uol.com.br>
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
From: Gerard Flynn
Subject: Re: How to use CCLAN packages
Date: 
Message-ID: <ad81dd$kou$1@upsn21.u-psud.fr>
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