RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Mono 2

Sathallrin

Sorceror
Mono 2

Has anyone had any luck running with Mono 2? I'm using mono 2.0.1 on Ubuntu 9.04.

I'm able to successfully compile with gmcs2 but when I try to run mono runuo.exe I get the following errors:
Code:
mono runuo.exe 
RunUO - [[url]www.runuo.com][/url] Version 2.0, Build 3469.18035
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 2 64-bit processors
Core: Unix environment detected
Scripts: Compiling C# scripts...Error:
System.ComponentModel.Win32Exception: ApplicationName='gmcs', CommandLine='/target:library /debug- /optimize+ /out:"/runuo/Scripts/Output/Scripts.CS.dll" /r:"System.dll" /r:"System.Web.dll" /r:"System.Xml.dll" /r:"System.Data.dll" /r:"System.Drawing.dll" /r:"System.Windows.Forms.dll" /r:"/runuo/runuo.exe" /d:MONO /d:x64 /d:Framework_2_0 /nowarn:169,219,414 /recurse:Scripts/*.cs  -- "" ', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] 
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00000] 
  at System.Diagnostics.Process.Start () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at Server.ScriptCompiler.CompileCSScripts (Boolean debug, Boolean cache, System.Reflection.Assembly& assembly) [0x00000] 
  at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00000] 
  at Server.Core.Main (System.String[] args) [0x00000] 
This exception is fatal, press return to exit

Error:
System.InvalidOperationException: Standard output has not been redirected or process has not been started.
  at System.Diagnostics.Process.CancelErrorRead () [0x00000] 
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:CancelErrorRead ()
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000] 
  at Server.ScriptCompiler.CompileCSScripts (Boolean debug, Boolean cache, System.Reflection.Assembly& assembly) [0x00000] 
  at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00000] 
  at Server.Core.Main (System.String[] args) [0x00000] 
This exception is fatal, press return to exit

Any ideas what this all means?
 

okaygo

Wanderer
Mono JIT compiler version 2.5 (/trunk/mono r136665 Mon Jun 29 11:28:46 EDT 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. Main Page - Mono
TLS: __thread
GC: Included Boehm (with typed GC and Parallel Mark)
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none

Working for me.
 

bacca87

Wanderer
i've found the solution... (thx vort3x)

apt-get install mono-devel

and compile it with gmcs, NOT with gmcs2!!!!!

compile and enjoy!!!!
 
Top