[Pkg-mono-devel] Compiling Mono 3.10.0 on Debian 6.0.3 (armel) on Netgear ReadyNAS Duo v2
Jo Shields
postmaster at pop3.apebox.org
Fri Oct 10 07:40:28 UTC 2014
Uninstall your existing mono, run "make get-monolite-latest" in the mono folder.
Sent from my Sony Xperia™ smartphone
---- cautiousgiant wrote ----
>Hi there,
>
>I'm interested in running NZBdrone on my ReadyNAS Duo v2. It depends on
>Mono, and ideally Mono 3.6.0. If you run 'apt-get install mono-complete' on
>my version of Debian (Squeeze 6.0.3) you get Mono 2.6.7, which is not recent
>enough to run NZBdrone.
>
>So I've been trying to build Mono 3.6.0 (and 3.8.0 and 3.10.0) on my
>ReadyNAS Duo v2, using the recipe found here:
>
>http://www.nat.li/linux/how-to-install-mono-2-11-2-on-debian-squeeze
>
>(When trying 3.6.0 or later I skip the 'echo...' command, since I assume
>that missing file problem has been fixed in more recent versions.)
>
>It all seems to go fine until it tries to build mscorlib.dll, the second
>file in the 'runtimes' folder, where it has to use the Mono C# compiler that
>it's just built. This is the set of errors spewed out:
>
>Making all in runtime
>make[2]: Entering directory
>`/c/home/daniel/mono-install/mono-3.10.0/runtime'
>if test -w /c/home/daniel/mono-install/mono-3.10.0/mcs; then :; else chmod
>-R +w /c/home/daniel/mono-install/mono-3.10.0/mcs; fi
>cd /c/home/daniel/mono-install/mono-3.10.0/mcs && make --no-print-directory
>-s NO_DIR_CHECK=1 PROFILES='net_2_0 net_3_5 net_4_0 net_4_5 xbuild_12 '
>CC='gcc' all-profiles
>Bootstrap compiler: Mono C# compiler version 2.6.7.0
>MCS [basic] mscorlib.dll
>Internal compiler error at System/Double.cs(235,38):: exception caught while
>emitting MethodBuilder [Double::Parse]
>
>Unhandled Exception: System.Exception: Unknown type for constant
>(System.Double+ParseState), details: 1
> at Mono.CSharp.Constant.CreateConstant (System.Type t, System.Object v,
>Location loc) [0x00000] in <filename unknown>:0
> at Mono.CSharp.Const.CreateConstantReference (Location loc) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.ConstantExpr.DoResolve (Mono.CSharp.ResolveContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec,
>Mono.CSharp.Expression right_side) [0x00000] in <filename unknown>:0
> at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.ResolveContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
>ResolveFlags flags) [0x00000] in <filename unknown>:0
> at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.Assign.DoResolve (Mono.CSharp.ResolveContext ec) [0x00000]
>in <filename unknown>:0
> at Mono.CSharp.SimpleAssign.DoResolve (Mono.CSharp.ResolveContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec,
>ResolveFlags flags) [0x00000] in <filename unknown>:0
> at Mono.CSharp.Expression.Resolve (Mono.CSharp.ResolveContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.ExpressionStatement.ResolveStatement
>(Mono.CSharp.BlockContext ec) [0x00000] in <filename unknown>:0
> at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.BlockContext ec)
>[0x00000] in <filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.Block.Resolve (Mono.CSharp.BlockContext ec) [0x00000] in
><filename unknown>:0
> at Mono.CSharp.ToplevelBlock.Resolve (Mono.CSharp.FlowBranching parent,
>Mono.CSharp.BlockContext rc, Mono.CSharp.ParametersCompiled ip, IMethodData
>md) [0x00000] in <filename unknown>:0
>make[8]: *** [../../class/lib/basic/mscorlib.dll] Error 1
>make[7]: *** [do-all] Error 2
>make[6]: *** [all-recursive] Error 1
>make[5]: *** [all-recursive] Error 1
>make[4]: *** [profile-do--basic--all] Error 2
>make[3]: *** [profiles-do--all] Error 2
>make[2]: *** [all-local] Error 2
>make[2]: Leaving directory `/c/home/daniel/mono-install/mono-3.10.0/runtime'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/c/home/daniel/mono-install/mono-3.10.0'
>make: *** [all] Error 2
>
>
>Does anybody have any idea how to solve this, or any other approaches to
>getting Mono 3.6.0 or later running on the ReadyNAS Duo v2 (which is running
>Debian Squeeze 6.0.3)?
>
>Thanks!
>
>Daniel
>
>
>
>--
>View this message in context: http://mono.1490590.n4.nabble.com/Compiling-Mono-3-10-0-on-Debian-6-0-3-armel-on-Netgear-ReadyNAS-Duo-v2-tp4664142.html
>Sent from the Debian Mono mailing list archive at Nabble.com.
>
>_______________________________________________
>Pkg-mono-devel mailing list
>Pkg-mono-devel at lists.alioth.debian.org
>http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mono-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20141010/153c3019/attachment.html>
More information about the Pkg-mono-devel
mailing list