Csound Csound-dev Csound-tekno Search About

Keeping and using different versions in OSX

Date2016-01-30 13:32
FromGuillermo Senna
SubjectKeeping and using different versions in OSX
Hi,

A friend asked me if it was possible to have different versions of 
Csound installed in OSX, and how to switch between them.

In linux this is really easy, all you have to do is export 
LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't 
seem to work when we tried it in his terminal. Any ideas?

Thanks.

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-30 13:37
FromVictor Lazzarini
SubjectRe: Keeping and using different versions in OSX
On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.

> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
> 
> Hi,
> 
> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
> 
> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
> 
> Thanks.
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-30 13:43
FromGuillermo Senna
SubjectRe: Keeping and using different versions in OSX
Hi Victor,

So there's no way of changing the environment variables to point to one 
or the other?

On 30/01/16 10:37, Victor Lazzarini wrote:
> On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.
>
>> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
>>
>> Hi,
>>
>> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
>>
>> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
>>
>> Thanks.
>>
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-30 14:07
FromVictor Lazzarini
SubjectRe: Keeping and using different versions in OSX
Looks like DYLD_FRAMEWORK_PATH does the job. I think the opcodes will also be found in the framework directory without
any further action.

========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 30 Jan 2016, at 13:43, Guillermo Senna  wrote:
> 
> Hi Victor,
> 
> So there's no way of changing the environment variables to point to one or the other?
> 
> On 30/01/16 10:37, Victor Lazzarini wrote:
>> On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.
>> 
>>> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
>>> 
>>> Hi,
>>> 
>>> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
>>> 
>>> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
>>> 
>>> Thanks.
>>> 
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-01-30 14:13
FromGuillermo Senna
SubjectRe: Keeping and using different versions in OSX
Cool! I'll try that when I have a chance. Thanks Victor.

On 30/01/16 11:07, Victor Lazzarini wrote:
> Looks like DYLD_FRAMEWORK_PATH does the job. I think the opcodes will also be found in the framework directory without
> any further action.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 30 Jan 2016, at 13:43, Guillermo Senna  wrote:
>>
>> Hi Victor,
>>
>> So there's no way of changing the environment variables to point to one or the other?
>>
>> On 30/01/16 10:37, Victor Lazzarini wrote:
>>> On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.
>>>
>>>> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
>>>>
>>>> Hi,
>>>>
>>>> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
>>>>
>>>> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
>>>>
>>>> Thanks.
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>        https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>          https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-02-06 03:57
FromGuillermo Senna
SubjectRe: Keeping and using different versions in OSX
Hi Victor,

Could you tell me how exactly are you exporting that variable to choose 
between different Csound installations? I tried doing a lot of things 
and I always get 6.06 or a segmentation fault.

Thanks.

On 30/01/16 11:07, Victor Lazzarini wrote:
> Looks like DYLD_FRAMEWORK_PATH does the job. I think the opcodes will also be found in the framework directory without
> any further action.
>
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 30 Jan 2016, at 13:43, Guillermo Senna  wrote:
>>
>> Hi Victor,
>>
>> So there's no way of changing the environment variables to point to one or the other?
>>
>> On 30/01/16 10:37, Victor Lazzarini wrote:
>>> On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.
>>>
>>>> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
>>>>
>>>> Hi,
>>>>
>>>> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
>>>>
>>>> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
>>>>
>>>> Thanks.
>>>>
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>        https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>          https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>        https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2016-02-07 10:37
FromVictor Lazzarini
SubjectRe: Keeping and using different versions in OSX
This variable needs to have the path to a directory where the framework is. For instance, say you have 
/Users/me/tmp/CsoundLib64.framework

then 

export DYLD_FRAMEWORK_PATH=/Users/me/tmp

regards

> On 6 Feb 2016, at 03:57, Guillermo Senna  wrote:
> 
> Hi Victor,
> 
> Could you tell me how exactly are you exporting that variable to choose between different Csound installations? I tried doing a lot of things and I always get 6.06 or a segmentation fault.
> 
> Thanks.
> 
>> On 30/01/16 11:07, Victor Lazzarini wrote:
>> Looks like DYLD_FRAMEWORK_PATH does the job. I think the opcodes will also be found in the framework directory without
>> any further action.
>> 
>> ========================
>> Dr Victor Lazzarini
>> Dean of Arts, Celtic Studies and Philosophy,
>> Maynooth University,
>> Maynooth, Co Kildare, Ireland
>> Tel: 00 353 7086936
>> Fax: 00 353 1 7086952
>> 
>>> On 30 Jan 2016, at 13:43, Guillermo Senna  wrote:
>>> 
>>> Hi Victor,
>>> 
>>> So there's no way of changing the environment variables to point to one or the other?
>>> 
>>>> On 30/01/16 10:37, Victor Lazzarini wrote:
>>>> On OSX you can keep different versions in /Library/Frameworks and ~/Library/Frameworks. The latter will be used first if found, so you could potentially switch between them by renaming it.
>>>> 
>>>>> On 30 Jan 2016, at 13:32, Guillermo Senna  wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> A friend asked me if it was possible to have different versions of Csound installed in OSX, and how to switch between them.
>>>>> 
>>>>> In linux this is really easy, all you have to do is export LD_LIBRARY_PATH && export OPCODE6DIR64 with the new paths. This didn't seem to work when we tried it in his terminal. Any ideas?
>>>>> 
>>>>> Thanks.
>>>>> 
>>>>> Csound mailing list
>>>>> Csound@listserv.heanet.ie
>>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>>> Send bugs reports to
>>>>>       https://github.com/csound/csound/issues
>>>>> Discussions of bugs and features can be posted here
>>>> Csound mailing list
>>>> Csound@listserv.heanet.ie
>>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>>> Send bugs reports to
>>>>         https://github.com/csound/csound/issues
>>>> Discussions of bugs and features can be posted here
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>>> Send bugs reports to
>>>       https://github.com/csound/csound/issues
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
>> Send bugs reports to
>>         https://github.com/csound/csound/issues
>> Discussions of bugs and features can be posted here
> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>       https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here