unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* installing different versions of the same module
@ 2017-05-06 16:54 Tim Chadburn
  2017-05-07  3:08 ` Mike Gran
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Chadburn @ 2017-05-06 16:54 UTC (permalink / raw)
  To: guile-user

Is it possible to have multiple different versions of the same module installed at the same time? Having read the documentation and inspected existing installed modules, the answer would appear to be "no", but I thought I'd better make sure. 

-- 
Tim Chadburn



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing different versions of the same module
  2017-05-06 16:54 installing different versions of the same module Tim Chadburn
@ 2017-05-07  3:08 ` Mike Gran
  2017-05-07 10:55   ` Amirouche
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Gran @ 2017-05-07  3:08 UTC (permalink / raw)
  To: Tim Chadburn, guile-user@gnu.org

On Saturday, May 6, 2017 2:00 PM, Tim Chadburn <tim@orbitalwintersong.org.uk> wrote:


>Is it possible to have multiple different versions of the same module installed >at the same time? Having read the documentation and inspected existing >installed modules, the answer would appear to be "no", but I thought I'd better >make sure. 


The simple answer is no.

But, you can install the different versions
in different paths and then change environment variables like
GUILE_LOAD_PATH to make sure you are picking the one that you want.

Of course, you can make it work if you really want to by
more drastic means that probably require that you load
the files at run-time or that you modify the modules to have
different 'define-module' declarations



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing different versions of the same module
  2017-05-07  3:08 ` Mike Gran
@ 2017-05-07 10:55   ` Amirouche
  2017-05-07 10:59     ` Amirouche
  0 siblings, 1 reply; 4+ messages in thread
From: Amirouche @ 2017-05-07 10:55 UTC (permalink / raw)
  To: guile-user



Le 07/05/2017 à 05:08, Mike Gran a écrit :
> On Saturday, May 6, 2017 2:00 PM, Tim Chadburn <tim@orbitalwintersong.org.uk> wrote:
>
>
>> Is it possible to have multiple different versions of the same module installed >at the same time? Having read the documentation and inspected existing >installed modules, the answer would appear to be "no", but I thought I'd better >make sure.
>
> The simple answer is no.
>
> But, you can install the different versions
> in different paths and then change environment variables like
> GUILE_LOAD_PATH to make sure you are picking the one that you want.
>
> Of course, you can make it work if you really want to by
> more drastic means that probably require that you load
> the files at run-time or that you modify the modules to have
> different 'define-module' declarations
>
Also it's possible to do in guix



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: installing different versions of the same module
  2017-05-07 10:55   ` Amirouche
@ 2017-05-07 10:59     ` Amirouche
  0 siblings, 0 replies; 4+ messages in thread
From: Amirouche @ 2017-05-07 10:59 UTC (permalink / raw)
  To: guile-user



Le 07/05/2017 à 12:55, Amirouche a écrit :
>
>
> Le 07/05/2017 à 05:08, Mike Gran a écrit :
>> On Saturday, May 6, 2017 2:00 PM, Tim Chadburn 
>> <tim@orbitalwintersong.org.uk> wrote:
>>
>>
>>> Is it possible to have multiple different versions of the same 
>>> module installed >at the same time? Having read the documentation 
>>> and inspected existing >installed modules, the answer would appear 
>>> to be "no", but I thought I'd better >make sure.
>>
>> The simple answer is no.
>>
>> But, you can install the different versions
>> in different paths and then change environment variables like
>> GUILE_LOAD_PATH to make sure you are picking the one that you want.
>>
>> Of course, you can make it work if you really want to by
>> more drastic means that probably require that you load
>> the files at run-time or that you modify the modules to have
>> different 'define-module' declarations
>>
> Also it's possible to do in guix

I  have no example at hand. You can set up environments using guix which 
will automatically setup the environment variables for you where you 
have a given version of dependency while your regular GUILE_LOAD_PATH 
has another version of the same lib or not at all.

That is what guix-tox afaiu for python deps.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-05-07 10:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-06 16:54 installing different versions of the same module Tim Chadburn
2017-05-07  3:08 ` Mike Gran
2017-05-07 10:55   ` Amirouche
2017-05-07 10:59     ` Amirouche

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).