| Looks like junk characters in the Sconstruct or custom.py file. Try making all the line endings into linefeeds (Unix style), and edit the file with something that reveals non-printing characters so that you can remove them.\
Hope this helps,
Mike
-----Original Message-----
>From: Oeyvind Brandtsegg
>Sent: Jul 24, 2007 4:29 PM
>To: Developer discussions
>Subject: [Cs-dev] compiling problems with python 2.5
>
>I've run into problems compiling csound after updating from python2.4 to 2.5.
>
>I have installed Scons (0.97) for python2.5, and I've changed the
>environment variables for SWIG to point to 2.5 instead of 2.4
>
>Any clues greatly appreciated.
>
>best
>Oeyvind
>
>...
>I get the following error:
>
>yvind@HFF10894 /source/csound5
>$ c:/python25/scripts/scons
>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.
>
>UnicodeDecodeError: 'ascii' codec can't decode byte 0x9d in position
>26: ordinal not in range(128):
> File "C:\msys\1.0\source\csound5\SConstruct", line 42:
> ''')
> File "C:\Python25\scons-0.97\SCons\Script\SConscript.py", line 581:
> env = self.factory()
> File "C:\Python25\scons-0.97\SCons\Script\SConscript.py", line 561:
> default_env = SCons.Defaults.DefaultEnvironment()
> File "C:\Python25\scons-0.97\SCons\Defaults.py", line 66:
> _default_env = apply(SCons.Environment.Environment, args, kw)
> File "C:\Python25\scons-0.97\SCons\Environment.py", line 794:
> apply_tools(self, tools, toolpath)
> File "C:\Python25\scons-0.97\SCons\Environment.py", line 137:
> env.Tool(tool)
> File "C:\Python25\scons-0.97\SCons\Environment.py", line 1340:
> tool(self)
> File "C:\Python25\scons-0.97\SCons\Tool\__init__.py", line 157:
> apply(self.generate, ( env, ) + args, kw)
> File "C:\Python25\scons-0.97\SCons\Tool\default.py", line 41:
> SCons.Tool.Tool(t)(env)
> File "C:\Python25\scons-0.97\SCons\Tool\__init__.py", line 157:
> apply(self.generate, ( env, ) + args, kw)
> File "C:\Python25\scons-0.97\SCons\Tool\mslink.py", line 200:
> include_path, lib_path, exe_path =
>SCons.Tool.msvc.get_msvc_paths(env,version)
> File "C:\Python25\scons-0.97\SCons\Tool\msvc.py", line 564:
> include_path = get_msvc_path(env, "include", version)
> File "C:\Python25\scons-0.97\SCons\Tool\msvc.py", line 349:
> return _get_msvc8_path(path, str(version_num), platform, suite)
> File "C:\Python25\scons-0.97\SCons\Tool\msvc.py", line 291:
> dirs = _parse_msvc8_overrides(version, platform, suite)
> File "C:\Python25\scons-0.97\SCons\Tool\msvc.py", line 194:
> settings_path = settings_path.replace(r'%' + env_var + r'%',
>env_vars[env_var])
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc.
>Still grepping through log files to find problems? Stop.
>Now Search log events and configuration files using AJAX and a browser.
>Download your FREE copy of Splunk now >> http://get.splunk.com/
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csou |