[IronPython] Building IronPython/IronRuby for Mono? Yes!

Tomas Matousek Tomas.Matousek at microsoft.com
Wed Mar 23 23:26:27 CET 2011


I see, I guess I forgot to add these configs to IronPython.Mono.sln. But they shoud certainly be there.

Tomas

-----Original Message-----
From: Doug Blank [mailto:doug.blank at gmail.com] 
Sent: Wednesday, March 23, 2011 3:16 PM
To: Tomas Matousek
Cc: Discussion of IronPython
Subject: Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

On Wed, Mar 23, 2011 at 12:13 PM, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:
> " However, it appears that building the "v2..." targets doesn't work right now"
>
> This should be fixed now.

Do we need to change the IronPython.Mono.sln too? Looking through Solutions/IronPython.Mono.sln, I only see Debug and Release configurations (and those both work great).

I'm new to git, so maybe I have the wrong code, but I'm getting an error on "v2Release" and "v2Debug":

# yesterday:
$ git clone https://github.com/IronLanguages/main.git
$ cd main
# today:
$ git pull
remote: Counting objects: 27, done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 14 (delta 11), reused 0 (delta 0) Unpacking objects: 100% (14/14), done.
>From https://github.com/IronLanguages/main
   4e7a828..a04ffe8  master     -> origin/master
Updating 4e7a828..a04ffe8
Fast-forward
 .../IronPython/IronPython/Runtime/PythonTuple.cs   |    2 +-
 Runtime/Microsoft.Dynamic/Math/BigIntegerV2.cs     |   16 +++++++++++++++-
 Runtime/Microsoft.Dynamic/Math/BigIntegerV4.cs     |   10 +++++++---
 Runtime/Microsoft.Dynamic/Utils/MathUtils.cs       |   12 ++++++------
 4 files changed, 29 insertions(+), 11 deletions(-) $ git status # On branch master nothing to commit (working directory clean) $ xbuild Solutions/IronPython.Mono.sln /p:Configuration="v2Release"
...
Project "/tmp/main/Solutions/IronPython.Mono.sln" (default target(s)):
	Target ValidateSolutionConfiguration:
/tmp/main/Solutions/IronPython.Mono.sln: error : Invalid solution configuration and platform: "v2Release|Any CPU".
	Task "Error" execution -- FAILED
	Done building target "ValidateSolutionConfiguration" in project
"/tmp/main/Solutions/IronPython.Mono.sln".-- FAILED Done building project "/tmp/main/Solutions/IronPython.Mono.sln".-- FAILED

Build FAILED.

-Doug

> Tomas
>
> -----Original Message-----
> From: users-bounces at lists.ironpython.com 
> [mailto:users-bounces at lists.ironpython.com] On Behalf Of Jeff Hardy
> Sent: Wednesday, March 23, 2011 8:05 AM
> To: Doug Blank
> Cc: Discussion of IronPython
> Subject: Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!
>
> On Wed, Mar 23, 2011 at 7:13 AM, Doug Blank <doug.blank at gmail.com> wrote:
>> Questions:
>>
>> 1) How to build a Release version rather than Debug?
>> 2) How to set the framework to use 2.0 rather than 4.0?
>
> 1) msbuild Solutions/Dlr.sln /p:Configuration="Release"
> 2) msbuild Solutions/Dlr.sln /p:Configuration="v2Debug" (or 
> "v2Release")
>
> I assume xbuild's command line matches msbuild's.
>
> However, it appears that building the "v2..." targets doesn't work right now, which I was kinda afraid of. I think there's a discrepancy between the Microsoft.Scripting DLR and the .NET 4 DLR.
>
> - Jeff
> _______________________________________________
> 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