Csound Csound-dev Csound-tekno Search About

[Csnd] SCons error building git sources

Date2011-11-01 05:47
FromForrest Cahoon
Subject[Csnd] SCons error building git sources
Hey, I decided to build the sources from the git repository and it isn't working.

I'm on Debian sid and I've downloaded scons and all the dev packages I think I need from the debian package management system.   I've successfully built from source before, and "scons -h" gave me a list of options I could choose. Now, however, it gives me an error:

forrest@supercool:~/src/csound5$ scons -h
scons: Reading SConscript files ...

      C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins <gogins at pipeline dot com>

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Microsoft Visual C++, run in the Platform SDK
    command shell, and use www.python.org WIN32 Python to run scons.

System platform is 'linux'.

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/forrest/src/csound5/SConstruct", line 75, in <module>
Using options from 'custom.py.'
KeyError: 'customCPPPATH':
  File "/home/forrest/src/csound5/SConstruct", line 353:
    customCPPPATH = commonEnvironment['customCPPPATH']
  File "/usr/lib/scons/SCons/Environment.py", line 409:
    return self._dict[key]
forrest@supercool:~/src/csound5$

Can anyone provide me with a clue here?

Forrest

Date2011-11-01 06:14
FromForrest Cahoon
Subject[Csnd] Re: SCons error building git sources


On Tue, Nov 1, 2011 at 12:47 AM, Forrest Cahoon <forrest.cahoon@gmail.com> wrote:
Hey, I decided to build the sources from the git repository and it isn't working.

I'm on Debian sid and I've downloaded scons and all the dev packages I think I need from the debian package management system.   I've successfully built from source before, and "scons -h" gave me a list of options I could choose. Now, however, it gives me an error:

forrest@supercool:~/src/csound5$ scons -h
scons: Reading SConscript files ...

      C S O U N D 5

SCons build file for Csound 5:
API library, plugin opcodes, utilities, and front ends.

By Michael Gogins <gogins at pipeline dot com>

For custom options, run 'scons -h'.
For default options, run 'scons -H'.
If headers or libraries are not found, edit 'custom.py'.
For Linux, run in the standard shell
    with standard Python and just run 'scons'.
For MinGW, run in the MSys shell
    and use www.python.org WIN32 Python to run scons.
For Microsoft Visual C++, run in the Platform SDK
    command shell, and use www.python.org WIN32 Python to run scons.

System platform is 'linux'.

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/forrest/src/csound5/SConstruct", line 75, in <module>
Using options from 'custom.py.'
KeyError: 'customCPPPATH':
  File "/home/forrest/src/csound5/SConstruct", line 353:
    customCPPPATH = commonEnvironment['customCPPPATH']
  File "/usr/lib/scons/SCons/Environment.py", line 409:
    return self._dict[key]
forrest@supercool:~/src/csound5$

Can anyone provide me with a clue here?

Forrest

Here's some version info, in case it helps:

forrest@supercool:~$ scons --version
SCons by Steven Knight et al.:
    script: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on ubuntu
    engine: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on ubuntu
    engine path: ['/usr/lib/scons/SCons']
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 The SCons Foundation
forrest@supercool:~$ python --version
Python 2.7.2+
forrest@supercool:~$ gcc --version
gcc (Debian 4.6.2-3) 4.6.2

Forrest


Date2011-11-01 09:15
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Re: SCons error building git sources
You need a custom/py file.  Take custom-jpff-linux.py and adjust if necessary
==John

> On Tue, Nov 1, 2011 at 12:47 AM, Forrest Cahoon
> wrote:
>
>> Hey, I decided to build the sources from the git repository and it isn't
>> working.
>>
>> I'm on Debian sid and I've downloaded scons and all the dev packages I
>> think I need from the debian package management system.   I've
>> successfully
>> built from source before, and "scons -h" gave me a list of options I
>> could
>> choose. Now, however, it gives me an error:
>>
>> forrest@supercool:~/src/csound5$ scons -h
>> scons: Reading SConscript files ...
>>
>>       C S O U N D 5
>>
>> SCons build file for Csound 5:
>> API library, plugin opcodes, utilities, and front ends.
>>
>> By Michael Gogins 
>>
>> For custom options, run 'scons -h'.
>> For default options, run 'scons -H'.
>> If headers or libraries are not found, edit 'custom.py'.
>> For Linux, run in the standard shell
>>     with standard Python and just run 'scons'.
>> For MinGW, run in the MSys shell
>>     and use www.python.org WIN32 Python to run scons.
>> For Microsoft Visual C++, run in the Platform SDK
>>     command shell, and use www.python.org WIN32 Python to run scons.
>>
>> System platform is 'linux'.
>>
>> scons: warning: The Options class is deprecated; use the Variables class
>> instead.
>> File "/home/forrest/src/csound5/SConstruct", line 75, in 
>> Using options from 'custom.py.'
>> KeyError: 'customCPPPATH':
>>   File "/home/forrest/src/csound5/SConstruct", line 353:
>>     customCPPPATH = commonEnvironment['customCPPPATH']
>>   File "/usr/lib/scons/SCons/Environment.py", line 409:
>>     return self._dict[key]
>> forrest@supercool:~/src/csound5$
>>
>> Can anyone provide me with a clue here?
>>
>> Forrest
>>
>
> Here's some version info, in case it helps:
>
> forrest@supercool:~$ scons --version
> SCons by Steven Knight et al.:
>     script: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on
> ubuntu
>     engine: v2.1.0.r5357[MODIFIED], 2011/09/09 21:31:03, by bdeegan on
> ubuntu
>     engine path: ['/usr/lib/scons/SCons']
> Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
> 2011 The SCons Foundation
> forrest@supercool:~$ python --version
> Python 2.7.2+
> forrest@supercool:~$ gcc --version
> gcc (Debian 4.6.2-3) 4.6.2
>
> Forrest
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"