I've been (re-)learning lisp on Mac OS X with SBCL and Aquamacs.
Great environment. So far, no complaints.
But I'd like to run the same code on a Linux server I have access to.
But because it is kernel version 2.4, the current SBCL binary doesn't
run because it lacks the proper threading support (yes, I see that the
NPTL is included in some 2.4 distributions, but no this server).
I guess I could recompile without threads. But I would much rather be
lazy and get a pre-built Common Lisp binary that will just run on my
server. I am not strongly wedded to SBCL yet (although I like it
alot), so I'm open to easy-to-install binaries of other CL's for Linux
2.4 as well. I tried the current binaries for several Lisps (CLisp,
Allegro free version, forget which others) but all had some issue with
one library or another.
So, suggestions?
Thanks in advance,
-jim rankin
········@gmail.com writes:
> I guess I could recompile without threads. But I would much rather be
> lazy and get a pre-built Common Lisp binary that will just run on my
> server.
I believe that the binaries the SBCL buildbot creates are threadless
at the moment. There's no guarantee they'll stay that way, but you
could try it.
http://sbcl.static.net/builds/
--
Alan Shutko <···@acm.org> - I am the rocks.
Feeling cold? Go to hell.
On Apr 22, 8:00 pm, Alan Shutko <····@acm.org> wrote:
> ········@gmail.com writes:
> I believe that the binaries the SBCL buildbot creates are threadless
> at the moment. There's no guarantee they'll stay that way, but you
> could try it.
>
> http://sbcl.static.net/builds/
I didn't have permissions to download from that server. However, I
just thought to give CMUCL a try, and the version I downloaded runs
without complaint!
Thanks for the suggestion anyways,
-jimbo
<········@gmail.com> wrote:
+---------------
| ... I'd like to run the same code on a Linux server I have access to.
| But because it is kernel version 2.4, the current SBCL binary doesn't
| run because it lacks the proper threading support (yes, I see that the
| NPTL is included in some 2.4 distributions, but no this server).
|
| I guess I could recompile without threads. But I would much rather be
| lazy and get a pre-built Common Lisp binary that will just run on my
| server. ... suggestions?
+---------------
Any recent binary distribution of CMUCL should run
on either Linux 2.4.x or 2.6.x. I'm currently running
CMUCL-19a(pre3) on Linux 2.4.21, and CMUCL-19c on all
of Linux 2.4.21, 2.6.7, 2.6.19, and 2.6.20.
CMUCL has only "green" threads (single-process coroutines),
but they're well-integrated with streams and the OS's "select()"
function [e.g., a "blocking" read automatically deschedules
the current thread until input data is ready and runs something
else in the mean time], and can be used for running multiple
simultaneous web requests quite handily. I run (or co-admin)
several web servers that use CMUCL as a persistent server
behind Apache (in a variant of "mod_lisp" style). It works
well (at least for the modest loads we serve).
-Rob
-----
Rob Warnock <····@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607
On Apr 22, 9:46 pm, ····@rpw3.org (Rob Warnock) wrote:
> Any recent binary distribution of CMUCL should run
> on either Linux 2.4.x or 2.6.x. I'm currently running
> CMUCL-19a(pre3) on Linux 2.4.21, and CMUCL-19c on all
> of Linux 2.4.21, 2.6.7, 2.6.19, and 2.6.20.
>
> CMUCL has only "green" threads (single-process coroutines),
> but they're well-integrated with streams and the OS's "select()"
> function [e.g., a "blocking" read automatically deschedules
> the current thread until input data is ready and runs something
> else in the mean time], and can be used for running multiple
> simultaneous web requests quite handily. I run (or co-admin)
> several web servers that use CMUCL as a persistent server
> behind Apache (in a variant of "mod_lisp" style). It works
> well (at least for the modest loads we serve).
>
> -Rob
I honestly thought to try CMUCL right before you posted this! But
thanks for the details! :)
-jimbo