Re: Compiling Lisp

Markus Grueneis <markus.grueneis@xxxxxx> wrote:
Juho Snellman schrieb:
Javier <javuchi@xxxxxxxxx> wrote:
If you distribute your application for Linux, it is better to
include a fasl file with a little script starting SBCL, inside a RPM or
DEB package, and a dependency to the SBCL package itself.

That doesn't sound like a very good idea.

SBCL fasls are version-specific, so the user would need to get an RPM
for exactly the right version of SBCL. A careless "yum update", and,

Well, what is a package system worth if it cannot handle versioned

No amount of version support in the package system is going to help,
if you don't have the right versions of the packages available. How
many versions of SBCL does your distribution have? Is any of those
versions (or more likely, that single version) still going to be
available six months from now?

BTW, the user should just do 'apt-get blub', and blub has
the correct version depency...

The only way where distributing applications like that would be even
remotely plausible, is if you happen to be in the position of getting
it into the same repository that the lisp implementation is in, so
that you can control that the SBCL package is not replaced with a
newer version. And conversely so that every time you release a new
version, you can also upgrade all of the packages that depend on it,
in lockstep.

Most people aren't in that position. So nobody will use their
software, because getting the right version would be such a pain.

oops, the application no longer works. Or if somebody needs to install
two applications distributed as fasl files, which were built using
different SBCL versions, he'd also have to install those two SBCL
versions installed on the same machine.

And what? One SBCL takes 25 MB + fasls. My GCC installation comes to..
pff, don't know, but 125? or so MB. Don't think this is problematic.
And you can always say /usr/...../sbcl/0.9.3/bin in the script.

Are you aware of anyone actually distributing rpms or debs of SBCL,
which allow you to install multiple versions of it on the same

Juho Snellman

Relevant Pages

  • Re: the best Linux for me
    ... I've ben using debian on my desktop for about 8 years, ... What's Debian's package / distro system called? ... cl-clx-sbcl - An X11 Common Lisp client library for SBCL ... You can also see how out of date my unstable install ...
  • Debian: SBCL: fails to install
    ... SBCL fails to install on current release of etch (i'm doing it on vmware, ... Reading package lists... ... (Dialog frontend will not work on a dumb terminal, ...
  • Re: Woohoo! My macros are now (semi) hygienic
    ... When I try to load it, SBCL is entirely unhappy about utilities.lisp ... which is a locked package: ... SBCL Manual, Package Locks ...
  • Re: initial package in REPL
    ... how to start the slime REPL in a package other than CL-USER. ... I am working in SLIME with a SBCL image which contains some things I ...
  • newbie question about load, eval-when and packages (sbcl)
    ... (defun hello () ... I am trying to use that package in another ... lisp program - and I want to dump an executable. ... This is SBCL 1.0.16, an implementation of ANSI Common Lisp. ...