라즈베리 파이 3에 모노를 만들기 위해 필사적으로 노력합니다.먼저 레포에서 모노를 설치했습니다. 그런 다음 최신 tarball 또는 git master를 빌드하려고했습니다. 어느 쪽도 효과가 없었다.라즈베리 파이 3에 모노를 빌드하십시오.
난 항상이 메시지와 끝까지 :
make install-local
make[7]: Entering directory '/home/pi/mono-5.9.0.415/mcs/class/corlib'
CSC [basic] mscorlib.dll
/home/pi/mono-5.9.0.415/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs(5918,45): error CS0246: The type or namespace name 'Task<>' could not be found (are you missing a using directive or an assembly reference?)
/home/pi/mono-5.9.0.415/external/corefx/src/System.Memory/src/System/ReadOnlySpan.cs(85,42): warning CS3001: Argument type 'void*' is not CLS-compliant
/home/pi/mono-5.9.0.415/external/corefx/src/System.Memory/src/System/Span.cs(90,34): warning CS3001: Argument type 'void*' is not CLS-compliant
../../build/library.make:329: recipe for target '../../class/lib/basic/mscorlib.dll' failed
make[7]: *** [../../class/lib/basic/mscorlib.dll] Error 1
make[7]: Leaving directory '/home/pi/mono-5.9.0.415/mcs/class/corlib'
../../build/rules.make:211: recipe for target 'do-install' failed
make[6]: *** [do-install] Error 2
make[6]: Leaving directory '/home/pi/mono-5.9.0.415/mcs/class/corlib'
../build/rules.make:232: recipe for target 'install-recursive' failed
make[5]: *** [install-recursive] Error 1
make[5]: Leaving directory '/home/pi/mono-5.9.0.415/mcs/class'
build/rules.make:232: recipe for target 'install-recursive' failed
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory '/home/pi/mono-5.9.0.415/mcs'
Makefile:54: recipe for target 'profile-do--basic--install' failed
make[3]: *** [profile-do--basic--install] Error 2
make[3]: Leaving directory '/home/pi/mono-5.9.0.415/mcs'
Makefile:50: recipe for target 'profiles-do--install' failed
make[2]: *** [profiles-do--install] Error 2
make[2]: Leaving directory '/home/pi/mono-5.9.0.415/mcs'
Makefile:600: recipe for target 'install-exec' failed
make[1]: *** [install-exec] Error 2
make[1]: Leaving directory '/home/pi/mono-5.9.0.415/runtime'
Makefile:541: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
이것은 내가 타르볼 빌드에 사용되는 스크립트 :
이PREFIX=/home/pi/.myMono
VERSION=5.9.0.415
tar xvf mono-$VERSION.tar.bz2
cd mono-$VERSION
./configure --prefix=$PREFIX
make
make install
사람이 같은 문제가 있습니까? 또는 올바르게 제안하려면 어떻게해야합니까?
지난 밤에 내 RasPi3에서 동일한 모노 패키지를 컴파일하고있었습니다. 흥미로운 점은 Task.cs에서 오류가 발생하지 않지만 ReadOnlySpan.cs 및 Span.cs에 대해 두 가지 경고가 표시된다는 것입니다. 나는 몇 가지 것을 시도하고 어떻게 진행되는지 알려줄 것입니다. 내가 archlinux의 깨끗한 설치로 시작, 모든 컴파일러와 도구를 추가했지만 repo에서 모노를 설치하지 않았다. 이론 상으로는 시스템의 빌드가 repo의 CSC를 사용 중일 수 있습니다. 레포에서 모노 패키지를 제거하려고 했습니까? 파이에서 어떤 리눅스 배포판을 사용하고 있습니까? – omahena
mono 5.2.0.224와 5.9.0.398의 편집은 같은 장소에서 중단됩니다. 여기에 CSC의 예외 스택이 표시되고 CompileMethodBodies가 null 예외에 대해 화가 난 것처럼 보입니다. 5.9.0.415는 가장 깨끗한 출력을 제공하지만 문제에 대한 힌트는 제공하지 않습니다. mono 5의 큰 변화가 Roslyn이라는 것을 고려해 볼 때, Roslyn은 32 비트 ARM 플랫폼에서 황금 시간대를 맞이할 준비가되지 않았다고 생각합니다. x86_64 가상 머신에서 잘 컴파일되었습니다. 실험으로 나는 RasPi 3에서 Mono 4.8.1을 컴파일 중입니다. 그리고 지금까지는 좋게 보입니다. – omahena