Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] building 5.09.0

Date2008-10-20 22:54
Fromvictor
SubjectRe: [Cs-dev] building 5.09.0
Too old.Clone() supersedes Copy().

Victor
----- Original Message ----- 
From: "Jonatan Liljedahl" 
To: "Developer discussions" 
Sent: Monday, October 20, 2008 10:12 PM
Subject: [Cs-dev] building 5.09.0


> ...
> Checking for C header file termios.h... yes
> Checking for C header file sys/socket.h... yes
> Checking for C header file dirent.h... yes
> Checking for libsndfile version 1.0.16 or later... yes
> AttributeError: 'SConsEnvironment' object has no attribute 'Clone':
>  File "SConstruct", line 777:
>    csoundLibraryEnvironment = commonEnvironment.Clone()
> Compile: Csound 5.09.0 - Build failed.
>
> I'm running SCons 0.96.91. Too old? Too new? Too crappy?
>
> PS. If I was the ruler of the universe I'd decide for you to use CMake
> instead... ;)
>
> -- 
> /Jonatan         [ http://kymatica.com ]
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2008-10-21 00:10
FromJonatan Liljedahl
SubjectRe: [Cs-dev] building 5.09.0
Yes, this was it. Upgraded scons and now it works.

PS. Note that scons passes -DUSE_DOUBLE or not to gcc, and all places
but one uses #ifdef USE_DOUBLE to check for this. The other one is in
sysdep.h and uses #if (USE_DOUBLE==1).. I don't know why this doesn't
give an error when compiling csound, but when compiling other apps that
uses the csound API this gives an error since USE_DOUBLE is defined as
an empty value (-DUSE_DOUBLE) and not zero. Shouldn't the check in
sysdep.h also be #ifdef USE_DOUBLE instead?

victor wrote:
> Too old.Clone() supersedes Copy().
> 
> Victor
> ----- Original Message ----- 
> From: "Jonatan Liljedahl" 
> To: "Developer discussions" 
> Sent: Monday, October 20, 2008 10:12 PM
> Subject: [Cs-dev] building 5.09.0
> 
> 
>> ...
>> Checking for C header file termios.h... yes
>> Checking for C header file sys/socket.h... yes
>> Checking for C header file dirent.h... yes
>> Checking for libsndfile version 1.0.16 or later... yes
>> AttributeError: 'SConsEnvironment' object has no attribute 'Clone':
>>  File "SConstruct", line 777:
>>    csoundLibraryEnvironment = commonEnvironment.Clone()
>> Compile: Csound 5.09.0 - Build failed.
>>
>> I'm running SCons 0.96.91. Too old? Too new? Too crappy?
>>
>> PS. If I was the ruler of the universe I'd decide for you to use CMake
>> instead... ;)
>>
>> -- 
>> /Jonatan         [ http://kymatica.com ]
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's 
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great 
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the 
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


-- 
/Jonatan         [ http://kymatica.com ]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net