[IronPython] Errors compiling IronPython with Mono

M. David Peterson xmlhacker at gmail.com
Fri Feb 16 13:17:46 PST 2007


Not sure if this is the same issue (I had this same problem a few days ago
attempting to build IPCE as well), but part of the 1.2.3.1 release from this
morning includes,


   - Fix IronPython 1.1 alpha 1 Compilation (80749).

More @ http://www.go-mono.com/archive/1.2.3.1/

On 2/14/07, Nicholas Riley <njriley at uiuc.edu> wrote:
>
> Hi,
>
> I'm trying to compile IronPython with Mono, using the IPCE build
> script.  With Mono 1.2.3 I get:
>
> IronPython/Modules/Builtin.cs(40,37): error CS0103: The name `Ops' does
> not exist in the context of `IronPython.Modules.Builtin'
> [... repeats many times ...]
> IronPython/Runtime/Operations/ComplexOps.cs(502,41): error CS0246: The
> type or namespace name `OpsReflectedField`2' could not be found. Are you
> missing a using directive or an assembly reference?
> IronPython/Runtime/Operations/ComplexOps.cs(503,41): error CS0246: The
> type or namespace name `OpsReflectedField`2' could not be found. Are you
> missing a using directive or an assembly reference?
> IronPython/Runtime/Operations/Ops.cs(62,125): error CS0246: The type or
> namespace name `MethodInfo' could not be found. Are you missing a using
> directive or an assembly reference?
>
> It seems that the last error is at the root of the problem -
> IronPython is using methods of MethodInfo that were only recently
> implemented in Mono (e.g. GetGenericArguments).  I upgraded to SVN
> Mono, but now I get a different set of errors:
>
> IronPython/CodeDom/Compiler.cs(35,19): error CS0534:
> `IronPython.CodeDom.PythonGenerator' does not implement inherited abstract
> member
> `System.CodeDom.Compiler.CodeGenerator.CreateEscapedIdentifier(string)'
> IronPython/CodeDom/Compiler.cs(35,19): error CS0534:
> `IronPython.CodeDom.PythonGenerator' does not implement inherited abstract
> member `System.CodeDom.Compiler.CodeGenerator.CreateValidIdentifier(string)'
> IronPython/CodeDom/Compiler.cs(35,19): error CS0534:
> `IronPython.CodeDom.PythonGenerator' does not implement inherited abstract
> member `System.CodeDom.Compiler.CodeGenerator.GetTypeOutput(
> System.CodeDom.CodeTypeReference)'
> IronPython/CodeDom/Compiler.cs(35,19): error CS0534:
> `IronPython.CodeDom.PythonGenerator' does not implement inherited abstract
> member `System.CodeDom.Compiler.CodeGenerator.IsValidIdentifier(string)'
> IronPython/CodeDom/Compiler.cs(35,19): error CS0534:
> `IronPython.CodeDom.PythonGenerator' does not implement inherited abstract
> member `System.CodeDom.Compiler.CodeGenerator.Supports(
> System.CodeDom.Compiler.GeneratorSupport)'
>
> I am not terribly familiar with C# but it seems that these methods are
> defined in Generator.cs.  Is this a problem with the Mono compiler not
> seeing the rest of this class, or ...?
>
> I would think that because IPCE uses IronPython 1.1a1 and comes with
> Mono it should be possible to compile it with that version, so maybe I
> am doing something wrong?
>
> Thanks,
>
> --
> Nicholas Riley <njriley at uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



-- 
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 |
http://dev.aol.com/blog/3155
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20070216/a05ef44b/attachment.htm 


More information about the users mailing list