Re: Webactions / SBCL

Memet Bilgin <[email protected]> Mon, 1 Jun 2009 17:41:26 -0400
Newsgroups gmane.lisp.open-source.franz
Message-ID <[email protected]>
> Where is it failing?

  I've actually managed to make it work right now, however, I've made  
many many changes to the source and have had to recompile many times  
given that there's different versions of the libraries floating around.

  I have indeed rolled out my own version of sb-bsd-sockets with the  
added auto-close key. I also have to apply this kludge before loading/ 
compiling the files:

(defun SB-IMPL::char->utf8 (char) char)

  And finally, the load.cl file for webactions has a sys:copy-file  
function which does not exist out of the box on my sbcl. I've replaced  
this with a simple rename-file call.

  One thing that I know for sure is that using the acl-compat package  
you get from asdf-install does not work. It has to be the acl-compat  
from that enhanced paserve tarball from sourceforge. I think the  
SYS:copy-file method is defined in the other version of acl-compat.

  However, trying to build with that acl-compat gives me *many* errors  
with SB-GRAY:EXTERNAL-FORMAT value being unbound.

  Like I said, long story short is that it just doesn't work out of  
the box. Now I'm left wondering if it actually does work fully or if I  
just managed to make it simply build properly but there are some nasty  
bugs lurking inside.

  The other thing that worries me is that I originally had a built wa 
+aserve, but when actually going to a published wa page, it would  
chunk out with weird "OBJECTS not bound in CLP entity" style errors (I  
paraphrase). And sometimes, but not always, it would again chunk out  
with "2 is not a list", which through debugger inspection revealed  
that again OBJECTS was probably improperly assigned the value 2  
somewhere in the stack.
  These errors seem to be resolved now, mind you.



  Do you use wa/aserve it in on a production system with a lisp other  
than allegro? Or is it with AllegroCL?

>
> I can not say that I have, but I do have sbcl 1.0.28 installed on my
> kubuntu 9.04 laptop.  I remotely do webaction work on that machine
> and it would be fun to get it working via sbcl to do local  
> development.
>
> I'll try it out when I get home tonight and report back on how it went
> tomorrow.

Thanks, let me know how it goes.

Regards,
Memet


  PS. Is there some sort of smoke test for wa?