[Mono-dev] Compiling olive branch SVN trunk/

Alan McGovern alan.mcgovern at gmail.com
Tue May 26 12:24:07 EDT 2009


Hey,

On Fri, May 22, 2009 at 6:02 PM, Brian A. Seklecki <
seklecki at noc.cfi.pgh.pa.us> wrote:

> 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?


Yup, that's your best bet. I'm not sure whether or not using mono from SVN
will fix your issue, but it's still advisable to be running something newer
than 2.0 when developing against olive. One good reason is that mono 2.2+
has much better support for all the new language features in .NET 3.0 which
code in olive uses.

Alan.

>
>
> 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
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090526/5ca6bdf4/attachment.html 


More information about the Mono-devel-list mailing list