From: Tamas K Papp on 8 Mar 2010 05:11 On Mon, 08 Mar 2010 12:03:09 +0200, Teemu Likonen wrote: > * 2010-03-08 10:29 (+0100), Petter Gustad wrote: > >> You don't need the full webactions package to do a client side request, >> you can do with allegroserve only, or more specifically >> net.aserve.client:do-http-request >> >> Hoever, I've never used portable allegroserve under clisp so the >> dependency problems you describe might still be there. > > Yes, it didn't work with Clisp. > >> You could try Drakma: http://weitz.de/drakma/ > > Sadly that's not packaged for Debian and its dependencies can't be > satisfied with Debian packages. Too much hassle. It seems that > (run-program "wget") is the easiest solution, and the most portable. Only a fraction of libraries are packaged for Debian, so sticking to them is going to restrict your choices severely. As a longtime Debian user, I also thought I would get away with using only CL libraries in Debian, but soon I had to realize that this is not feasible. I would recommend that you try something like clbuild, which works very well. Tamas
From: Teemu Likonen on 8 Mar 2010 06:31 * 2010-03-08 10:11 (UTC), Tamas K. Papp wrote: > Only a fraction of libraries are packaged for Debian, so sticking to > them is going to restrict your choices severely. As a longtime Debian > user, I also thought I would get away with using only CL libraries in > Debian, but soon I had to realize that this is not feasible. I would > recommend that you try something like clbuild, which works very well. OK, thanks. I used clbuild to install drakma library and its dependencies. I have still problems. This works: (asdf:operate 'asdf:load-op :drakma) But trying to use (drakma:http-request "http://lisp.org/") in Clisp prints this error: NODELAY in SOCKET-CONNECT is unsupported.
From: Teemu Likonen on 9 Mar 2010 05:17 * 2010-03-08 13:31 (+0200), Teemu Likonen wrote: > But trying to use > > (drakma:http-request "http://lisp.org/") > > in Clisp prints this error: > > NODELAY in SOCKET-CONNECT is unsupported. OK, this feature just isn't supported in CLISP. My first experience with Common Lisp libraries is not exactly encouraging.
From: Petter Gustad on 9 Mar 2010 05:25 Teemu Likonen <tlikonen(a)iki.fi> writes: > OK, this feature just isn't supported in CLISP. My first experience with > Common Lisp libraries is not exactly encouraging. Do you have any particular reason why you want to use CLISP and not SBCL if you're on Linux? If not I would suggest using SBCL. Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
From: Zach Beane on 9 Mar 2010 06:01 Teemu Likonen <tlikonen(a)iki.fi> writes: > * 2010-03-08 13:31 (+0200), Teemu Likonen wrote: > >> But trying to use >> >> (drakma:http-request "http://lisp.org/") >> >> in Clisp prints this error: >> >> NODELAY in SOCKET-CONNECT is unsupported. > > OK, this feature just isn't supported in CLISP. My first experience with > Common Lisp libraries is not exactly encouraging. This is a good thing to report as a bug. The libraries aim to be portable, and this seems like an accidental incompatibility. Zach
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Utility to swap Caps Lock as Control key, or swap Control withAlt Next: interrupt sbcl x86-64 |