Hello Sticky
2008-Sep-05 06:41 UTC
[Ironruby-core] Experiences building IronRuby from source
Hi, I''ve just downloaded the IronRuby source code because I''d like to create something akin to IronPython''s pyc.py which can put one or more ruby files into an Assembly which I can later load into a partial trust domain and instantiate and run a particular ruby file. First, a few questions on the solution file: 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into %USERPROFILE%? I will ultimately be running under ASP.NET. 2. There are many warnings in the various projects about weird references to mscorlib (which is automatically referenced) and "System" without a version. Can I propose a patch with updates to the vcproj files? 3. The Ruby.Console and IronRuby.Tests projects both have a project file reference to "..\..\App.config" -- is this required? This is a build error. There''s no App.config file in /svn/trunk/ Thanks,
Also, any help on generating the Assembly from .rb source files would be appreciated. Is there any equivalent to IronPython''s ClrModule. CompileModules? Thanks, -----Original Message----- From: Hello Sticky [mailto:hellosticky at gmail.com] Sent: Friday, September 05, 2008 2:42 AM To: ironruby-core at rubyforge.org Subject: Experiences building IronRuby from source Hi, I''ve just downloaded the IronRuby source code because I''d like to create something akin to IronPython''s pyc.py which can put one or more ruby files into an Assembly which I can later load into a partial trust domain and instantiate and run a particular ruby file. First, a few questions on the solution file: 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into %USERPROFILE%? I will ultimately be running under ASP.NET. 2. There are many warnings in the various projects about weird references to mscorlib (which is automatically referenced) and "System" without a version. Can I propose a patch with updates to the vcproj files? 3. The Ruby.Console and IronRuby.Tests projects both have a project file reference to "..\..\App.config" -- is this required? This is a build error. There''s no App.config file in /svn/trunk/ Thanks,
John Lam (IRONRUBY)
2008-Sep-05 15:23 UTC
[Ironruby-core] Experiences building IronRuby from source
Hello Sticky:> 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into > %USERPROFILE%? I will ultimately be running under ASP.NET.Yes, if you want to run the RubySpec test suite.> 2. There are many warnings in the various projects about weird > references to mscorlib (which is automatically referenced) and "System" > without a version. Can I propose a patch with updates to the vcproj > files?Can you provide details? I don''t see them here.> 3. The Ruby.Console and IronRuby.Tests projects both have a project > file reference to "..\..\App.config" -- is this required? This is a > build error. There''s no App.config file in /svn/trunk/I omitted this file by mistake (it''s a strange special case in our mirroring script), but it''s fixed in r140 which I just committed. Thanks, -John
John Lam (IRONRUBY)
2008-Sep-05 15:23 UTC
[Ironruby-core] Experiences building IronRuby from source
KE:> Also, any help on generating the Assembly from .rb source files would > be appreciated. Is there any equivalent to IronPython''s ClrModule. > CompileModules?This isn''t supported today, but we''re working on a solution. Not sure what the ETA is right now though. Thanks, -John
>From a clean checkout:Warning 1 The referenced component ''mscorlib'' could not be found. Warning 2 The referenced component ''System'' could not be found. Warning 3 The referenced component ''mscorlib'' could not be found. Warning 4 The referenced component ''System'' could not be found. Warning 5 The referenced component ''mscorlib'' could not be found. Warning 6 The referenced component ''System.Net'' could not be found. Warning 7 The referenced component ''System'' could not be found. Warning 8 The referenced component ''mscorlib'' could not be found. Warning 9 The referenced component ''System'' could not be found. Warning 10 The referenced component ''System.Net'' could not be found. Visual Studio doesn''t report which project the warning is for, but double clicking on each warning goes to the problematic reference. For example, in src/ironruby/Ruby.csproj: <Reference Include="mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\mscorlib.dll</HintPath> </Reference> <Reference Include="System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\System.Net.dll</HintPath> </Reference> <Reference Include="System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\System.dll</HintPath> </Reference> I don''t have the Silverlight SDK installed, is this required? IronPython has Silverlight support, but doesn''t have these types of references in its .csproj files. Thanks, -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam (IRONRUBY) Sent: Friday, September 05, 2008 11:23 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Experiences building IronRuby from source Hello Sticky:> 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into > %USERPROFILE%? I will ultimately be running under ASP.NET.Yes, if you want to run the RubySpec test suite.> 2. There are many warnings in the various projects about weird > references to mscorlib (which is automatically referenced) and "System" > without a version. Can I propose a patch with updates to the vcproj > files?Can you provide details? I don''t see them here.> 3. The Ruby.Console and IronRuby.Tests projects both have a project > file reference to "..\..\App.config" -- is this required? This is a > build error. There''s no App.config file in /svn/trunk/I omitted this file by mistake (it''s a strange special case in our mirroring script), but it''s fixed in r140 which I just committed. Thanks, -John _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Curt Hagenlocher
2008-Sep-05 16:01 UTC
[Ironruby-core] Experiences building IronRuby from source
This is for building Silverlight. Silverlight builds against a different version of the CLR. You should ignore these warnings. -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of KE Sent: Friday, September 05, 2008 9:00 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Experiences building IronRuby from source>From a clean checkout:Warning 1 The referenced component ''mscorlib'' could not be found. Warning 2 The referenced component ''System'' could not be found. Warning 3 The referenced component ''mscorlib'' could not be found. Warning 4 The referenced component ''System'' could not be found. Warning 5 The referenced component ''mscorlib'' could not be found. Warning 6 The referenced component ''System.Net'' could not be found. Warning 7 The referenced component ''System'' could not be found. Warning 8 The referenced component ''mscorlib'' could not be found. Warning 9 The referenced component ''System'' could not be found. Warning 10 The referenced component ''System.Net'' could not be found. Visual Studio doesn''t report which project the warning is for, but double clicking on each warning goes to the problematic reference. For example, in src/ironruby/Ruby.csproj: <Reference Include="mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\mscorlib.dll</HintPath> </Reference> <Reference Include="System.Net, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\System.Net.dll</HintPath> </Reference> <Reference Include="System, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' == ''true'' "> <SpecificVersion>False</SpecificVersion> <HintPath>$(SilverlightSdkPath)\System.dll</HintPath> </Reference> I don''t have the Silverlight SDK installed, is this required? IronPython has Silverlight support, but doesn''t have these types of references in its .csproj files. Thanks, -----Original Message----- From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam (IRONRUBY) Sent: Friday, September 05, 2008 11:23 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Experiences building IronRuby from source Hello Sticky:> 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into > %USERPROFILE%? I will ultimately be running under ASP.NET.Yes, if you want to run the RubySpec test suite.> 2. There are many warnings in the various projects about weird > references to mscorlib (which is automatically referenced) and "System" > without a version. Can I propose a patch with updates to the vcproj > files?Can you provide details? I don''t see them here.> 3. The Ruby.Console and IronRuby.Tests projects both have a project > file reference to "..\..\App.config" -- is this required? This is a > build error. There''s no App.config file in /svn/trunk/I omitted this file by mistake (it''s a strange special case in our mirroring script), but it''s fixed in r140 which I just committed. Thanks, -John _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core
Jimmy Schementi
2008-Sep-10 22:44 UTC
[Ironruby-core] Experiences building IronRuby from source
You don''t need the Silverlight SDK installed ... just the Silverlight Runtime. If you look at the value of $SilverlightSdkPath, it should point to "C:\Program Files\Microsoft Silverlight\2.0.30523.8" ... if so, then you build will succeed for Silverlight. If not, then you should make it point to that path. IF you don''t have Silverlight installed, then you shouldn''t be building for Silverlight =P> -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of Curt Hagenlocher > Sent: Friday, September 05, 2008 9:02 AM > To: hellosticky at gmail.com; ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Experiences building IronRuby from source > > This is for building Silverlight. Silverlight builds against a > different version of the CLR. You should ignore these warnings. > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of KE > Sent: Friday, September 05, 2008 9:00 AM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Experiences building IronRuby from source > > >From a clean checkout: > > Warning 1 The referenced component ''mscorlib'' could not be found. > Warning 2 The referenced component ''System'' could not be found. > Warning 3 The referenced component ''mscorlib'' could not be found. > Warning 4 The referenced component ''System'' could not be found. > Warning 5 The referenced component ''mscorlib'' could not be found. > Warning 6 The referenced component ''System.Net'' could not be > found. > Warning 7 The referenced component ''System'' could not be found. > Warning 8 The referenced component ''mscorlib'' could not be found. > Warning 9 The referenced component ''System'' could not be found. > Warning 10 The referenced component ''System.Net'' could not be > found. > > Visual Studio doesn''t report which project the warning is for, but > double > clicking on each warning goes to the problematic reference. > > For example, in src/ironruby/Ruby.csproj: > > <Reference Include="mscorlib, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' => ''true'' > "> > <SpecificVersion>False</SpecificVersion> > <HintPath>$(SilverlightSdkPath)\mscorlib.dll</HintPath> > </Reference> > <Reference Include="System.Net, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' => ''true'' > "> > <SpecificVersion>False</SpecificVersion> > <HintPath>$(SilverlightSdkPath)\System.Net.dll</HintPath> > </Reference> > <Reference Include="System, Version=2.0.5.0, Culture=neutral, > PublicKeyToken=7cec85d7bea7798e" Condition=" ''$(SilverlightBuild)'' => ''true'' > "> > <SpecificVersion>False</SpecificVersion> > <HintPath>$(SilverlightSdkPath)\System.dll</HintPath> > </Reference> > > I don''t have the Silverlight SDK installed, is this required? > IronPython has > Silverlight support, but doesn''t have these types of references in its > .csproj files. > > Thanks, > > -----Original Message----- > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of John Lam > (IRONRUBY) > Sent: Friday, September 05, 2008 11:23 AM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Experiences building IronRuby from source > > Hello Sticky: > > > 1. What is /svn/trunk/runfirst.cmd? Do I really need stuff put into > > %USERPROFILE%? I will ultimately be running under ASP.NET. > > Yes, if you want to run the RubySpec test suite. > > > 2. There are many warnings in the various projects about weird > > references to mscorlib (which is automatically referenced) and > "System" > > without a version. Can I propose a patch with updates to the vcproj > > files? > > Can you provide details? I don''t see them here. > > > 3. The Ruby.Console and IronRuby.Tests projects both have a project > > file reference to "..\..\App.config" -- is this required? This is a > > build error. There''s no App.config file in /svn/trunk/ > > I omitted this file by mistake (it''s a strange special case in our > mirroring > script), but it''s fixed in r140 which I just committed. > > Thanks, > -John > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core