Mono does not build on freeBSD 10.1 (i386)
sergio de Almeida Lenzi
lenzi.sergio at gmail.com
Wed May 20 03:33:21 UTC 2015
Hello I try to build mono on freeBSD 10.1 (i386) in the
ports, mono version 4.0.1.28
it stops the build with the message that cannot execute mcs
if I try to execute mcs (from the wrapper....)
/usr/ports/lang/mono]# work/mono-4.0.1/runtime/_tmpinst/bin/mcs
result in error....n (cannot find mscorlib.dll)
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the
`/usr/local/lib/mono/4.5/mscorlib.dll' directory.
there exists...
find work -name mscorlib.dll
work/mono-4.0.1/mcs/class/lib/monolite/mscorlib.dll
work/mono-4.0.1/external/binary-reference-assemblies/v4.0/mscorlib.dll
work/mono-4.0.1/external/binary-reference-assemblies/v2.0/mscorlib.dll
But does not build version 4.5 of mscorlib.dll
________________________________________________________________________
2502 cp mono-wrapper _tmpinst/bin/mono
2503 echo '#! /bin/sh' > _tmpinst/bin/ilasm ; \
2504 r=`pwd`; m=`cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && pwd`;
\
2505 echo 'exec "'"$r/_tmpinst/bin/mono"'" "'"$m/ilasm/ilasm.exe"'"
"$@"' >> _tmpinst/bin/ilasm ; \
2506 chmod +x _tmpinst/bin/ilasm
2507 echo '#! /bin/sh' > _tmpinst/bin/mcs ; \
2508 r=`pwd`; m=`cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && pwd`;
\
2509 echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/build/mcs.exe"'" "$@"' >> _tmpinst/bin/mcs ; \
2510 chmod +x _tmpinst/bin/mcs
2511 echo '#! /bin/sh' > _tmpinst/bin/dmcs ; \
2512 r=`pwd`; m=`cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && pwd`;
\
2513 echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/build/mcs.exe -sdk:4"'" "$@"' >> _tmpinst/bin/dmcs ; \
2514 chmod +x _tmpinst/bin/dmcs
2515 echo '#! /bin/sh' > _tmpinst/bin/al2 ; \
2516 r=`pwd`; m=`cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && pwd`;
\
2517 echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/net_2_0/al.exe"'" "$@"' >> _tmpinst/bin/al2 ; \
2518 chmod +x _tmpinst/bin/al2
2519 echo '#! /bin/sh' > _tmpinst/bin/al ; \
2520 r=`pwd`; m=`cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && pwd`;
\
2521 echo 'exec "'"$r/_tmpinst/bin/mono"'"
"'"$m/class/lib/net_4_5/al.exe"'" "$@"' >> _tmpinst/bin/al ; \
2522 chmod +x _tmpinst/bin/al
2523 if test -w /usr/ports/lang/mono/work/mono-4.0.1/mcs; then :;
else chmod -R +w /usr/ports/lang/mono/work/mono-4.0
.1/mcs; fi
2524 cd /usr/ports/lang/mono/work/mono-4.0.1/mcs && gmake
--no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_ref
erence_assemblies net_4_5 xbuild_12 xbuild_14 ' CC='cc' all-profiles
2525 mkdir -p -- build/deps
2526 gmake[7]: mcs: Command not found
2527 build/profiles/basic.make:93: recipe for target
'build/deps/basic-profile-check.exe' failed
2528 gmake[7]: *** [build/deps/basic-profile-check.exe] Error 127
2529 *** The compiler 'mcs' doesn't appear to be usable.
More information about the freebsd-ports
mailing list