[IronPython] IronPython 1.0 Beta 5 on Mono

Sanghyeon Seo sanxiyn at gmail.com
Fri Mar 31 08:10:23 CEST 2006


Compiler used below is gmcs 1.1.13.4. This is *older* than compiler I
used to compile Beta 4, because people complained about using
non-released SVN version of compiler...

While compiling the source, I get:

IronPython/Runtime/SymbolTable.cs(95,33): error CS0262: Partial
declarations of `IronPython.Runtime.SymbolTable' have conflicting
accessibility modifiers

New in Beta 5. Editing IronPython/Runtime/SymbolTable.Generated.cs
line 21 to read "public static partial class SymbolTable" and
continue:

IronPython/Compiler/FlowChecker.cs(158,13): error CS0117:
`System.Diagnostics.Debug' does not contain a definition for `Print'

New in Beta 5. This is Mono issue. Commenting out and continue:

IronPython/Runtime/PerfTrack.cs(44,13): error CS0246: The type or
namespace name `Stopwatch' could not be found. Are you missing a using
directive or an assembly reference?

New in Beta 5. Mono issue. Commenting out and continue:

IronPython/Runtime/StringOps.cs(1140,35): error CS0117:
`System.Text.Encoding' does not contain a definition for
`GetEncodings'

Already in Beta 4. Mono issue. Fixed in SVN (by creating stub).
Editing line 1140 to read "EncodingInfo[] encs = {};" (I know, it's
crazy) and continue:

IronPythonTest/EngineTest.cs(238,17): error CS0117: `System.IO.File'
does not contain a definition for `WriteAllText'

Already in Beta 4. Mono issue. Fixed in SVN (by implementation). Eh, I
won't bother with this one.

Yeah, so that's how you can compile IronPython 1.0 Beta 5 on Mono.

Seo Sanghyeon



More information about the Ironpython-users mailing list