Re: Webactions / SBCL

Memet Bilgin <[email protected]> Tue, 2 Jun 2009 20:20:10 -0400
Newsgroups gmane.lisp.open-source.franz
Message-ID <[email protected]>
  Elliott,

On 2-Jun-09, at 1:36 PM, Elliott Johnson wrote:

> Memet Bilgin <[email protected]> wrote:
>
>> 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.
> Sounds painfull.  Sorry to hear it caused you grief.

Such is life. But I now have a tree, and hopefully it'll have some  
fruits soon.

>> Thanks, let me know how it goes.
> Smoother than what you discribe, but still complex.  I grabbed sbcl  
> from
> git and built it with the :auto-close modification to sb-bsd-sockets.
> Then I grabbed portable-aserve code from cliki.net, unpacked it and
> linked in the asd files.  I did need to grab md5 from git.b9.com to  
> get
> all the requirements, but for all others I used what was provided in  
> the
> tar from cliki.net.

What you describe is what I ended up doing much later in the game as  
well, and I believe this is how it worked.

  I think the biggest trap was that:
a) debian's apt-get for sbcl returns sbcl 1.0.18 whereas the current  
sbcl I use is 1.0.28
b) apt-get for cl-aserve gets version 1.2.42 whereas the enhanced  
paserve from cliki is 1.2.47
c) apt-get also allows you to install cl-webactions separately
d) and finally: asdf-install allows you to download and install a  
stand alone version of acl-compat and also a package called aserve  
(both of whose versions I do not recall)

  To compound the issues, aserve seems to work just fine with the  
other acl-compat library, but webactions doesn't.

  So it's just that there's a bunch of convenience installers (asdf- 
install and apt-get) which have versions which aren't necessarily in  
sync, and it's not a good idea to mix them.

  Honestly, I do not think errors occurring from these mixed and  
matched versions need to be investigated. But perhaps there could be a  
central page (on cliki?) where the various state and version numbers  
of all libraries are noted.


>> PS. Is there some sort of smoke test for wa?
>
> There is a t-webactions.cl file in the portableaserve/webactions/test
> directory of the tarball that uses the tester test framework that
> can be found here:
>
>   http://opensource.franz.com/test/index.html
>
> I think we are going to put tester on github soon and then convert the
> opensource.franz.com page into basically a pointer to github, so that
> link in a few days might not work.  In that case go to:
>
>   http://opensource.franz.com
>
> and follow the link to tester.

  Thank you for this information.


  And thanks for looking into this. I appreciate your taking the time  
to share the experience.


  Regards,
Memet