[Mono-devel-list] compiling mono on ultralinux sparc - flaky?
Esposito, David
desposito at opentv.com
Fri Apr 8 15:03:21 EDT 2005
I'm interested in running mono on sparc ultra linux (gentoo).
Searching for both "sparc" and "ultra" on the mono website doesn't show up
with much. Here's what I have:
davide at venice davide $ uname -a
Linux venice 2.4.26-sparc #3 Mon Jun 7 17:19:23 PDT 2004 sparc64 sun4u TI
UltraSparc I (SpitFire) GNU/Linux
So using 1.1.6 tar file and configure line:
./configure --prefix=/usr --host=sparc-unknown-linux-gnu --mandir=/usr/share
/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localsta
tedir=/var/lib --with-preview=yes --with-tls=pthread --with-jit=no
--with-interp
=yes --without-icu
It stops here:
make[8]: Entering directory
`/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/cla
ss/I18N/MidEast'
make all-local
make[9]: Entering directory
`/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/class/I18N/MidEast'
MONO_PATH="../../../class/lib/net_2_0:$MONO_PATH"
/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime/mono-wrapper
../../../gmcs/gmcs.exe /r:mscorlib.dll /r:I18N.dll -d:NET_1_1 -d:NET_2_0
-debug /noconfig /target:library
/out:../../../class/lib/net_2_0/I18N.MidEast.dll @I18N.MidEast.dll.sources
MONO_PATH="../../../class/lib/net_1_1_bootstrap:$MONO_PATH"
/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/runtime/mono-wrapper
../../../class/lib/net_1_1_bootstrap/sn.exe -q -R
../../../class/lib/net_2_0/I18N.MidEast.dll ../../../class/mono.snk
Unhandled Exception: System.IO.FileNotFoundException:
/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/class/lib/net_2_0/I18N.MidEa
st.dll :
/var/tmp/portage/mono-1.1.6/work/mono-1.1.6/mcs/class/lib/net_2_0/I18N.MidEa
st.dll
make[9]: *** [../../../class/lib/net_2_0/I18N.MidEast.dll] Error 1
I looked and the file ../../../class/lib/net_2_0/I18N.MidEast.dll is not
there. So the following line, which looks like it's putting a strong key on
the assembly, fails.
Strange thing is that I went into there and ran the command by hand and
../../../class/lib/net_2_0/I18N.MidEast.dll was created w/o error!
So I re-ran the whole compile and had the same issue as above, (error
applying a strong key to a missing file), but somewhere's else in the code.
So, there seems to be some kind of non-reproducable error here.
I got this on 2 different machines, (an ultra 5 and ultra 1), so I don't
think it's my hardware (although it is old and cranky).
I'm willing to put some effort into making this work, if someone could point
me in the correct direction.
I couldn't find any mention of linux sparc on the mono website.
_____
David Esposito
Senior Software Engineer
More information about the Mono-devel-list
mailing list