[Ironruby-core] IronRuby on Mono

Wim Vander Schelden wim at fixnum.org
Thu Sep 4 18:10:30 EDT 2008


I've built Mono from SVN (following the instructions found on
http://www.mono-project.com/Compiling_Mono) now, but I'm still getting
errors. The old ones are fixed, but now I'm getting these (output contains
many more warnings, but I don't think those matter at the moment):

./ast/LambdaExpression.cs(178,20): error CS0122:
`System.Linq.Expressions.Expression<TDelegate>.Expression(System.Linq.Expressions.Expression,
System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ParameterExpression>)'
is inaccessible due to its protection level
/home/wim/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
(Location of the symbol related to previous error)
./ast/LambdaExpression.cs(178,20): error CS1729: The type
`System.Linq.Expressions.Expression<TDelegate>' does not contain a
constructor that takes `5' arguments
/home/wim/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
(Location of the symbol related to previous error)
./ast/LambdaExpression.cs(313,20): error CS0122:
`System.Linq.Expressions.Expression<TDelegate>.Expression(System.Linq.Expressions.Expression,
System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.ParameterExpression>)'
is inaccessible due to its protection level
/home/wim/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
(Location of the symbol related to previous error)
./ast/LambdaExpression.cs(313,20): error CS1729: The type
`System.Linq.Expressions.Expression<TDelegate>' does not contain a
constructor that takes `5' arguments
/home/wim/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
(Location of the symbol related to previous error)

Any help with this one? I'm really sorry to keep polluting the mailinglist
with these problems, but I don't know where else to look.

kind regards,

Wim

On Wed, Sep 3, 2008 at 12:33 AM, C.J. Adams-Collier <cjac at colliertech.org>wrote:

> hey there Wim,
>
> I just finished reviewing Seo's recent postings and it looks like
> IronRuby currently requires a Mono from subversion.  We'd be happy to
> walk you through the process on #mono (irc.gimp.net).  If you're
> familiar with ye olde autotools build system, you can grab the source
> from svn and go.
>
> $ svn co svn://anonsvn.mono-project.com/source/trunk/mono
> $ cd mono
> $ svn co svn://anonsvn.mono-project.com/source/trunk/mcs
> $ wget -O ~/.devenv http://www.colliertech.org/~cjac/scripts/_devenv.sh<http://www.colliertech.org/%7Ecjac/scripts/_devenv.sh>
> $ . ~/.devenv
> $ ./autogen.sh --prefix=$HOME/opt
> $ make
> $ make install
> ...
> $ which mono
>
> Cheers,
>
> C.J.
>
> On Tue, Sep 02, 2008 at 11:50:07PM +0200, Wim Vander Schelden wrote:
> > Ok, these patches get me past the errors I got earlier, but a few steps
> > further I run into this:
> >
> > ./utils/helpers.cs(37,20): error CS1502: The best overloaded method match
> > for `System.Reflection.Emit.DynamicMethod.DynamicMethod(string,
> System.Type,
> > System.Type[], System.Reflection.Module)' has some invalid arguments
> > /usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to
> previous
> > error)
> > ./utils/helpers.cs(37,20): error CS1503: Argument 4: Cannot convert type
> > `bool' to `System.Reflection.Module'
> > Compilation failed: 2 error(s), 12 warnings
> >
> >
> > I'm using Mono 1.9.1.
> >
> > On Tue, Sep 2, 2008 at 11:27 PM, Seo Sanghyeon <sanxiyn at gmail.com>
> wrote:
> >
> > > 2008/9/3 Wim Vander Schelden <wim at fixnum.org>:
> > > > Has anyone else tried running a recent version on Mono?
> > >
> > > Yes, please use patches here:
> > > http://sparcs.kaist.ac.kr/~tinuviel/download/IronRuby/<http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/>
> <http://sparcs.kaist.ac.kr/%7Etinuviel/download/IronRuby/>
> > >
> > > --
> > > Seo Sanghyeon
> > > _______________________________________________
> > > Ironruby-core mailing list
> > > Ironruby-core at rubyforge.org
> > > http://rubyforge.org/mailman/listinfo/ironruby-core
> > >
> >
> >
> >
> > --
> > Wim Vander Schelden
> > http://fixnum.org
>
> > _______________________________________________
> > Ironruby-core mailing list
> > Ironruby-core at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFIvb84XKBS0hdr6UYRAjuUAJ0TX+XeBGq91FKdAfFBmZuddg2H2QCeIQp4
> cbKyo6Gyh0/QhIfCsFS+GM8=
> =aX75
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>


-- 
Wim Vander Schelden
http://fixnum.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080905/58dbd805/attachment.html>


More information about the Ironruby-core mailing list