Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Broken Build

Date2008-03-15 01:05
Fromkelly hirai
SubjectRe: [Cs-dev] Broken Build
i think that whole if block is missing a level of indention and possibly 
the two lines after it. the vst build code below it as well. i could be 
wrong, but i do get a build in linux.

could we put the elimination of the arguments to Environment() on line 243 
for the linux build in the build html doc? that has been hanging me up for 
months, i had to squint through some japanese to find it on nabble.

k.



On Sun, 16 Mar 2008, Steven Yi wrote:

> It is still broken.  The error I get is:
>
> NameError: name 'acEnvironment' is not defined:
>  File "C:\work\workspace\csound5\SConstruct", line 2054:
>    counterpoint = acEnvironment.Program(
>
>
> On Sun, Mar 16, 2008 at 6:19 PM, Michael Gogins  wrote:
>> This should be fixed now.
>>
>>  Regards,
>>  Mike
>>
>>
>>
>>  ----- Original Message -----
>>  From: "Steven Yi" 
>>  To: "Developer discussions" 
>>  Sent: Sunday, March 16, 2008 8:58 PM
>>  Subject: [Cs-dev] Broken Build
>>
>>
>> > Hi All,
>> >
>> > The latest SConstruct is broken.  I get an error that acEnvironment is
>> > not defined, and It has to do with these lines:
>> >
>> >
>> > if commonEnvironment['useDouble'] != '0':
>> >    counterpoint = acEnvironment.Program(
>> >        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>> >        LIBS = Split('CsoundAC csnd csound64'))
>> > else:
>> >    counterpoint = acEnvironment.Program(
>> >        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>> >        LIBS = Split('CsoundAC csnd csound32'))
>> >    zipDependencies.append(counterpoint)
>> >
>> > These lines look mal-indented and the zipDependencies line seems like
>> > it needs to be called for either of those branches of code there, but
>> > it won't work unless duplicated for both branches or else counterpoint
>> > be defined as a var on the same indentation level as zipDependencies.
>> >
>> > I'm not sure what was intended with this change so will wait for the fix.
>> >
>> > Thanks,
>> > steven
>> >
>> > -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>  -------------------------------------------------------------------------
>>  This SF.net email is sponsored by: Microsoft
>>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>  _______________________________________________
>>  Csound-devel mailing list
>>  Csound-devel@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-17 01:19
From"Michael Gogins"
SubjectRe: [Cs-dev] Broken Build
This should be fixed now.

Regards,
Mike

----- Original Message ----- 
From: "Steven Yi" 
To: "Developer discussions" 
Sent: Sunday, March 16, 2008 8:58 PM
Subject: [Cs-dev] Broken Build


> Hi All,
> 
> The latest SConstruct is broken.  I get an error that acEnvironment is
> not defined, and It has to do with these lines:
> 
> 
> if commonEnvironment['useDouble'] != '0':
>    counterpoint = acEnvironment.Program(
>        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>        LIBS = Split('CsoundAC csnd csound64'))
> else:
>    counterpoint = acEnvironment.Program(
>        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>        LIBS = Split('CsoundAC csnd csound32'))
>    zipDependencies.append(counterpoint)
> 
> These lines look mal-indented and the zipDependencies line seems like
> it needs to be called for either of those branches of code there, but
> it won't work unless duplicated for both branches or else counterpoint
> be defined as a var on the same indentation level as zipDependencies.
> 
> I'm not sure what was intended with this change so will wait for the fix.
> 
> Thanks,
> steven
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-17 01:40
From"Steven Yi"
SubjectRe: [Cs-dev] Broken Build
AttachmentsNone  

Date2008-03-17 12:28
Fromkelly hirai
SubjectRe: [Cs-dev] Broken Build
(im resending this because i found the date was incorrectly set on this 
machine)


i think that whole if block is missing a level of indention and possibly 
the two lines after it. the vst build code below it as well. i could be 
wrong, but i do get a build in linux.

could we put the elimination of the arguments to Environment() on line 243 
for the linux build in the build html doc? that has been hanging me up for 
months, i had to squint through some japanese to find it on nabble.

k.


On Sun, 16 Mar 2008, Steven Yi wrote:

> It is still broken.  The error I get is:
>
> NameError: name 'acEnvironment' is not defined:
>  File "C:\work\workspace\csound5\SConstruct", line 2054:
>    counterpoint = acEnvironment.Program(
>
>
> On Sun, Mar 16, 2008 at 6:19 PM, Michael Gogins  wrote:
>> This should be fixed now.
>>
>>  Regards,
>>  Mike
>>
>>
>>
>>  ----- Original Message -----
>>  From: "Steven Yi" 
>>  To: "Developer discussions" 
>>  Sent: Sunday, March 16, 2008 8:58 PM
>>  Subject: [Cs-dev] Broken Build
>>
>>
>> > Hi All,
>> >
>> > The latest SConstruct is broken.  I get an error that acEnvironment is
>> > not defined, and It has to do with these lines:
>> >
>> >
>> > if commonEnvironment['useDouble'] != '0':
>> >    counterpoint = acEnvironment.Program(
>> >        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>> >        LIBS = Split('CsoundAC csnd csound64'))
>> > else:
>> >    counterpoint = acEnvironment.Program(
>> >        'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>> >        LIBS = Split('CsoundAC csnd csound32'))
>> >    zipDependencies.append(counterpoint)
>> >
>> > These lines look mal-indented and the zipDependencies line seems like
>> > it needs to be called for either of those branches of code there, but
>> > it won't work unless duplicated for both branches or else counterpoint
>> > be defined as a var on the same indentation level as zipDependencies.
>> >
>> > I'm not sure what was intended with this change so will wait for the fix.
>> >
>> > Thanks,
>> > steven
>> >
>> > -------------------------------------------------------------------------
>> > This SF.net email is sponsored by: Microsoft
>> > Defy all challenges. Microsoft(R) Visual Studio 2008.
>> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> > _______________________________________________
>> > Csound-devel mailing list
>> > Csound-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>  -------------------------------------------------------------------------
>>  This SF.net email is sponsored by: Microsoft
>>  Defy all challenges. Microsoft(R) Visual Studio 2008.
>>  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>  _______________________________________________
>>  Csound-devel mailing list
>>  Csound-devel@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-18 00:24
FromDavidW
SubjectRe: [Cs-dev] Broken Build
I'm looking at SConstruct from CVS today.
I'm  a novice wrt this code remember... but It looks like there are 2  
blocks that have lost their indentation:
around line 2049
>     if commonEnvironment['useDouble'] != '0':
>         counterpoint = acEnvironment.Program(
>             'counterpoint', ['frontends/CsoundAC/ 
> CounterpointMain.cpp'],
>             LIBS = Split('CsoundAC csnd csound64'))
>     else:
>         counterpoint = acEnvironment.Program(
>             'counterpoint', ['frontends/CsoundAC/ 
> CounterpointMain.cpp'],
>             LIBS = Split('CsoundAC csnd csound32'))
>     zipDependencies.append(counterpoint)
>

and around line 2117

>     if commonEnvironment['useDouble'] != '0':
>         csoundvstGui = guiProgramEnvironment.Program(
>             'CsoundVSTShell', ['frontends/CsoundVST/ 
> csoundvst_main.cpp'],
>             LIBS = Split('csound64 csnd CsoundVST'))
>     else:
>         csoundvstGui = guiProgramEnvironment.Program(
>             'CsoundVSTShell', ['frontends/CsoundVST/ 
> csoundvst_main.cpp'],
>             LIBS = Split('csound32 csnd CsoundVST'))
>     executables.append(csoundvstGui)
>     Depends(csoundvstGui, csoundvst)


In editing python scripts one has to bear in mind the difference  
between a tab and 4 spaces.
Anyway I indented them 4 spaces and the code ran through to the  
compile phase.

D.
On 17/03/2008, at 11:28 PM, kelly hirai wrote:

> (im resending this because i found the date was incorrectly set on  
> this
> machine)
>
>
> i think that whole if block is missing a level of indention and  
> possibly
> the two lines after it. the vst build code below it as well. i could  
> be
> wrong, but i do get a build in linux.
>
> could we put the elimination of the arguments to Environment() on  
> line 243
> for the linux build in the build html doc? that has been hanging me  
> up for
> months, i had to squint through some japanese to find it on nabble.
>
> k.
>
>
> On Sun, 16 Mar 2008, Steven Yi wrote:
>
>> It is still broken.  The error I get is:
>>
>> NameError: name 'acEnvironment' is not defined:
>> File "C:\work\workspace\csound5\SConstruct", line 2054:
>>   counterpoint = acEnvironment.Program(
>>
>>
>> On Sun, Mar 16, 2008 at 6:19 PM, Michael Gogins  
>>  wrote:
>>> This should be fixed now.
>>>
>>> Regards,
>>> Mike
>>>
>>>
>>>
>>> ----- Original Message -----
>>> From: "Steven Yi" 
>>> To: "Developer discussions" 
>>> Sent: Sunday, March 16, 2008 8:58 PM
>>> Subject: [Cs-dev] Broken Build
>>>
>>>
>>>> Hi All,
>>>>
>>>> The latest SConstruct is broken.  I get an error that  
>>>> acEnvironment is
>>>> not defined, and It has to do with these lines:
>>>>
>>>>
>>>> if commonEnvironment['useDouble'] != '0':
>>>>   counterpoint = acEnvironment.Program(
>>>>       'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>>>>       LIBS = Split('CsoundAC csnd csound64'))
>>>> else:
>>>>   counterpoint = acEnvironment.Program(
>>>>       'counterpoint', ['frontends/CsoundAC/CounterpointMain.cpp'],
>>>>       LIBS = Split('CsoundAC csnd csound32'))
>>>>   zipDependencies.append(counterpoint)
>>>>
>>>> These lines look mal-indented and the zipDependencies line seems  
>>>> like
>>>> it needs to be called for either of those branches of code there,  
>>>> but
>>>> it won't work unless duplicated for both branches or else  
>>>> counterpoint
>>>> be defined as a var on the same indentation level as  
>>>> zipDependencies.
>>>>
>>>> I'm not sure what was intended with this change so will wait for  
>>>> the fix.
>>>>
>>>> Thanks,
>>>> steven
>>>>
>>>> -------------------------------------------------------------------------
>>>> This SF.net email is sponsored by: Microsoft
>>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>>> _______________________________________________
>>>> Csound-devel mailing list
>>>> Csound-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Microsoft
>>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

________________________________________________
David Worrall.
- Experimental Polymedia:	www.avatar.com.au
- Education for Financial Independence: www.mindthemarkets.com.au
Australian research affiliations:
- Capital Markets Cooperative Research Centre: www.cmcrc.com
- Sonic Communications Research Group:	creative.canberra.edu.au/scrg
- MARCS Auditory Laboratories: marcs.uws.edu.au




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-18 01:28
FromDavidW
SubjectRe: [Cs-dev] Broken Build - ALSA only opcode?
And at the compile phase I run into the following inconsistency:
(OSX with CLI
% scons dynamicCsoundLibrary=1

..

CONFIGURATION DECISION: Not building ALSA plugin.

..
gcc -o Opcodes/dssi4cs/src/dssi4cs.os -c -DNOGETTEXT -g -DMACOSX - 
DPIPES -fPIC -DHAVE_LIBSNDFILE=1016 -DSDFT -DBETA -DHAVE_FCNTL_H - 
DHAVE_UNISTD_H -DHAVE_STDINT_H -DHAVE_SYS_TIME_H -DHAVE_SYS_TYPES_H - 
DHAVE_TERMIOS_H -DHAVE_SOCKETS -DHAVE_DIRENT_H -I. -IH -I/usr/include/ 
malloc -I/opt/local/include/boost-1_32 -I/usr/local/include Opcodes/ 
dssi4cs/src/dssi4cs.c
In file included from Opcodes/dssi4cs/src/dssi4cs.h:23,
                  from Opcodes/dssi4cs/src/dssi4cs.c:23:
Opcodes/dssi4cs/src/dssi.h:28:28: error: alsa/seq_event.h: No such  
file or directory

Does this mean that  Opcodes/dssi4cs/src/dssi4cs  requires ALSA, and  
thus can't/shouldn't be build on non Linux platforms?

ciao,
D.

On 18/03/2008, at 11:24 AM, DavidW wrote:

> I'm looking at SConstruct from CVS today.
> I'm  a novice wrt this code remember... but It looks like there are 2
> blocks that have lost their indentation:
> around line 2049
...
> and around line 2117
...
> Anyway I indented them 4 spaces and the code ran through to the
> compile phase.
>

_____
David


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-03-18 13:32
From"Andres Cabrera"
SubjectRe: [Cs-dev] Broken Build - ALSA only opcode?
AttachmentsNone