On Tue, Feb 26, 2008 at 05:59:56AM -0800, Andrew Lentvorski wrote:
David Brown wrote:
On Mon, Feb 25, 2008 at 11:10:49PM -0800, Tracy R Reed wrote:
Lisp has failed famously (for certain definitions of failed) for having so many implementations which results in no common libraries being built up etc.
This isn't really true.  <http://www.cliki.net/ASDF-Install> for a fairly
decent list of packages all with an auto-installer.  Most of these work
portably across multiple implementations.

Uh, yeah.  If you can get ASDF installed.

Hmm.  'emerge cl-asdf' seems to work fine.  It's fairly easy on Debian as
well.

What kind of problems did you have with ASDF?  All Gentoo does, it put the
following in /etc/gentoo-init.lisp, and them see that each implementation
loads this:

  (in-package #:cl-user)
  #+(or sbcl ecl) (require :asdf)
  #-(or sbcl ecl) (load #p"/usr/share/common-lisp/source/asdf/asdf.lisp")
  (push #P"/usr/share/common-lisp/systems/" asdf:*central-registry*)
  (push #P"/usr/local/share/common-lisp/systems/" asdf:*central-registry*)
  (asdf:oos 'asdf:load-op :asdf-binary-locations)
  (setf asdf:*centralize-lisp-binaries* t)
  (setf asdf:*source-to-target-mappings* '((#p"/usr/lib/sbcl/" nil) 
(#p"/usr/lib64/sbcl/" nil)))

Then you just symlink the .asd files into one of the directories in the
*central-registry* and it'll find them.

The conditional lines are because sbcl and ecl come with ASDF, so it can be
used with "require".

David

--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to