c# - Mono 3.4.1 isn't compiling correctly on the raspberry pi -


i m trying compile latest mono source git (3.4.1) on raspberry pi, can make, , make install, if go /usr/local/lib/mono “2.0 compat-2.0 gac” folders , none other frameworks.

when try run:

pi@raspberrypi ~/testemono $ mcs hello.cs pi@raspberrypi ~/testemono $ mono hello.exe  assembly mscorlib.dll not found or not loaded. should have been installed in `/usr/local/lib/mono/4.5/mscorlib.dll' directory. 

i have initial mono installation got doing "sudo apt-get install mono-complete" (since need mono build mono) it's on /usr/lib/mono

i did 'make check' , here failed tests

420 test(s) passed. 6 test(s) did not pass.  failed tests:   block_guard_restore_aligment_on_exit.exe bug-10127.exe finally_block_ending_in_dead_bb.exe pinvoke2.exe pinvoke3.exe winx64structs.exe make[5]: *** [runtest] error 1 make[5]: leaving directory `/home/pi/mono/mono/tests' make[4]: *** [testjit] error 2 make[4]: leaving directory `/home/pi/mono/mono/tests' make[3]: *** [check-am] error 2 make[3]: leaving directory `/home/pi/mono/mono/tests' make[2]: *** [check-recursive] error 1 make[2]: leaving directory `/home/pi/mono/mono/tests' make[1]: *** [check-recursive] error 1 make[1]: leaving directory `/home/pi/mono/mono' make: *** [check-recursive] error 1 

any trying debug what's wrong welcome, since don't know should look.

i add these questions comment, don't have enough reputation.

  • what output of ./autogen.sh @ end? @ libraries section. have .net 4.0 , .net 4.5 'yes' in section? if 'no', try run ./autogen.sh --with-profile4=yes --prefix=your_prefix

    libraries:   .net 2.0/3.5:  yes   .net 4.0:      yes   .net 4.5:      yes 
  • why choose install in /usr/local, when system mono located in /usr? you'll have 2 mono installation in different directories. useful, when use parallel mono environments, far understand, want update mono latest version. use --prefix=/usr in case, avoid issues of finding libraries in path.

  • these failed tests mean of mono functionality (related pinvoke) won't work correctly on platform in general mono work expected (because other tests passed)


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -