Elephant should work with Allegro on Win 32, it was my original
development platform for Elephant, although I haven't tried it in some
time. An earlier version of Elephant worked on Lispworks/Windows
although I think I recall some problems with the latest version of the
unstable tree.
My impression from the last time I tried it was that SBCL was
insufficiently mature on Win32 to be a reasonable configuration to
target. Has this changed? Is it getting more use?
I would check UFFI support first - for running with BDB that's likely
to be the hairy part. Replacing the sb-posix calls for Windows
shouldn't be too hard as Robert mentions. Threads aren't needed for
simple apps; I'm assuming you aren't going to be running this under a
lisp web server which seems to be the most common use of Elephant.
Ian
On Sep 12, 2008, at 11:07 PM, Robert L. Read wrote:
I think it largely that no one tests on that platform.
However, I personally don't know what the state of readiness of any
lisp
on Windows is. Elephant itself is moderate in its use of outside
systems, such as CL-SQL and BDB.
Someone who already had some experience porting to a Windows platform
could answer this better --- or maybe we even have a user who has done
it.
If all of the pieces are in place, I would guess it would be about a
three-day task, but it could be more, and someone with experience
might
do it faster.
I would be happy to answer your questions about Elephant as it is,
but I
don't plan to start running windows.
On Fri, 2008-09-12 at 16:36 -0700, Elliott Slaughter wrote:
Hi,
I would like to port a project of mine which currently uses
Allegro/ACache to Elephant. Installing and loading Elephant 0.9.1 on
Windows using Allegro 8.1, the precompiled dlls, and the default
config.sexpr worked fine, but an identical configuration in SBCL
1.0.13 failed with the following error:
; compiling file "C:\\Program Files\\asdf\\elephant\\src\\utils\
\os.lisp" (written 12 SEP 2008 03:09:13 PM):
; compiling (IN-PACKAGE :ELEPHANT-UTILS); compilation aborted because
of fatal error:
; READ failure in COMPILE-FILE:
; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 885 (line 27, column 27)
on #<SB-SYS:FD-STREAM for "file C:\\Program Files\\asdf\\elephant\
\src
\\utils\\os.lisp" {AB2CC49}>:
; package "SB-POSIX" not found
debugger invoked on a SB-INT:SIMPLE-FILE-ERROR:
couldn't remove "C:\\Program Files\\asdf\\elephant\\src\\utils\
\os.fasl":
Permission denied
Which is caused by using sb-posix:chdir in in-directory because
sb-posix doesn't exist in win32 builds of SBCL. I can't seem to find
any quick fixes,
but http://brainrack.wordpress.com/2008/05/29/running-sbcl-on-windows/
might help.
How much work would it be to get Elephant to work on Windows/SBCL? Do
you need threads or anything else that just isn't available for
Windows on SBCL? Or is it just that no one happens to test that
combination of platforms?
Thanks.
--
Elliott Slaughter
"Any road followed precisely to its end leads precisely nowhere." -
Frank Herbert
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel