[IronPython] IronPython 2.0 RC 2 on Mono
Dino Viehland
dinov at microsoft.com
Mon Dec 8 18:54:03 CET 2008
Thanks for doing this Seo! I think we'll remove the extra source files before we release 2.0 final.
If you haven't already I would suggest reporting a bug to Mono about the extension attribute. Both MS's VB & C# compilers support recognizing it from an arbitrary assembly so it seems like a common pattern. Unfortunately I don't have any better suggestions.
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Seo Sanghyeon
Sent: Sunday, December 07, 2008 9:10 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython 2.0 RC 2 on Mono
Currently you need Mono SVN (both to run and to compile). Using SVN
r120972 below.
The binary runs fine.
IronPython includes its own copy of ExtensionAttribute, but this
doesn't seem to work with Mono C# compiler: that is, extension methods
don't get recognized as extension methods. This causes trouble where
MetaObject is defined in Microsoft.Scripting.Core.dll, and its
extensions are defined in MetaObjectExtensions in
Microsoft.Scripting.dll. My hack below copies MetaObjectExtensions and
its dependencies to Microsoft.Scripting.Core and patch it to be a
partial class instead of a static class housing extension methods. Any
better idea?
Also there are some unused files in the source distribution.
Below are steps I used to compile the source on Mono.
Download source from
http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseId=19841
$ unzip IronPython-2.0-Src.zip
$ cd IronPython-2.0
Some hacks...
$ svn co -r 597
https://fepy.svn.sourceforge.net/svnroot/fepy/trunk/patches/latest
build
This deletes unused files and does copying mentioned above
$ sh build/pre.sh
Copies NAnt build file: it uses noconfig to avoid pulling System.Core.dll
$ cp build/IronPython.build Src
Patches
$ patch -p1 < build/patch-exthack
$ patch -p1 < build/patch-console
Build
$ cd Src
$ nant
--
Seo Sanghyeon
_______________________________________________
Users mailing list
Users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list