[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Managing Guile and extensions versions
From: |
Kevin Ryde |
Subject: |
Re: Managing Guile and extensions versions |
Date: |
Sun, 09 Oct 2005 11:53:02 +1000 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Vorfeed Canal <address@hidden> writes:
>
>> GUILE=/myexperiments/guile/bin/guile \
>> GUILE_CONFIG=/myexperiments/guile/bin/guile-config \
>> GUILE_TOOLS=/myexperiments/guile/bin/guile-tools \
I would set the PATH, this probably works though.
> $ /myexperiments/guile/bin/guile -c '(use myextension modulename) ...'
The short answer is: nothing special.
To run guile from a non-default location (anywhere except /usr I
think), I believe you need to put the new libdir into
LTDL_LIBRARY_PATH. This is so guile can find its own C code modules.
Having set that it will find extensions like yours too.
The alternative, as I said, is to have your scm know the libdir you
were configured with. This has the advantage of working if the user
installs your code to a different prefix than guile. (Which may be
unlikely, but is quite possible.)
(Indicentally, I think guile should know its own libdir and know to
look there. But a non-standard location is just that,
ie. non-standard, so it's not totally unreasonable to have to tell the
linking process about it.)
- Re: Managing Guile and extensions versions, Kevin Ryde, 2005/10/01
- Message not available
- Re: Managing Guile and extensions versions, Kevin Ryde, 2005/10/02
- Re: Managing Guile and extensions versions, Vorfeed Canal, 2005/10/04
- Re: Managing Guile and extensions versions, Kevin Ryde, 2005/10/04
- Re: Managing Guile and extensions versions, Vorfeed Canal, 2005/10/05
- Re: Managing Guile and extensions versions,
Kevin Ryde <=
- Re: Managing Guile and extensions versions, Vorfeed Canal, 2005/10/11
- Re: Managing Guile and extensions versions, Greg Troxel, 2005/10/11
- Re: Managing Guile and extensions versions, Kevin Ryde, 2005/10/11
Re: Managing Guile and extensions versions, Ludovic Courtès, 2005/10/03