kubuntUO - RunUO linux for human beings

Monday, February 26, 2007

GMCS - The compile command

Greetings,

Here is the command I use to compile RunUO.

$ gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,
System.Drawing,System.EnterpriseServices,System.Management,
System.Security,System.ServiceProcess,System.Web,
System.Web.Services,System.Windows.Forms,System.Xml
-nowarn:219 -recurse:*.cs

The -r: is very long so here it is in a readable format. (Just in case you can't see it all.)

System
System.Configuration.Install
System.Data
System.Drawing
System.EnterpriseServices
System.Management
System.Security
System.ServiceProcess
System.Web
System.Web.Services
System.Windows.Forms
System.Xml

Remember they are case senitive.

-Ravon

9 Comments:

  • Greetings,

    This command was updated on 16MAR2007.

    The System.Drawing was added in order to fix the "reports" web pages.

    I figured if that helped a little, why not put them all in and maybe it would help more.

    -Ravon

    By Blogger Ravon, at 10:46 AM  

  • RunUO - [www.runuo.com] Version 2.0, Build 2641.27108
    Core: Running on .NET Framework Version 2.0.50727
    Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
    Errors:
    + /usr/home/uo/TEST/Scripts/Commands/Generic/Extensions/WhereExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
    + /usr/home/uo/TEST/Scripts/Commands/Generic/Extensions/DistinctExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
    + /usr/home/uo/TEST/Scripts/Commands/Generic/Extensions/LimitExtension.cs:
    CS1706: Line 9: Anonymous methods are not allowed in attribute declaration
    + /usr/home/uo/TEST/Scripts/Commands/Generic/Extensions/SortExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
    Scripts: One or more scripts failed to compile or no script files were found.
    - Press return to exit, or R to try again.
    Error:
    System.NullReferenceException: A null value was found where an object instance was required.
    at System.TermInfoDriver.ReadKeyInternal () [0x00000]
    at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000]
    at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000]
    at System.Console.ReadKey (Boolean intercept) [0x00000]
    at Server.Core.Main (System.String[] args) [0x00000]

    By Anonymous Anonymous, at 5:15 AM  

  • Greetings,

    What flavor of Linux are you using and where version of MONO?

    -Ravon

    By Blogger Ravon, at 11:46 AM  

  • Mono JIT compiler version 1.2.2.1
    OS FreeBSD 6.2

    By Anonymous Anonymous, at 1:15 AM  

  • compiled under Mono 1.2.3.1 for Windows

    By Anonymous Anonymous, at 5:20 AM  

  • Greetings,

    Sorry, I have not ran across that error before.

    -Ravon

    By Blogger Ravon, at 7:31 AM  

  • os: winxp
    mono: 1.2.2.1 for windows
    rev: 162 patched (kubuntUO-08MAR2007)


    C:\162\Server>gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System
    .Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,Syst
    em.Management,System.Runtime.Remoting,System.Runtime.Serialization.Formatters.So
    ap,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.W
    indows.Forms,System.Xml -nowarn:219 -recurse:*.cs
    .\Serialization.cs(691,18): error CS0117: `T' does not contain a definition for
    `Deleted'
    .\Serialization.cs(739,18): error CS0117: `T' does not contain a definition for
    `Deleted'
    .\Serialization.cs(787,18): error CS0117: `T' does not contain a definition for
    `Disbanded'
    Compilation failed: 3 error(s), 0 warnings

    ;(

    By Anonymous Anonymous, at 12:28 AM  

  • Greetings,

    Have you installed by modified scripts?

    http://kubuntuo.blogspot.com/2007/03/latest-file-update-08mar2007.html

    It should take care of this error.

    -Ravon

    By Blogger Ravon, at 4:29 AM  

  • Greetings,

    You must use Linux, not BSD. BSD is slightly different that Linux.

    -Ravon

    By Blogger Ravon, at 5:00 AM  

Post a Comment

<< Home