[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Mono Building for AMD64 v 1.16



Hi all,
after looking at http://pkg-mono.alioth.debian.org/ I saw that in the debian 
repository tagged experimental there are sources of mono 1.16.

I tried to compile the package and to install it on my pure64 system via 
"configure && .. && sudo make install" without problems, but when using the 
debian way (dpkg-buildpackage -us -uc -d) I found a compilation problem, also 
after following the instruction at 
http://pkg-mono.alioth.debian.org/BUILD_MONO_FROM_SCRATCH_HOWTO , so chroot 
environment, installing in /usr/local etc etc.

Someone managed to build binary debs for AMD64 ?

The below lines are what I think should be relevant errors, any hint?

--------------- fakeroot dpkg-buildpackage -b -uc -d -------------------

make[8]: Entering directory `/usr/src/mono-test/mono-1.1.6/mcs/class/corlib'
/usr/bin/make all-local
make[9]: Entering directory `/usr/src/mono-test/mono-1.1.6/mcs/class/corlib'
MONO_PATH="../../class/lib/basic:
$MONO_PATH" /usr/src/mono-test/mono-1.1.6/runtime/mono-wrapper ../../class/lib/basic/mcs.exe /nowarn:649 /nowarn:169 
-d:INSIDE_CORLIB  -d:NET_1_1 -d:ONLY_1_1 
-debug /noconfig /unsafe /nostdlib /target:library /out:mscorlib.dll  
@corlib.dll.sources

Unhandled Exception: System.NullReferenceException: Object reference not set 
to an instance of an object
in (wrapper managed-to-native) 
System.Object:__icall_wrapper_mono_array_new_specific (intptr,int)
in <0x002f4> Mono.CSharp.Block:ResolveMeta (Mono.CSharp.ToplevelBlock 
toplevel, Mono.CSharp.EmitContext ec, Mono.CSharp.InternalParameters ip)

[...a lot of "in <> ... ip)" similar, more than 60.]

in <0x000bc> Mono.CSharp.EmitContext:ResolveTopBlock (Mono.CSharp.EmitContext 
anonymous_method_host, Mono.CSharp.ToplevelBlock block, 
Mono.CSharp.InternalParameters ip, Location loc, System.Boolean unreachable)
in <0x00048> Mono.CSharp.EmitContext:EmitTopBlock (Mono.CSharp.ToplevelBlock 
block, Mono.CSharp.InternalParameters ip, Location loc)
in <0x004cb> Mono.CSharp.Constructor:Emit ()
in <0x0049b> Mono.CSharp.TypeContainer:EmitType ()
in <0x002c8> Mono.CSharp.RootContext:EmitCode ()
in <0x00e7b> Mono.CSharp.Driver:MainDriver (System.String[] args)
in <0x00015> Mono.CSharp.Driver:Main (System.String[] args)
make[9]: *** [../../class/lib/net_1_1_bootstrap/mscorlib.dll] Error 1
make[9]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs/class/corlib'
make[8]: *** [all.real] Error 2
make[8]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs/class/corlib'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs/class'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs'
make[5]: *** [profile-do--net_1_1_bootstrap--all] Error 2
make[5]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs'
make[4]: *** [profiles-do--all] Error 2
make[4]: Leaving directory `/usr/src/mono-test/mono-1.1.6/mcs'
make[3]: *** [all-local] Error 2
make[3]: Leaving directory `/usr/src/mono-test/mono-1.1.6/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/mono-test/mono-1.1.6'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/mono-test/mono-1.1.6'
make: *** [build-stamp] Error 2
marco@tremendo:/usr/src/mono-test/mono-1.1.6
--------------- fakeroot dpkg-buildpackage -b -uc -d -------------------
-- 
Marco Amadori 
:wq



Reply to: