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

Tomas Matousek Tomas.Matousek at microsoft.com
Wed Mar 23 19:55:55 CET 2011


It seems like your quotes are weird:

/p:Configuration=¨v2Release¨

Try use w/o quotes. Also, Mono 2.8 xbuild might not be able to build the solution due to bugs in xbuild. Mono 2.10 should be fine.

Tomas

-----Original Message-----
From: Vernon Cole [mailto:vernondcole at gmail.com] 
Sent: Wednesday, March 23, 2011 11:48 AM
To: Discussion of IronPython
Cc: Tomas Matousek; Jeff Hardy
Subject: Re: [IronPython] Building IronPython/IronRuby for Mono? Yes!

Just learning ... perhaps I missed a step with git or something? ...
but trying to follow along on this.  I am trying to build an IronPython 2.7 which will run on Ubuntu using the stock 2.6.7 mono -- so .NET 2 compatible.

I just built and am running a copy of openSUSE 11.4, so in theory I have a good enough mono and compiler, etc.
I believe I have the latest source.
git log gives:
v v v v v
commit a04ffe823a7f21da622044532644157b038b21d8
Author: Tomas Matousek <tomas_matousek at hotmail.com>
Date:   Wed Mar 23 09:08:15 2011 -0700

    Fixes IronPython CLR2 build.
^ ^ ^ ^ ^
My build attempt ends in an error.
Am I doing it wrong, or is something still missing?
v v v v v
vernon at linux-0sza:~/IronLanguages-main/Solutions> xbuild IronPython.Mono.sln /p:Configuration=¨v2Release¨ XBuild Engine Version 2.8.2.0 Mono, Version 2.8.2.0 Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2009.
/home/vernon/IronLanguages-main/Solutions/IronPython.Mono.sln:
warning : Project file
/home/vernon/IronLanguages-main/Hosts/SilverLight/Microsoft.Scripting.SilverLight/Microsoft.Scripting.Silverlight.csproj
referenced in the solution file, not found. Ignoring.
/home/vernon/IronLanguages-main/Solutions/IronPython.Mono.sln:
warning : Project file
/home/vernon/IronLanguages-main/Hosts/SilverLight/Chiron/Chiron.csproj
referenced in the solution file, not found. Ignoring.

Build started 3/23/2011 12:25:50 PM.
__________________________________________________
Project "/home/vernon/IronLanguages-main/Solutions/IronPython.Mono.sln"
(default target(s)):
	
	Target ValidateSolutionConfiguration:
/home/vernon/IronLanguages-main/Solutions/IronPython.Mono.sln: error :
Invalid solution configuration and platform: "¨v2Release¨|Any CPU".
^ ^ ^ ^ ^ ^
Do I need to update mono to 2.10 on openSUSI, too?
--
Vernon

On Wed, Mar 23, 2011 at 10:21 AM, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:
>
> 4) You don't need to do this. Use IronPython.Mono.sln to build IronPython and IronRuby.sln to build IronRuby. Those 2 solutions should work on Mono. DLR is built by both as it is a dependency. No need to build Dlr.sln: it includes both languages plus additional test projects  - as you noticed some of the test assemblies are not buildable on Mono yet.
>
> Tomas







More information about the Ironpython-users mailing list