Re: Problem with the compilation

Thomas Russ <[email protected]> Fri, 20 Jun 2003 08:56:48 -0700
Newsgroups gmane.lisp.cl-http
Message-ID <[email protected]>
On Friday, June 20, 2003, at 04:30  AM, Cristina Gema Muñoz Maya wrote:

> Hello!
>
>        I have a problem with the file's compilation. I compile with 
> the LispWork of Harlequín. The file is:
>
> (defmethod write-first-page ((url url:http-url) stream)
>              (http:with-conditional-get-response (stream :html)
>                             (html2:with-html-document (:stream stream)
>                                        
> (html:with-standard-document-body (:stream stream)
>                                                   (write-string "Hola" 
> stream)
>                                          )
>                             )
>                )
> )
> (http:export-url 
> "http://umbriel.lcc.uma.es:8000/cl-http/siidepe/pagina.html"
>                  :computed
>                  :response-function #'write-first-page)
>
>        And when i compile it says:  No package named "URL", and the 
> rest of the packages. I don't know why it doesn't find the packages. I 
> have tried it, too without the name of the packages, but i haven't got 
> anything.

You need to load cl-http first.

>
>        I don't know if have to write something more in the file, or 
> what to do, for the compiler finds the packages that are defined in 
> the cl-http.
>
> Thanks very much.    Cristina
>
> _________________________________________________________________
> Localiza y ponte en contacto con tus antiguos compañeros de clase en 
> MSN Compañeros.  http://mipasado.msn.es/