www.delorie.com/gnu/docs/guile/guile_409.html   search  
Buy GNU books!

Guile Reference Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

37.1 SLIB installation

The following seems to work (e.g., with slib versions 2c7 and 2d2):

  1. Unpack slib somewhere, e.g., /usr/local/share/slib.

  2. Create a symlink in the Guile site directory to slib, e.g.,:

    ln -s /usr/local/share/slib /usr/local/share/guile/site/slib

  3. Use Guile to create the catalog file, e.g.,:

    # guile
    guile> (use-modules (ice-9 slib))
    guile> (load "/usr/local/share/slib/mklibcat.scm")
    guile> (quit)

    The catalog data should now be in /usr/local/share/guile/site/slibcat.

    If instead you get an error such as:

    Unbound variable: scheme-implementation-type

    then a solution is to get a newer version of Guile, or to modify ice-9/slib.scm to use define-public for the offending variables.

  4. Install the documentation:

    cd /usr/local/share/slib
    rm /usr/local/info/slib.info*
    cp slib.info /usr/local/info
    install-info slib.info /usr/local/info/dir

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003