[updated for the brave new cclan world dan**20010628135117] { hunk ./doc/installation.html 8 -

Nobody has really got nice clean installation sorted out for CL -programs, AFAICS. I tend to take the view that exposing people to the -gritty Lisp details is probably more constructive than wrapping it all -up in shell scripts that don't work on anyone else's system. So, -installation takes a bit of fiddling and it helps to have used -mk-defsystem before. +

There are two routes to installation + +

The Easy Way

+ +

If you're using Debian GNU/Linux 'woody' or 'sid', you can add +the address of your nearest cCLan mirror to /etc/apt/sources.list, then apt-get +update; apt-get install araneida + +

Now you can skip to Use below + +

The Hard Way

+ +Otherwise, you need to read the rest of this: hunk ./doc/installation.html 24 + +
  • You need a CMUCL or SBCL implementation that has mk-defsystem +loaded into it. + +
  • From http://cclan.sourceforge.net/debian/source/ or mirror thereof you need + + + +
  • Untar these files somewhere and define logical path translations +so that CL-LIBRARY:DB-SOCKETS;, +CL-LIBRARY:NET-TELENT-DATE; and CL-LIBRARY:ARANEIDA; +point to the appropriate places. + +
  • Make your defsystem know how to find the system files. This +probably means putting symlinks to them into the current directory or +a directory in your *central-registry* list (see mk-defsystem +docs). + +
  • You should now be able to build the systems with +(make:compile-system 'araneida) + +
  • Congratulations. It's now working + +
  • + hunk ./doc/installation.html 56 -
  • Make your defsystem know how to find araneida.system. This -probably means putting it into the current directory or a directory in -your *central-registry* list (see mk-defsystem docs). The -`just-playing' short cut, incidentally, is to load it into -lisp before executing any load-system forms +

    Use

    hunk ./doc/installation.html 58 -
  • Work out what Lisp thinks your FQDN is +

    Oh, you wanted to be able to actually use it? hunk ./doc/installation.html 60 -

    -* (ext:host-entry-name (ext:lookup-host-entry (unix:unix-gethostname)))
    -
    +
      +
    1. There are example handlers in the examples/ subdirectory +(Debian binary users will find them in +/usr/share/doc/araneida/examples/ directory). Copy them to a +scratch directory, and arrange matters such that the system definition +in araneida-examples.system is valid (probably simplest just to edit +the source-pathname to reflect the actual location of the samples) hunk ./doc/installation.html 68 -It will probably help if this is correct, for at least some value of -``correct''. +
    2. Edit per-host.lisp to have appropriate values for your +local setup. You can override any setting in variables.lisp hunk ./doc/installation.html 71 -
    3. You need to provide appropriate values for your host for the -variables in examples/variables.lisp. So that you can keep settings -for multiple hosts, these are stored in (your hostname with dots -replaced by hyphens).lisp - see e.g. -tninkpad-telent-net.lisp. Create the appropriate file in the -examples directory +
    4. (make:compile-system 'araneida-examples) hunk ./doc/installation.html 88 - -
    5. (make:compile-system 'araneida) - -
    6. (make:compile-system 'araneida-examples) hunk ./doc/installation.html 105 -badly broken these instructions are. +badly broken these instructions are. And, ideally, in what way +they're broken. hunk ./doc/installation.html 110 -I'd like to say that there's a mailing list for Araneida users that -you can post to with installation problems and success stories. As -there's currently only one Araneida user that I'm aware of, I haven't -taken the time to set it up yet. }