[Csnd] Csound 5.10.1 build dies with ludicrous gcc arguments
Date | 2009-04-02 21:47 |
From | Jeremy Henty |
Subject | [Csnd] Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |
Date | 2009-04-02 22:04 |
From | victor |
Subject | [Csnd] Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
They are defined in SConstruct. Looks like for some reason whitespaces were inserted. Check if SConstruct appears to be correct. ----- Original Message ----- From: "Jeremy Henty" |
Date | 2009-04-02 22:51 |
From | Jeremy Henty |
Subject | [Csnd] Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |
Date | 2009-04-02 23:22 |
From | Alan Peter Fitch |
Subject | [Csnd] Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Jeremy Henty wrote: > On Thu, Apr 02, 2009 at 10:04:00PM +0100, victor wrote: >> They are defined in SConstruct. Looks like for some reason whitespaces >> were inserted. Check if SConstruct appears to be correct. > > SConstruct looks OK (and this bit is the same as in 5.09): > > if getPlatform() == 'linux': > commonEnvironment.Append(CCFLAGS = "-DLINUX") > commonEnvironment.Append(CPPFLAGS = '-DHAVE_SOCKETS') > commonEnvironment.Append(CPPPATH = '/usr/local/include') > commonEnvironment.Append(CPPPATH = '/usr/include') > commonEnvironment.Append(CPPPATH = '/usr/include') > commonEnvironment.Append(CPPPATH = '/usr/X11R6/include') > commonEnvironment.Append(CCFLAGS = "-DPIPES") > commonEnvironment.Append(LINKFLAGS = ['-Wl,-Bdynamic']) > > But.. the CSound 5.09 build now dies in exactly the same way!!! But > it definitely worked the last time I tried it. Could upgrading to > Python 2.6.1 have done this? I note that (a) SCons.Environment.Append > has a lot of different cases depending on the types of things, and (b) > the bug appears to strike CCFLAGS but not CPPPATH or CPPFLAGS. Maybe > the CCFLAGS key is associated to a value of a different type? > > Regards, > > Jeremy Henty > > CCFLAGS and is in double quotes "", the others are in single quotes ''. Perhaps the strings are being interpreted as Unicode (16 bit characters) for some reason. What's your default language? regards Alan -- Alan Fitch |
Date | 2009-04-02 23:31 |
From | Anthony Kozar |
Subject | [Csnd] Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
> But.. the CSound 5.09 build now dies in exactly the same way!!! But > it definitely worked the last time I tried it. Could upgrading to > Python 2.6.1 have done this? Probably! The two problem flags are surrounded by double quotes "". Python 2.6 is probably configured to treat these as Unicode strings, thus producing two bytes for each character. Try single quotes or read the Python docs to figure out why this is happening. Python 2.6 is a bridge to Python 3.0 and Csound has not been tested with it AFAIK. Anthony Kozar mailing-lists-1001 AT anthonykozar DOT net http://anthonykozar.net/ Jeremy Henty wrote on 4/2/09 5:51 PM: > > On Thu, Apr 02, 2009 at 10:04:00PM +0100, victor wrote: >> They are defined in SConstruct. Looks like for some reason whitespaces >> were inserted. Check if SConstruct appears to be correct. > > SConstruct looks OK (and this bit is the same as in 5.09): > > if getPlatform() == 'linux': > commonEnvironment.Append(CCFLAGS = "-DLINUX") > commonEnvironment.Append(CPPFLAGS = '-DHAVE_SOCKETS') > commonEnvironment.Append(CPPPATH = '/usr/local/include') > commonEnvironment.Append(CPPPATH = '/usr/include') > commonEnvironment.Append(CPPPATH = '/usr/include') > commonEnvironment.Append(CPPPATH = '/usr/X11R6/include') > commonEnvironment.Append(CCFLAGS = "-DPIPES") > commonEnvironment.Append(LINKFLAGS = ['-Wl,-Bdynamic']) > > But.. the CSound 5.09 build now dies in exactly the same way!!! But > it definitely worked the last time I tried it. Could upgrading to > Python 2.6.1 have done this? I note that (a) SCons.Environment.Append > has a lot of different cases depending on the types of things, and (b) > the bug appears to strike CCFLAGS but not CPPPATH or CPPFLAGS. Maybe > the CCFLAGS key is associated to a value of a different type? > > Regards, > > Jeremy Henty > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > csound" |
Date | 2009-04-02 23:41 |
From | Jeremy Henty |
Subject | [Csnd] Re: Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |
Date | 2009-04-02 23:43 |
From | Jeremy Henty |
Subject | [Csnd] Re: Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |
Date | 2009-04-02 23:51 |
From | Alan Peter Fitch |
Subject | [Csnd] Re: Re: Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Jeremy Henty wrote: > On Thu, Apr 02, 2009 at 11:22:04PM +0100, Alan Peter Fitch wrote: > >> CCFLAGS and is in double quotes "", the others are in single quotes ''. > > No deal: I tried changing the double quotes to single quotes and it > still broke exactly as before. > > Regards, > > Jeremy Henty > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" > What version of scons are you using? There's this bugfix listed in the release notes of Scons... RELEASE 1.1.0.d20081207 - Sun, 07 Dec 2008 19:17:23 -0800 - Fix env.Append() and env.Prepend()'s ability to add a string to list-like variables like $CCFLAGS under Python 2.6. regards Alan -- Alan Fitch |
Date | 2009-04-02 23:57 |
From | Jeremy Henty |
Subject | [Csnd] Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |
Date | 2009-04-03 00:06 |
From | Jeremy Henty |
Subject | [Csnd] Re: Re: Re: Re: Re: Re: Csound 5.10.1 build dies with ludicrous gcc arguments |
Attachments | None |