Csound Csound-dev Csound-tekno Search About

[Csnd] scons madness?

Date2011-06-06 18:30
FromAaron Krister Johnson
Subject[Csnd] scons madness?
Hi all,

I'm preparing a csound5-git package for the Arch Linux AUR (Arch User Repository)....

Testing the PKGBUILD gives me the following scons error:

#####
scons: warning: The Options class is deprecated; use the Variables class instead.

File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line 75, in <module>
Using options from 'custom.py.'
KeyError: 'customCPPPATH':
  File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line 345:
    customCPPPATH = commonEnvironment['customCPPPATH']
  File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409:
    return self._dict[key]
####

Has something changed with scons? Or is it a strange bug no-one has heard of? How do I work around this?

Any tips would be helpful...shouldn't be this hard to compile Csound, especially with scons which is supposed to be easy; I've done it many times before.


Thanks,
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 18:37
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] scons madness?
Do you habve a custom.py file?  If not copy and edit custon-jpff.py or
similar

No idea about th eoptions class -- been that way for a while

==John ff

> Hi all,
>
> I'm preparing a csound5-git package for the Arch Linux AUR (Arch User
> Repository)....
>
> Testing the PKGBUILD gives me the following scons error:
>
> #####
> scons: warning: The Options class is deprecated; use the Variables class
> instead.
>
> File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 75,
> in 
> Using options from 'custom.py.'
> KeyError: 'customCPPPATH':
>   File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 345:
>     customCPPPATH = commonEnvironment['customCPPPATH']
>   File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409:
>     return self._dict[key]
> ####
>
> Has something changed with scons? Or is it a strange bug no-one has heard
> of? How do I work around this?
>
> Any tips would be helpful...shouldn't be this hard to compile Csound,
> especially with scons which is supposed to be easy; I've done it many
> times
> before.
>
>
> Thanks,
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"

Date2011-06-06 20:16
FromAaron Krister Johnson
SubjectRe: [Csnd] scons madness?
Okay, I copied "custom.py.mkg" to "custom.py"....kind of sloppy to not have a "custom.py" in the sources when the SConstruct script expects it, yes?

All's well, but now I'm getting this:

In file included from Top/main.c:28:0:
H/csound_orc.h:14:29: fatal error: csound_orcparse.h: No such file or directory
compilation terminated.
scons: *** [Top/main.o] Error 1
scons: building terminated because of errors.

Why is this file missing? Help, please?

AKJ

On Mon, Jun 6, 2011 at 12:37 PM, <jpff@cs.bath.ac.uk> wrote:
Do you habve a custom.py file?  If not copy and edit custon-jpff.py or
similar

No idea about th eoptions class -- been that way for a while

==John ff

> Hi all,
>
> I'm preparing a csound5-git package for the Arch Linux AUR (Arch User
> Repository)....
>
> Testing the PKGBUILD gives me the following scons error:
>
> #####
> scons: warning: The Options class is deprecated; use the Variables class
> instead.
>
> File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 75,
> in <module>
> Using options from 'custom.py.'
> KeyError: 'customCPPPATH':
>   File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 345:
>     customCPPPATH = commonEnvironment['customCPPPATH']
>   File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409:
>     return self._dict[key]
> ####
>
> Has something changed with scons? Or is it a strange bug no-one has heard
> of? How do I work around this?
>
> Any tips would be helpful...shouldn't be this hard to compile Csound,
> especially with scons which is supposed to be easy; I've done it many
> times
> before.
>
>
> Thanks,
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 20:37
FromRory Walsh
SubjectRe: [Csnd] scons madness?
Hi Aaron. If users are building Csound for the first time they should
edit the custom-OS.py file that comes with Csound. If you don't want
to have to keep editing this file every time you checkout Csound put
it outside the Csound build tree otherwise it will get overwritten
each time you update your Csound source from git.

Rory.


On 6 June 2011 20:16, Aaron Krister Johnson  wrote:
> Okay, I copied "custom.py.mkg" to "custom.py"....kind of sloppy to not have
> a "custom.py" in the sources when the SConstruct script expects it, yes?
> All's well, but now I'm getting this:
> In file included from Top/main.c:28:0:
> H/csound_orc.h:14:29: fatal error: csound_orcparse.h: No such file or
> directory
> compilation terminated.
> scons: *** [Top/main.o] Error 1
> scons: building terminated because of errors.
> Why is this file missing? Help, please?
> AKJ
> On Mon, Jun 6, 2011 at 12:37 PM,  wrote:
>>
>> Do you habve a custom.py file?  If not copy and edit custon-jpff.py or
>> similar
>>
>> No idea about th eoptions class -- been that way for a while
>>
>> ==John ff
>>
>> > Hi all,
>> >
>> > I'm preparing a csound5-git package for the Arch Linux AUR (Arch User
>> > Repository)....
>> >
>> > Testing the PKGBUILD gives me the following scons error:
>> >
>> > #####
>> > scons: warning: The Options class is deprecated; use the Variables class
>> > instead.
>> >
>> > File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
>> > 75,
>> > in 
>> > Using options from 'custom.py.'
>> > KeyError: 'customCPPPATH':
>> >   File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct",
>> > line
>> > 345:
>> >     customCPPPATH = commonEnvironment['customCPPPATH']
>> >   File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line
>> > 409:
>> >     return self._dict[key]
>> > ####
>> >
>> > Has something changed with scons? Or is it a strange bug no-one has
>> > heard
>> > of? How do I work around this?
>> >
>> > Any tips would be helpful...shouldn't be this hard to compile Csound,
>> > especially with scons which is supposed to be easy; I've done it many
>> > times
>> > before.
>> >
>> >
>> > Thanks,
>> > Aaron Krister Johnson
>> > http://www.akjmusic.com
>> > http://www.untwelve.org
>> >
>> > 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"
>>
>
>
>
> --
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
>


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"


Date2011-06-06 20:46
FromVictor Lazzarini
SubjectRe: [Csnd] scons madness?
you need bison/flex.

Victor
On 6 Jun 2011, at 20:16, Aaron Krister Johnson wrote:

Okay, I copied "custom.py.mkg" to "custom.py"....kind of sloppy to not have a "custom.py" in the sources when the SConstruct script expects it, yes?

All's well, but now I'm getting this:

In file included from Top/main.c:28:0:
H/csound_orc.h:14:29: fatal error: csound_orcparse.h: No such file or directory
compilation terminated.
scons: *** [Top/main.o] Error 1
scons: building terminated because of errors.

Why is this file missing? Help, please?

AKJ

On Mon, Jun 6, 2011 at 12:37 PM, <jpff@cs.bath.ac.uk> wrote:
Do you habve a custom.py file?  If not copy and edit custon-jpff.py or
similar

No idea about th eoptions class -- been that way for a while

==John ff

> Hi all,
>
> I'm preparing a csound5-git package for the Arch Linux AUR (Arch User
> Repository)....
>
> Testing the PKGBUILD gives me the following scons error:
>
> #####
> scons: warning: The Options class is deprecated; use the Variables class
> instead.
>
> File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 75,
> in <module>
> Using options from 'custom.py.'
> KeyError: 'customCPPPATH':
>   File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 345:
>     customCPPPATH = commonEnvironment['customCPPPATH']
>   File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409:
>     return self._dict[key]
> ####
>
> Has something changed with scons? Or is it a strange bug no-one has heard
> of? How do I work around this?
>
> Any tips would be helpful...shouldn't be this hard to compile Csound,
> especially with scons which is supposed to be easy; I've done it many
> times
> before.
>
>
> Thanks,
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2011-06-06 20:50
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] scons madness?
> you need bison/flex.
>
> Victor


Or build without the new parser






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"

Date2011-06-06 21:19
FromAaron Krister Johnson
SubjectRe: [Csnd] scons madness?
I have both Bison&Flex installed.

The problem seems to be elsewhere.

AKJ

On Mon, Jun 6, 2011 at 2:46 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
you need bison/flex.

Victor

On 6 Jun 2011, at 20:16, Aaron Krister Johnson wrote:

Okay, I copied "custom.py.mkg" to "custom.py"....kind of sloppy to not have a "custom.py" in the sources when the SConstruct script expects it, yes?

All's well, but now I'm getting this:

In file included from Top/main.c:28:0:
H/csound_orc.h:14:29: fatal error: csound_orcparse.h: No such file or directory
compilation terminated.
scons: *** [Top/main.o] Error 1
scons: building terminated because of errors.

Why is this file missing? Help, please?

AKJ

On Mon, Jun 6, 2011 at 12:37 PM, <jpff@cs.bath.ac.uk> wrote:
Do you habve a custom.py file?  If not copy and edit custon-jpff.py or
similar

No idea about th eoptions class -- been that way for a while

==John ff

> Hi all,
>
> I'm preparing a csound5-git package for the Arch Linux AUR (Arch User
> Repository)....
>
> Testing the PKGBUILD gives me the following scons error:
>
> #####
> scons: warning: The Options class is deprecated; use the Variables class
> instead.
>
> File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 75,
> in <module>
> Using options from 'custom.py.'
> KeyError: 'customCPPPATH':
>   File "/home/akj/abs/csound5-git/src/csound5.git-build/SConstruct", line
> 345:
>     customCPPPATH = commonEnvironment['customCPPPATH']
>   File "/usr/lib/python2.7/site-packages/SCons/Environment.py", line 409:
>     return self._dict[key]
> ####
>
> Has something changed with scons? Or is it a strange bug no-one has heard
> of? How do I work around this?
>
> Any tips would be helpful...shouldn't be this hard to compile Csound,
> especially with scons which is supposed to be easy; I've done it many
> times
> before.
>
>
> Thanks,
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
Victor dot Lazzarini AT nuim dot ie






--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 21:19
FromAaron Krister Johnson
SubjectRe: [Csnd] scons madness?
And how do I do that?

AKJ

On Mon, Jun 6, 2011 at 2:50 PM, <jpff@cs.bath.ac.uk> wrote:
> you need bison/flex.
>
> Victor


Or build without the new parser






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"




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 21:22
FromAaron Krister Johnson
SubjectRe: [Csnd] scons madness?
oh, buildNewParser=0?

But---I have Bison and Flex---why isn't it building?

The error msg seems to indicate a missing source file.

AKJ

On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson <aaron@akjmusic.com> wrote:
And how do I do that?

AKJ


On Mon, Jun 6, 2011 at 2:50 PM, <jpff@cs.bath.ac.uk> wrote:
> you need bison/flex.
>
> Victor


Or build without the new parser






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"




--



--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 21:22
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] scons madness?
> And how do I do that?
>
> AKJ
>
buildNewParser=0


> On Mon, Jun 6, 2011 at 2:50 PM,  wrote:
>
>> > you need bison/flex.
>> >
>> > Victor
>>
>>
>> Or build without the new parser
>>
>>
>>
>>
>>
>>
>> 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"
>>
>>
>
>
> --
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"

Date2011-06-06 21:36
FromAaron Krister Johnson
SubjectRe: [Csnd] scons madness?
And, I should mention, I already had "buildNewParser=0"

Oddly (or maybe not), it now works with "buildNewParser=1"

AKJ

On Mon, Jun 6, 2011 at 3:22 PM, Aaron Krister Johnson <aaron@akjmusic.com> wrote:
oh, buildNewParser=0?

But---I have Bison and Flex---why isn't it building?

The error msg seems to indicate a missing source file.

AKJ


On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson <aaron@akjmusic.com> wrote:
And how do I do that?

AKJ


On Mon, Jun 6, 2011 at 2:50 PM, <jpff@cs.bath.ac.uk> wrote:
> you need bison/flex.
>
> Victor


Or build without the new parser






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"




--



--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org




--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org


Date2011-06-06 21:39
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] scons madness?
Thanks;thjat needs looking at.


> And, I should mention, I already had "buildNewParser=0"
>
> Oddly (or maybe not), it now works with "buildNewParser=1"
>
> AKJ
>
> On Mon, Jun 6, 2011 at 3:22 PM, Aaron Krister Johnson
> wrote:
>
>> oh, buildNewParser=0?
>>
>> But---I have Bison and Flex---why isn't it building?
>>
>> The error msg seems to indicate a missing source file.
>>
>> AKJ
>>
>>
>> On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson
>> wrote:
>>
>>> And how do I do that?
>>>
>>> AKJ
>>>
>>>
>>> On Mon, Jun 6, 2011 at 2:50 PM,  wrote:
>>>
>>>> > you need bison/flex.
>>>> >
>>>> > Victor
>>>>
>>>>
>>>> Or build without the new parser
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> 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"
>>>>
>>>>
>>>
>>>
>>> --
>>> Aaron Krister Johnson
>>> http://www.akjmusic.com
>>> http://www.untwelve.org
>>>
>>>
>>
>>
>> --
>> Aaron Krister Johnson
>> http://www.akjmusic.com
>> http://www.untwelve.org
>>
>>
>
>
> --
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
> 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"

Date2011-06-06 21:45
FromSteven Yi
SubjectRe: [Csnd] scons madness?
Yes, there's an include in Top/csound.c (I think that file) for
csound_orc.h that needs to be wrapped in an #ifdef.  I ran into this
yesterday night when building on Ubuntu and didn't have flex/bison
installed on that VM.  I'll fire up the VM now and will commit that
change.

On Mon, Jun 6, 2011 at 4:39 PM,   wrote:
>
> Thanks;thjat needs looking at.
>
>
>> And, I should mention, I already had "buildNewParser=0"
>>
>> Oddly (or maybe not), it now works with "buildNewParser=1"
>>
>> AKJ
>>
>> On Mon, Jun 6, 2011 at 3:22 PM, Aaron Krister Johnson
>> wrote:
>>
>>> oh, buildNewParser=0?
>>>
>>> But---I have Bison and Flex---why isn't it building?
>>>
>>> The error msg seems to indicate a missing source file.
>>>
>>> AKJ
>>>
>>>
>>> On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson
>>> wrote:
>>>
>>>> And how do I do that?
>>>>
>>>> AKJ
>>>>
>>>>
>>>> On Mon, Jun 6, 2011 at 2:50 PM,  wrote:
>>>>
>>>>> > you need bison/flex.
>>>>> >
>>>>> > Victor
>>>>>
>>>>>
>>>>> Or build without the new parser
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Aaron Krister Johnson
>>>> http://www.akjmusic.com
>>>> http://www.untwelve.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Aaron Krister Johnson
>>> http://www.akjmusic.com
>>> http://www.untwelve.org
>>>
>>>
>>
>>
>> --
>> Aaron Krister Johnson
>> http://www.akjmusic.com
>> http://www.untwelve.org
>>
>> 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"
>
>


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"


Date2011-06-06 21:56
FromFelipe Sateler
SubjectRe: [Csnd] scons madness?
On Mon, Jun 6, 2011 at 15:16, Aaron Krister Johnson  wrote:
> Okay, I copied "custom.py.mkg" to "custom.py"....kind of sloppy to not have
> a "custom.py" in the sources when the SConstruct script expects it, yes?
> All's well, but now I'm getting this:
> In file included from Top/main.c:28:0:
> H/csound_orc.h:14:29: fatal error: csound_orcparse.h: No such file or
> directory
> compilation terminated.
> scons: *** [Top/main.o] Error 1
> scons: building terminated because of errors.
> Why is this file missing? Help, please?

Scons unfortunately tries to work with whatever it has, overriding
your choices, instead of bombing out with a message when something
fails (which leaves you with error messages that may be hard to track
down). The cmake build system available in git should help there with
the use of the FAIL_MISSING=ON option. Not sure if the cmake build
system can be advertised as fully working, though (I haven't had time
to work on csound in a while...).

Date2011-06-06 22:28
FromRory Walsh
SubjectRe: [Csnd] scons madness?
I posted that issue to the list a while ago.

http://csound.1045644.n5.nabble.com/problem-building-on-windows-td4397652.html#a4397665

I should have changed it myself. I have the same fix as Steven
proposed, but I don't really know the protocol for committing changes?
I have developer access but I didn't want to just plough ahead,
apologies.

Rory.


On 6 June 2011 21:45, Steven Yi  wrote:
> Yes, there's an include in Top/csound.c (I think that file) for
> csound_orc.h that needs to be wrapped in an #ifdef.  I ran into this
> yesterday night when building on Ubuntu and didn't have flex/bison
> installed on that VM.  I'll fire up the VM now and will commit that
> change.
>
> On Mon, Jun 6, 2011 at 4:39 PM,   wrote:
>>
>> Thanks;thjat needs looking at.
>>
>>
>>> And, I should mention, I already had "buildNewParser=0"
>>>
>>> Oddly (or maybe not), it now works with "buildNewParser=1"
>>>
>>> AKJ
>>>
>>> On Mon, Jun 6, 2011 at 3:22 PM, Aaron Krister Johnson
>>> wrote:
>>>
>>>> oh, buildNewParser=0?
>>>>
>>>> But---I have Bison and Flex---why isn't it building?
>>>>
>>>> The error msg seems to indicate a missing source file.
>>>>
>>>> AKJ
>>>>
>>>>
>>>> On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson
>>>> wrote:
>>>>
>>>>> And how do I do that?
>>>>>
>>>>> AKJ
>>>>>
>>>>>
>>>>> On Mon, Jun 6, 2011 at 2:50 PM,  wrote:
>>>>>
>>>>>> > you need bison/flex.
>>>>>> >
>>>>>> > Victor
>>>>>>
>>>>>>
>>>>>> Or build without the new parser
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Aaron Krister Johnson
>>>>> http://www.akjmusic.com
>>>>> http://www.untwelve.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Aaron Krister Johnson
>>>> http://www.akjmusic.com
>>>> http://www.untwelve.org
>>>>
>>>>
>>>
>>>
>>> --
>>> Aaron Krister Johnson
>>> http://www.akjmusic.com
>>> http://www.untwelve.org
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-06-06 22:59
FromSteven Yi
SubjectRe: [Csnd] scons madness?
Well, I committed the change. :)  You should just commit any fixes you
have, IMO.  We'll all get them and will review them when to update.

On Mon, Jun 6, 2011 at 5:28 PM, Rory Walsh  wrote:
> I posted that issue to the list a while ago.
>
> http://csound.1045644.n5.nabble.com/problem-building-on-windows-td4397652.html#a4397665
>
> I should have changed it myself. I have the same fix as Steven
> proposed, but I don't really know the protocol for committing changes?
> I have developer access but I didn't want to just plough ahead,
> apologies.
>
> Rory.
>
>
> On 6 June 2011 21:45, Steven Yi  wrote:
>> Yes, there's an include in Top/csound.c (I think that file) for
>> csound_orc.h that needs to be wrapped in an #ifdef.  I ran into this
>> yesterday night when building on Ubuntu and didn't have flex/bison
>> installed on that VM.  I'll fire up the VM now and will commit that
>> change.
>>
>> On Mon, Jun 6, 2011 at 4:39 PM,   wrote:
>>>
>>> Thanks;thjat needs looking at.
>>>
>>>
>>>> And, I should mention, I already had "buildNewParser=0"
>>>>
>>>> Oddly (or maybe not), it now works with "buildNewParser=1"
>>>>
>>>> AKJ
>>>>
>>>> On Mon, Jun 6, 2011 at 3:22 PM, Aaron Krister Johnson
>>>> wrote:
>>>>
>>>>> oh, buildNewParser=0?
>>>>>
>>>>> But---I have Bison and Flex---why isn't it building?
>>>>>
>>>>> The error msg seems to indicate a missing source file.
>>>>>
>>>>> AKJ
>>>>>
>>>>>
>>>>> On Mon, Jun 6, 2011 at 3:19 PM, Aaron Krister Johnson
>>>>> wrote:
>>>>>
>>>>>> And how do I do that?
>>>>>>
>>>>>> AKJ
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 6, 2011 at 2:50 PM,  wrote:
>>>>>>
>>>>>>> > you need bison/flex.
>>>>>>> >
>>>>>>> > Victor
>>>>>>>
>>>>>>>
>>>>>>> Or build without the new parser
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Aaron Krister Johnson
>>>>>> http://www.akjmusic.com
>>>>>> http://www.untwelve.org
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Aaron Krister Johnson
>>>>> http://www.akjmusic.com
>>>>> http://www.untwelve.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Aaron Krister Johnson
>>>> http://www.akjmusic.com
>>>> http://www.untwelve.org
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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"