On Fri, Aug 29, 2008 at 12:09:13PM +0300, Nikodemus Siivola wrote:
>From: Nikodemus Siivola <nikodemus@...>
>To: Gerard Robin <g.robin3@...>
>Cc: sbcl-help <sbcl-help@...>
>Subject: Re: [Sbcl-help] EVAL: undefined function DOTTED-TO-IPADDR
>
>On Fri, Aug 29, 2008 at 11:40 AM, Gerard Robin <g.robin3@...> wrote:
>> Hello,
>> I use Debian Sid and I installed the package cl-usocket then I did:
>>
>> (load "/usr/share/common-lisp/source/usocket/package.lisp")
>> (load "/usr/share/common-lisp/source/split-sequence/split-sequence.lisp")
>> (load "/usr/share/common-lisp/source/usocket/usocket.lisp")
>
>I am neither Common Lisp Controller expert, nor have I ever used
>usocket, but Iäm pretty sure this is not the correct way to load
>these:
>
> (require :usocket)
>
>would be my guess for the correct approach under Debian.
>
>> but
>> (dotted-to-ipaddr "212.27.54.252")
>> gives: EVAL: undefined function DOTTED-TO-IPADDR
>>
>> Can someone tell me in which package is situated the function dotted-to-ipaddr ?
>
>This is more properly a question for usocket mailing lists, but
>APROPOS can help you:
>
> (apropos "DOTTED-TO-IPADDR")
>
>or you could just look in
>"/usr/share/common-lisp/source/usocket/package.lisp". That said, I
>would guess USOCKET, or something like that.
>
>I also note that unless you are using a non-standard toplevel, this is
>not an SBCL error message
>
> EVAL: undefined function DOTTED-TO-IPADDR
>
>but looks rather like a Clisp one.
Yes I use alternatively clisp and sbcl in this case I tried with the two
versions of lisp but without success. (I posted the output of clisp ;-))
With sbcl (require :usocket) gives:
; loading system definition from
; /usr/lib/sbcl/sb-bsd-sockets/sb-bsd-sockets.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM SB-BSD-SOCKETS {1002F3BB81}> as SB-BSD-SOCKETS
; registering #<SYSTEM SB-BSD-SOCKETS-TESTS {10032015E1}> as
; SB-BSD-SOCKETS-TESTS
; loading system definition from
; /usr/share/common-lisp/systems/split-sequence.asd into #<PACKAGE "ASDF0">
; registering #<SYSTEM :SPLIT-SEQUENCE {1002BEADE1}> as SPLIT-SEQUENCE
("SB-BSD-SOCKETS")
(dotted-to-ipaddr "212.27.54.252")
; in: LAMBDA NIL
; (DOTTED-TO-IPADDR "212.27.54.252")
;
; caught STYLE-WARNING:
; undefined function: DOTTED-TO-IPADDR
;
; caught STYLE-WARNING:
; This function is undefined:
; DOTTED-TO-IPADDR
;
; compilation unit finished
; caught 2 STYLE-WARNING condition
debugger invoked on a UNDEFINED-FUNCTION in thread #<THREAD "initial thread" RUNNING {100266AAA1}>:
The function DOTTED-TO-IPADDR is undefined.
I looked in all files of usocket but never dotted-to-ipaddr appears.
thanks
--
Gérard
|