[Ironruby-core] build problems (mono, gmcs from svn)

C.J. Adams-Collier cjac at colliertech.org
Tue May 6 12:06:47 EDT 2008


Hey all,

I'm not familiar with ruby or rake, so please forgive the n00b question.
Is IronRuby known to currently build on mono 1.9?

./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

Cheers,

C.J.

cjcollier at karma:/usr/src/svn/rubyforge.org/ironruby/trunk$ \
grep trunk .svn/entries && \
svn up && \
rake --version && \
ruby --version && \
gmcs --version && \
mono --version && \
mono=1 rake --trace compile
svn://rubyforge.org/var/svn/ironruby/trunk
At revision 101.
rake, version 0.8.1
ruby 1.8.6 (2008-03-03 patchlevel 114) [i486-linux]
Mono C# compiler version 1.9.0.0
Mono JIT compiler version 1.9 (/trunk/ r102153)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Notifications: epoll
        Architecture:  x86
        Disabled:      none
(in /usr/src/svn/rubyforge.org/ironruby/trunk)
./context.rb:159: warning: Insecure world writable dir /opt in PATH, mode 040777
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:368: warning: Insecure world writable dir /opt in PATH, mode 040777
** Invoke clean_build (first_time)
** Invoke happy 
** Execute clean_build
** Invoke compile_dlr (first_time)
** Invoke clean_build 
** Execute compile_dlr
Read in 0 resources from '/usr/src/svn/rubyforge.org/ironruby/trunk/src/microsoft.scripting.core/Microsoft.Scripting.txt'
Writing resource file...  Done.
./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:"/usr/src/svn/rubyforge.org/iron...]
/usr/lib/ruby/1.8/rake.rb:899:in `sh'
/usr/lib/ruby/1.8/rake.rb:906:in `call'
/usr/lib/ruby/1.8/rake.rb:906:in `sh'
/usr/lib/ruby/1.8/rake.rb:985:in `sh'
./context.rb:183:in `exec'
./context.rb:447:in `compile'
./context.rb:432:in `chdir'
./context.rb:432:in `compile'
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:137
./context.rb:578:in `instance_eval'
./context.rb:578:in `source_context'
/usr/src/svn/rubyforge.org/ironruby/trunk/Rakefile:135
/usr/lib/ruby/1.8/rake.rb:546:in `call'
/usr/lib/ruby/1.8/rake.rb:546:in `execute'
/usr/lib/ruby/1.8/rake.rb:541:in `each'
/usr/lib/ruby/1.8/rake.rb:541:in `execute'
/usr/lib/ruby/1.8/rake.rb:508:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:518:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:1183:in `each'
/usr/lib/ruby/1.8/rake.rb:1183:in `send'
/usr/lib/ruby/1.8/rake.rb:1183:in `each'
/usr/lib/ruby/1.8/rake.rb:515:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:507:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:501:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:501:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/rake.rb:494:in `invoke'
/usr/lib/ruby/1.8/rake.rb:1931:in `invoke_task'
/usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1909:in `each'
/usr/lib/ruby/1.8/rake.rb:1909:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1903:in `top_level'
/usr/lib/ruby/1.8/rake.rb:1881:in `run'
/usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:1878:in `run'
/usr/bin/rake:28

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080506/1701980a/attachment.bin>


More information about the Ironruby-core mailing list