Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly

Date2008-09-17 02:22
From"Art Hunkins"
Subject[Csnd] Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly
Unfortunately, Andres is correct.

I tried it. OPCODEDIR cannot be set in .csoundrc.

Art Hunkins

----- Original Message ----- 
From: "Andres Cabrera" 
To: 
Sent: Tuesday, September 16, 2008 8:15 PM
Subject: [Csnd] Re: Re: Re: Re: 5.09 Windows float installer anomoly


I think OPCODEDIR is parsed before the command line, so changing it on
the command line may have no effect. One solution might be writing a
batch file which sets the appropriate value. If it was bash instead of
DOS I would be able to help...

Cheers,
Andrés

On Tue, Sep 16, 2008 at 6:49 PM, Steven Yi  wrote:
> Hi Art,
>
> One solution might be to override any environment variables using
> "--env:NAME=VALUE" as a commandline flag to csound.  I think you can
> do this in a .csoundrc file though am not absolutely positive on that.
>
> steven
>
> On Tue, Sep 16, 2008 at 4:42 PM, Art Hunkins  wrote:
>> Michael,
>>
>> I was totally wrong about this. The blank .csoundrc solves nothing. (I 
>> think
>> I've been looking at a computer monitor for too long.)
>>
>> Aside from your suggestion, if you're running Csound from within a single
>> directory (as I am), you must delete the OPCODEDIR environment variable.
>> Even with all the plugins present. (Deleting other environment variables 
>> is
>> apparently optional, at least for my purposes; I haven't tested with 
>> audio
>> samples.)
>>
>> Sorry again for the confusion.
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "Art Hunkins" 
>> To: 
>> Sent: Tuesday, September 16, 2008 2:10 PM
>> Subject: Re: [Csnd] Re: 5.09 Windows float installer anomoly
>>
>>
>>> Hi, Michael,
>>>
>>> Thanks for the clarifications and suggestions.
>>>
>>> I had forgotten that installing new versions of Csound produces an
>>> environment variable that points to its new .csoundrc file. And this is 
>>> the
>>> real problem I've faced.
>>>
>>> As a result, even if all the required files for an older version are
>>> present in the older folder I'm running in, that new version .csoundrc 
>>> file
>>> creates all the errors I've detailed.
>>>
>>> This is one reason why I've always preferred a .zip distribution that 
>>> did
>>> not auto-set environment variables. (One as an *alternative* to the
>>> installer, not a replacement.)
>>>
>>> In any case, I prefer not to have environment variables, and to include
>>> all my flags in .
>>>
>>> To keep the .csoundrc file from changing Csound defaults, I see that I 
>>> can
>>> have my "installer cake" and eat it too by simply including a blank
>>> .csoundrc file in my home directory(ies). That works fine - and I don't 
>>> have
>>> to worry about which versions of Csound I might install later.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- From: "Michael Gogins" 
>>> 
>>> To: 
>>> Sent: Tuesday, September 16, 2008 9:29 AM
>>> Subject: [Csnd] Re: 5.09 Windows float installer anomoly
>>>
>>>
>>>> You need to set up separate environments for your different Csound
>>>> installations. If you do this, you will have no trouble running as many
>>>> versions of Csound or your other software on the same computer as you 
>>>> like.
>>>>
>>>> There are several ways of doing this, but the easiest way is use batch
>>>> files that first set the required environment variables, then launch 
>>>> Csound
>>>> or another application that you want to run in that environment, then
>>>> "pause" so you can see what happened if it didn't work.
>>>>
>>>> If your default environment has the wrong OPCODEDIR, in your batch file
>>>> environment you can simply reset it. This will not affect the default
>>>> environnent, just the "local" environment.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> -----Original Message-----
>>>>>
>>>>> From: Art Hunkins 
>>>>> Sent: Sep 15, 2008 11:24 PM
>>>>> To: csound@lists.bath.ac.uk
>>>>> Subject: [Csnd] 5.09 Windows float installer anomoly
>>>>>
>>>>> Unusual new behavior upon doing above install.
>>>>>
>>>>> I have a special pared-down version of of Csound 5.06 installed in a
>>>>> single
>>>>> folder, with my .csd files running (in Lettuce) completely within this
>>>>> folder. No environment variables are needed or desired. Everything 
>>>>> works
>>>>> fine.
>>>>>
>>>>> I install 5.09 from the installer in a different location, complete
>>>>> (unfortunately) with a set of environment variables. These variables,
>>>>> especially OPCODEDIR, prevent my 5.06 system from running. The 5.09
>>>>> environment variables take over, look for everything in the 5.09
>>>>> folders,
>>>>> and tell me everything is an incompatible version. (I expect that it's
>>>>> OPCODEDIR pointing to 5.09.)
>>>>>
>>>>> To my knowledge this never happened before. The environment variables
>>>>> did
>>>>> *not* "take over" my self-contained 5.06 installation.
>>>>>
>>>>> I really need to be able to run from a single folder regardless of 
>>>>> what
>>>>> other Csound installations may be on a given machine, or regardless of
>>>>> what
>>>>> the environment variables are (I'm in XP here).
>>>>>
>>>>> My understanding is that first Csound looks for everything in the
>>>>> current
>>>>> directory, and only if it does not find what it needs there, looks
>>>>> elsewhere
>>>>> (according to environment variables). This does not seem to be 
>>>>> happening
>>>>> with 5.09.
>>>>>
>>>>> Please someone (Michael?) straighten me out.
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"= 


Date2008-09-17 02:46
From"Steven Yi"
Subject[Csnd] Re: Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly
AttachmentsNone  

Date2008-09-17 23:32
From"SiobhanUTVSMcM"
Subject[Csnd] RE: Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly
 OPCODEDIR
At last someone else has hightlighted this problem...nearly wrecked my head
finding a solution...I tried environment variables and had to edit that a
number of times...
Bauny

-----Original Message-----
From: Art Hunkins [mailto:abhunkin@uncg.edu] 
Sent: 17 September 2008 02:22
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly

Unfortunately, Andres is correct.

I tried it. OPCODEDIR cannot be set in .csoundrc.

Art Hunkins

----- Original Message -----
From: "Andres Cabrera" 
To: 
Sent: Tuesday, September 16, 2008 8:15 PM
Subject: [Csnd] Re: Re: Re: Re: 5.09 Windows float installer anomoly


I think OPCODEDIR is parsed before the command line, so changing it on
the command line may have no effect. One solution might be writing a
batch file which sets the appropriate value. If it was bash instead of
DOS I would be able to help...

Cheers,
Andrés

On Tue, Sep 16, 2008 at 6:49 PM, Steven Yi  wrote:
> Hi Art,
>
> One solution might be to override any environment variables using
> "--env:NAME=VALUE" as a commandline flag to csound.  I think you can
> do this in a .csoundrc file though am not absolutely positive on that.
>
> steven
>
> On Tue, Sep 16, 2008 at 4:42 PM, Art Hunkins  wrote:
>> Michael,
>>
>> I was totally wrong about this. The blank .csoundrc solves nothing. (I 
>> think
>> I've been looking at a computer monitor for too long.)
>>
>> Aside from your suggestion, if you're running Csound from within a single
>> directory (as I am), you must delete the OPCODEDIR environment variable.
>> Even with all the plugins present. (Deleting other environment variables 
>> is
>> apparently optional, at least for my purposes; I haven't tested with 
>> audio
>> samples.)
>>
>> Sorry again for the confusion.
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "Art Hunkins" 
>> To: 
>> Sent: Tuesday, September 16, 2008 2:10 PM
>> Subject: Re: [Csnd] Re: 5.09 Windows float installer anomoly
>>
>>
>>> Hi, Michael,
>>>
>>> Thanks for the clarifications and suggestions.
>>>
>>> I had forgotten that installing new versions of Csound produces an
>>> environment variable that points to its new .csoundrc file. And this is 
>>> the
>>> real problem I've faced.
>>>
>>> As a result, even if all the required files for an older version are
>>> present in the older folder I'm running in, that new version .csoundrc 
>>> file
>>> creates all the errors I've detailed.
>>>
>>> This is one reason why I've always preferred a .zip distribution that 
>>> did
>>> not auto-set environment variables. (One as an *alternative* to the
>>> installer, not a replacement.)
>>>
>>> In any case, I prefer not to have environment variables, and to include
>>> all my flags in .
>>>
>>> To keep the .csoundrc file from changing Csound defaults, I see that I 
>>> can
>>> have my "installer cake" and eat it too by simply including a blank
>>> .csoundrc file in my home directory(ies). That works fine - and I don't 
>>> have
>>> to worry about which versions of Csound I might install later.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- From: "Michael Gogins" 
>>> 
>>> To: 
>>> Sent: Tuesday, September 16, 2008 9:29 AM
>>> Subject: [Csnd] Re: 5.09 Windows float installer anomoly
>>>
>>>
>>>> You need to set up separate environments for your different Csound
>>>> installations. If you do this, you will have no trouble running as many
>>>> versions of Csound or your other software on the same computer as you 
>>>> like.
>>>>
>>>> There are several ways of doing this, but the easiest way is use batch
>>>> files that first set the required environment variables, then launch 
>>>> Csound
>>>> or another application that you want to run in that environment, then
>>>> "pause" so you can see what happened if it didn't work.
>>>>
>>>> If your default environment has the wrong OPCODEDIR, in your batch file
>>>> environment you can simply reset it. This will not affect the default
>>>> environnent, just the "local" environment.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> -----Original Message-----
>>>>>
>>>>> From: Art Hunkins 
>>>>> Sent: Sep 15, 2008 11:24 PM
>>>>> To: csound@lists.bath.ac.uk
>>>>> Subject: [Csnd] 5.09 Windows float installer anomoly
>>>>>
>>>>> Unusual new behavior upon doing above install.
>>>>>
>>>>> I have a special pared-down version of of Csound 5.06 installed in a
>>>>> single
>>>>> folder, with my .csd files running (in Lettuce) completely within this
>>>>> folder. No environment variables are needed or desired. Everything 
>>>>> works
>>>>> fine.
>>>>>
>>>>> I install 5.09 from the installer in a different location, complete
>>>>> (unfortunately) with a set of environment variables. These variables,
>>>>> especially OPCODEDIR, prevent my 5.06 system from running. The 5.09
>>>>> environment variables take over, look for everything in the 5.09
>>>>> folders,
>>>>> and tell me everything is an incompatible version. (I expect that it's
>>>>> OPCODEDIR pointing to 5.09.)
>>>>>
>>>>> To my knowledge this never happened before. The environment variables
>>>>> did
>>>>> *not* "take over" my self-contained 5.06 installation.
>>>>>
>>>>> I really need to be able to run from a single folder regardless of 
>>>>> what
>>>>> other Csound installations may be on a given machine, or regardless of
>>>>> what
>>>>> the environment variables are (I'm in XP here).
>>>>>
>>>>> My understanding is that first Csound looks for everything in the
>>>>> current
>>>>> directory, and only if it does not find what it needs there, looks
>>>>> elsewhere
>>>>> (according to environment variables). This does not seem to be 
>>>>> happening
>>>>> with 5.09.
>>>>>
>>>>> Please someone (Michael?) straighten me out.
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"= 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"



Date2008-09-17 23:35
From"SiobhanUTVSMcM"
Subject[Csnd] RE: Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly
matter of fact anything I changed in the csoundrc file caused problems on
windows xp...
bauny

-----Original Message-----
From: Art Hunkins [mailto:abhunkin@uncg.edu] 
Sent: 17 September 2008 02:22
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: Re: Re: Re: Re: 5.09 Windows float installer anomoly

Unfortunately, Andres is correct.

I tried it. OPCODEDIR cannot be set in .csoundrc.

Art Hunkins

----- Original Message -----
From: "Andres Cabrera" 
To: 
Sent: Tuesday, September 16, 2008 8:15 PM
Subject: [Csnd] Re: Re: Re: Re: 5.09 Windows float installer anomoly


I think OPCODEDIR is parsed before the command line, so changing it on
the command line may have no effect. One solution might be writing a
batch file which sets the appropriate value. If it was bash instead of
DOS I would be able to help...

Cheers,
Andrés

On Tue, Sep 16, 2008 at 6:49 PM, Steven Yi  wrote:
> Hi Art,
>
> One solution might be to override any environment variables using
> "--env:NAME=VALUE" as a commandline flag to csound.  I think you can
> do this in a .csoundrc file though am not absolutely positive on that.
>
> steven
>
> On Tue, Sep 16, 2008 at 4:42 PM, Art Hunkins  wrote:
>> Michael,
>>
>> I was totally wrong about this. The blank .csoundrc solves nothing. (I 
>> think
>> I've been looking at a computer monitor for too long.)
>>
>> Aside from your suggestion, if you're running Csound from within a single
>> directory (as I am), you must delete the OPCODEDIR environment variable.
>> Even with all the plugins present. (Deleting other environment variables 
>> is
>> apparently optional, at least for my purposes; I haven't tested with 
>> audio
>> samples.)
>>
>> Sorry again for the confusion.
>>
>> Art Hunkins
>>
>> ----- Original Message ----- From: "Art Hunkins" 
>> To: 
>> Sent: Tuesday, September 16, 2008 2:10 PM
>> Subject: Re: [Csnd] Re: 5.09 Windows float installer anomoly
>>
>>
>>> Hi, Michael,
>>>
>>> Thanks for the clarifications and suggestions.
>>>
>>> I had forgotten that installing new versions of Csound produces an
>>> environment variable that points to its new .csoundrc file. And this is 
>>> the
>>> real problem I've faced.
>>>
>>> As a result, even if all the required files for an older version are
>>> present in the older folder I'm running in, that new version .csoundrc 
>>> file
>>> creates all the errors I've detailed.
>>>
>>> This is one reason why I've always preferred a .zip distribution that 
>>> did
>>> not auto-set environment variables. (One as an *alternative* to the
>>> installer, not a replacement.)
>>>
>>> In any case, I prefer not to have environment variables, and to include
>>> all my flags in .
>>>
>>> To keep the .csoundrc file from changing Csound defaults, I see that I 
>>> can
>>> have my "installer cake" and eat it too by simply including a blank
>>> .csoundrc file in my home directory(ies). That works fine - and I don't 
>>> have
>>> to worry about which versions of Csound I might install later.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- From: "Michael Gogins" 
>>> 
>>> To: 
>>> Sent: Tuesday, September 16, 2008 9:29 AM
>>> Subject: [Csnd] Re: 5.09 Windows float installer anomoly
>>>
>>>
>>>> You need to set up separate environments for your different Csound
>>>> installations. If you do this, you will have no trouble running as many
>>>> versions of Csound or your other software on the same computer as you 
>>>> like.
>>>>
>>>> There are several ways of doing this, but the easiest way is use batch
>>>> files that first set the required environment variables, then launch 
>>>> Csound
>>>> or another application that you want to run in that environment, then
>>>> "pause" so you can see what happened if it didn't work.
>>>>
>>>> If your default environment has the wrong OPCODEDIR, in your batch file
>>>> environment you can simply reset it. This will not affect the default
>>>> environnent, just the "local" environment.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> -----Original Message-----
>>>>>
>>>>> From: Art Hunkins 
>>>>> Sent: Sep 15, 2008 11:24 PM
>>>>> To: csound@lists.bath.ac.uk
>>>>> Subject: [Csnd] 5.09 Windows float installer anomoly
>>>>>
>>>>> Unusual new behavior upon doing above install.
>>>>>
>>>>> I have a special pared-down version of of Csound 5.06 installed in a
>>>>> single
>>>>> folder, with my .csd files running (in Lettuce) completely within this
>>>>> folder. No environment variables are needed or desired. Everything 
>>>>> works
>>>>> fine.
>>>>>
>>>>> I install 5.09 from the installer in a different location, complete
>>>>> (unfortunately) with a set of environment variables. These variables,
>>>>> especially OPCODEDIR, prevent my 5.06 system from running. The 5.09
>>>>> environment variables take over, look for everything in the 5.09
>>>>> folders,
>>>>> and tell me everything is an incompatible version. (I expect that it's
>>>>> OPCODEDIR pointing to 5.09.)
>>>>>
>>>>> To my knowledge this never happened before. The environment variables
>>>>> did
>>>>> *not* "take over" my self-contained 5.06 installation.
>>>>>
>>>>> I really need to be able to run from a single folder regardless of 
>>>>> what
>>>>> other Csound installations may be on a given machine, or regardless of
>>>>> what
>>>>> the environment variables are (I'm in XP here).
>>>>>
>>>>> My understanding is that first Csound looks for everything in the
>>>>> current
>>>>> directory, and only if it does not find what it needs there, looks
>>>>> elsewhere
>>>>> (according to environment variables). This does not seem to be 
>>>>> happening
>>>>> with 5.09.
>>>>>
>>>>> Please someone (Michael?) straighten me out.
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>>> "unsubscribe
>>>>> csound"
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body 
>>>> "unsubscribe
>>>> csound"
>>>
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound"
>



-- 


Andrés


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"= 



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"