From: Vladimir V. Zolotych
Subject: CL-HTTP issue
Date: 
Message-ID: <3ADFF8BE.C83E7096@eurocom.od.ua>
Hello

Help me with CL-HTTP please.

I've got CL-HTTP 70.23 from 
http://www.ai.mit.edu/projects/iiip/doc/cl-http/
Applied cmucl/cl-http-patches.text

All succeeded except one.
Hunk #3 FAILED at 259.
1 out of 3 hunks FAILED -- saving rejects to file client/flogger.lisp.rej

Changed server/authentication.lisp as suggested 

(add-realm :server :digest).

Checked *http-directory* and *cl-http-options*.

Then 
* (load "cmucl/start")
[snip]
;; Loading #p"/usr/local/lib/cl-http/src/cl-http-70-23/cmucl/server/sysdcl.lisp".

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   #() is not of type (OR CONS
                          BASE-STRING
                          (MEMBER NIL :UNSPECIFIC :WILD)
                          COMMON-LISP::PATTERN)
Can you help me with that ?

Could you suggest some reading (e.g. tutorial, introduction, etc)
to start with programming for CL-HTTP ? I'm familiar with
Apache and programming scripts for it on C,

Using CMUCL 18c , Slackware 7.0.

Thanks and regards

-- 
Vladimir Zolotych                         ······@eurocom.od.ua

From: Vladimir V. Zolotych
Subject: Re: CL-HTTP issue
Date: 
Message-ID: <3AE1C6C8.6305FC2F@eurocom.od.ua>
Some additional information (e.g backtrace).

0] backtrace

0: ("DEFUN MAKE-PATHNAME" 268433942 8)[:OPTIONAL]
1: (C::DO-CALL #<Code Object "DEFUN NEW-APPEND-DIRECTORIES" {48092B7F}>
               147
               148
               118
               ...)
2: (COMMON-LISP::SLOLOAD
    #<Stream for file "/home/vlz/lisp/src/cl-http/cl-http/cmucl/server/sysdcl.lisp">)
3: (COMMON-LISP::INTERNAL-LOAD
    #.(logical-pathname "HTTP:CMUCL;SERVER;SYSDCL.LISP")
    #p"/home/vlz/lisp/src/cl-http/cl-http/cmucl/server/sysdcl.lisp"
    :ERROR
    :SOURCE)
4: (COMMON-LISP::INTERNAL-LOAD
    #.(logical-pathname "HTTP:CMUCL;SERVER;SYSDCL.LISP")
    #p"/home/vlz/lisp/src/cl-http/cl-http/cmucl/server/sysdcl.lisp"
    :ERROR
    NIL)
5: (LOAD "HTTP:cmucl;server;sysdcl.lisp" :VERBOSE NIL :PRINT ...)
6: (COMMON-LISP::SLOLOAD
    #<Stream for file "/home/vlz/lisp/src/cl-http/cl-http/cmucl/start.lisp">)
7: (COMMON-LISP::INTERNAL-LOAD #p"cmucl/start.lisp"
                               #p"/home/vlz/lisp/src/cl-http/cl-http/cmucl/start.lisp"
                               :ERROR
                               :SOURCE)
8: (LOAD "cmucl/start" :VERBOSE NIL :PRINT ...)
9: (INTERACTIVE-EVAL (LOAD "cmucl/start"))
10: (COMMON-LISP::%TOP-LEVEL)
11: (COMMON-LISP::RESTART-LISP)

I still can't understand the problem.

-- 
Vladimir Zolotych                         ······@eurocom.od.ua
From: Simon Andr�s
Subject: Re: CL-HTTP issue
Date: 
Message-ID: <vcd7l0cg9c7.fsf@russell.math.bme.hu>
"Vladimir V. Zolotych" <······@eurocom.od.ua> writes:

> [...]
> 
> * (load "cmucl/start")
> [snip]
> ;; Loading #p"/usr/local/lib/cl-http/src/cl-http-70-23/cmucl/server/sysdcl.lisp".
> 
> Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
>    #() is not of type (OR CONS
>                           BASE-STRING
>                           (MEMBER NIL :UNSPECIFIC :WILD)
>                           COMMON-LISP::PATTERN)
> Can you help me with that ?
> 

You could try pushing :cmu17 on *features* before loading defsystem
(or replacing #+cmu17 with #+(or cmu 17 cmu18) or simply with #+cmu18
in defsystem.lisp). 

> Could you suggest some reading (e.g. tutorial, introduction, etc)
> to start with programming for CL-HTTP ? I'm familiar with
> Apache and programming scripts for it on C,
> 

Rainer Joswig had posted here a collection of useful(-looking)
pointers. I can't find it on deja now, so I'll just mail it to you
(it's longish).

> Using CMUCL 18c , Slackware 7.0.
> 

Andras

> -- 
> Vladimir Zolotych                         ······@eurocom.od.ua