Re: installing CL-HTTP on OpenGenera HOWTO?
Rainer Joswig <[email protected]> Sun, 1 Feb 2004 22:50:05 +0100
| Newsgroups | gmane.lisp.cl-http |
|---|---|
| Message-ID | <p06020402bc432331be3a@[80.171.19.2]> |
At 13:53 Uhr +0100 01.02.2004, Friedrich Dominicus wrote:
>I tried to install CL-HTTP on OpenGenera but I do not understand how
>to do that from sources. Is a install file like start.lisp available?
>
>Well I assume Lisp Machine hacker will have no problem with that task
>but it's too much for me....
>
>Regards
>Friedrich
From memory
Install the Lisp machine reel with the Restore Distribution
Activity.
> Select Activity Restore Distribution
Select the REEL file. Restore the packages to the file system.
Add HTTP as a service over TCP to your host description in the Namespace.
> Load System CL-HTTP :version newest
> Enable Service HTTP
Write an example page
Something like:
(defun foo (url stream)
(http:with-successful-response ....
(princ "hi" stream)))
(http:export-url #u"/foo"
:computed
:response-function 'foo)
There you are...