[Gardeners] python-on-lisp needs help
Stuart Sierra
mail at stuartsierra.com
Sat Jun 10 21:55:50 CDT 2006
"Alexis Gallagher" <public2 at alexisgallagher.com> writes:
> The Python-On-Lisp gardeners project has been making
> steady progress, and is at the point now where it needs
> some fresh eyes to shake out the last compatibility issues
> which prevent if from being brain dead easy to use.
Well, I can happily report that it ran fine on the first
try. (I don't use ASDF-INSTALL, I just downloaded the
tarball and symlinked the .asd file to my central registry.)
Details below.
Now I should get of my rear and finish Perl-in-Lisp.
Between the two, CL will suddenly be awash in libraries!
-Stuart
Details of my results, Gentoo Linux running on an AMD64 in
native 64-bit mode:
$ python
Python 2.4.2 (#1, Oct 29 2005, 15:40:55)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
$ find /usr/lib/ -name '*python*.so*'
/usr/lib/libpython2.3.so.1.0
/usr/lib/libpython2.3.so
/usr/lib/libpython2.4.so.1.0
/usr/lib/libpython2.4.so
in SBCL 0.9.13 :)
CL-USER> (py::py "print \"Hello, World!\"")
If you can see this, Python is loaded and working
Hello, World!
NIL
CL-USER> (py::get-web-page "http://www.google.com/")
<html><head><meta ...
in CLISP :)
GNU CLISP 2.35 (2005-08-29) (built 3337446125) (memory 3358963094)
[3]> (py::py "print \"Hello, World!\"")
sys:1: RuntimeWarning: Python C API version mismatch for
module pol: This Python has API version 1012, module pol has
version 1011.
If you can see this, Python is loaded and working
Hello, World!
NIL
in ECL (from CVS) :(
> (asdf:oos 'asdf:load-op :pythononlisp)
;;; Loading "/home/stuart/.asdf/source/pythononlisp/packages.lisp"
;;; Loading "/home/stuart/.asdf/source/pythononlisp/pythononlisp.lisp"
Unable to load any of the alternatives:
("libpython2.4.so.1.0" "libpython2.3.so.1.0")
Broken at CFFI::HANDLE-LOAD-FOREIGN-LIBRARY-ERROR.
More information about the Gardeners
mailing list