guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: probably simple module question


From: Neil Jerram
Subject: Re: probably simple module question
Date: 21 Dec 2001 08:24:05 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>>>> "Richard" == Richard Frith-Macdonald <address@hidden> writes:

    Richard> Probabaly a simple one ... I have a guile module I want
    Richard> to use on machines where I don't have root access.
    Richard> Normally I would install it in /usr/share/guile, and
    Richard> would simply be able to say (use-modules (subdirectory
    Richard> file)) to use the code from
    Richard> /usr/share/guile/subdirectory/file.sm What do I do if I
    Richard> can't install to /usr/share/guile?

Install somewhere below your own home directory and add the root to
GUILE_LOAD_PATH.

For example, if (foo bar) is installed in
/home/richard/Guile/modules/foo/bar.scm, you need

$ GUILE_LOAD_PATH=${GUILE_LOAD_PATH}:/home/richard/Guile/modules
$ export GUILE_LOAD_PATH

        Neil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]