[Ironruby-core] Problems compiling IronRuby on Mac Leopard
Ben Aurel
ben.aurel at gmail.com
Tue May 6 06:48:40 EDT 2008
I forgot to mention:
after restarting the shell, I tried it once again:
$ rake compile mono=1
(in /mono/compiling/ironruby)
Read in 33 resources from
'../ironruby/src/microsoft.scripting.core/Microsoft.Scripting.txt'
Writing resource file... Done.
--and than this error (?):
./actions/comdispatch/DispCallable.cs(134,9): error CS0452: The type
`T' must be a reference type in order to use it as type parameter `T'
in the generic type or method
`Microsoft.Scripting.Actions.RuleBuilder<T>'.
./actions/comdispatch/comtypelibdesc.cs(141,9): error CS0452: The type
`T' must be a reference type in order to use it as type parameter `T'
in the generic type or method
`Microsoft.Scripting.Actions.RuleBuilder<T>'.
--
Compilation failed: 2 error(s), 0 warnings
rake aborted!
Command failed with status (1): [gmcs /out:"/users/shared/xfiles/root/nowit...]
/mono/compiling/ironruby/rakefile:137
When I now try to run it again I simply get:
$ sudo rake compile mono=1
rake aborted!
cannot resolve path System.dll
On Tue, May 6, 2008 at 12:41 PM, Ben Aurel <ben.aurel at gmail.com> wrote:
> that's my line in ~/.bash_profile:
> ...
> export PKG_CONFIG_PATH="/opt/mono/lib/pkgconfig/"
> ,...
>
> and this is what I get with
>
> $ pkg-config --variable=libdir mono
>
> /opt/mono/lib/pkgconfig/../../lib
>
> should this be correct - no? What's wrong here?
>
>
>
>
>
> On Tue, May 6, 2008 at 12:15 PM, Sanghyeon Seo <sanxiyn at gmail.com> wrote:
> > 2008/5/6 Ben Aurel <ben.aurel at gmail.com>:
> >
> > > What's needed that the System.dll can be resolved?
> >
> > You need to have pkg-config correctly configured.
> >
> > $ pkg-config --variable=libdir mono
> > /usr/lib
> >
> > If you don't get any output, try setting PKG_CONFIG_PATH so that
> > pkg-config can find mono.pc.
> >
> > --
> > Seo Sanghyeon
> > _______________________________________________
> > Ironruby-core mailing list
> > Ironruby-core at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/ironruby-core
> >
>
More information about the Ironruby-core
mailing list