我正在尝试从AUR上安装monodevelop,但没有运气。所以我试着从github上的源代码编译它。
我关注了mono compiling tutorial并安装了mono 5.4.1
(/ opt / mono上的并行版,以及页面中的其他依赖项)和msbuild 15
(来自AUR)
当我进入环境并编译代码
时./configure --prefix=/opt/mono --profile=stable
make
sudo make install
在执行./configure
时一切都很顺利,但在构建时我遇到了像
Mono.Addins.Setup/AddinPackage.cs(39,7): error CS0246: The type or namespace name 'ICSharpCode' could not be found (are you missing a using directive or an assembly reference?) [/home/jeff2310/tmp/monodevelop/main/external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup.csproj]
Mono.Addins.Setup/AddinStore.cs(41,7): error CS0246: The type or namespace name 'ICSharpCode' could not be found (are you missing a using directive or an assembly reference?) [/home/jeff2310/tmp/monodevelop/main/external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup.csproj]
Mono.Addins.Setup/SetupService.cs(37,7): error CS0246: The type or namespace name 'ICSharpCode' could not be found (are you missing a using directive or an assembly reference?) [/home/jeff2310/tmp/monodevelop/main/external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup.csproj]
和
/home/jeff2310/tmp/monodevelop/main/external/libgit2/src/openssl_stream.c(36,3): error G08E93E1A: dereferencing pointer to incomplete type ‘BIO {aka struct bio_st}’ [/home/jeff2310/tmp/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj]
/home/jeff2310/tmp/monodevelop/main/external/libgit2/src/openssl_stream.c(94,1): error GC2E79D46: variable ‘git_stream_bio_method’ has initializer but incomplete type [/home/jeff2310/tmp/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj]
/home/jeff2310/tmp/monodevelop/main/external/libgit2/src/openssl_stream.c(94,19): error GC0CDC97E: storage size of ‘git_stream_bio_method’ isn’t known [/home/jeff2310/tmp/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git/MonoDevelop.VersionControl.Git.csproj]
所有错误都在这里
与AUR包失败的错误相同。如果有人知道该怎么做,请告诉我。