[Mono-dev] Compiling olive branch SVN trunk/

Brian A. Seklecki seklecki at noc.cfi.pgh.pa.us
Fri May 22 13:02:37 EDT 2009


All:

  I haven't hacked on mono before; it's definitely amateur night over
here.   Would it be unsound to try to compile the Olive branch against a
vanilla install of Mono 2.0.1 (FC11 or FreeBSD)?

I'm assuming that I need to be tracking trunk/ of Mono in order to get
the olive/ stuff to compile?

With yesterday's code, I see the following build error:

        gmake[5]: Entering directory
        `/root/olive/nunit24/ClientUtilities/util'
        MONO_PATH="../../../class/lib/net_3_0:$MONO_PATH" resgen2 `echo
        Transform.resx | cat`
        Read in 1 resources from
        '/root/olive/nunit24/ClientUtilities/util/Transform.resx'
        Writing resource file...  Done.
        Thread 802802560 has exited with leftover thread-specific data
        after 4 destructor iterations
        MONO_PATH="../../../class/lib/net_3_0:$MONO_PATH"
        gmcs /codepage:65001 /resource:Transform.resources,NUnit.Util.Transform.resources -r:nunit.core.dll -r:nunit.core.interfaces.dll -r:System.dll -r:System.Xml.dll -r:System.Runtime.Remoting.dll /d:MONO /d:StronglyNamedAssembly  -d:NET_1_1 -d:NET_2_0 -debug+ /noconfig  -target:library -out:../../../class/lib/net_3_0/nunit.util.dll  @nunit.util.dll.sources
        AggregatingTestRunner.cs(20,75): error CS0433: The imported type
        `NUnit.Core.TestRunner' is defined multiple times
        /usr/local/lib/mono/gac/nunit.core/2.2.0.0__96d09a1eb7f44a77/nunit.core.dll (Location of the symbol related to previous error)
        /root/olive/class/lib/net_3_0/nunit.core.interfaces.dll
        (Location of the symbol related to previous error)
        AggregatingTestRunner.cs(20,87): error CS0433: The imported type
        `NUnit.Core.EventListener' is defined multiple times
        /usr/local/lib/mono/gac/nunit.core/2.2.0.0__96d09a1eb7f44a77/nunit.core.dll (Location of the symbol related to previous error)
        /root/olive/class/lib/net_3_0/nunit.core.interfaces.dll
        (Location of the symbol related to previous error)
        SummaryVisitor.cs(21,39): error CS0433: The imported type
        `NUnit.Core.ResultVisitor' is defined multiple times
        /usr/local/lib/mono/gac/nunit.core/2.2.0.0__96d09a1eb7f44a77/nunit.core.dll (Location of the symbol related to previous error)
        /root/olive/class/lib/net_3_0/nunit.core.interfaces.dll
        (Location of the symbol related to previous error)
        Compilation failed: 3 error(s), 0 warnings
        gmake[5]: *** [../../../class/lib/net_3_0/nunit.util.dll] Error
        1
        gmake[5]: Leaving directory
        `/root/olive/nunit24/ClientUtilities/util'
        gmake[4]: *** [do-all] Error 2
        gmake[4]: Leaving directory
        `/root/olive/nunit24/ClientUtilities/util'
        gmake[3]: *** [all-recursive] Error 1
        gmake[3]: Leaving directory `/root/olive/nunit24'
        gmake[2]: *** [all-recursive] Error 1
        gmake[2]: Leaving directory `/root/olive'
        gmake[1]: *** [profile-do--net_3_0--all] Error 2
        gmake[1]: Leaving directory `/root/olive'
        
        
I can provide a tee(1) of the full build and/or config.log, but I was
hoping to get some quick advice on a sound build environment?

The goal here is to setup up internal nightly autobuilds a la 
http://mono.ximian.com/monobuild/

Have a great weekend all!
  ~BAS



More information about the Mono-devel-list mailing list