我正在编写并在Ubuntu 13.10上安装MonoDevelop。
需要对其他依赖项进行大量手动编译,这些依赖项已在网上找到一些信息来解决。
不幸的是,我无法解决这个问题:
The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'
./configure
没问题,但是make会给我上述消息,以及以下内容:
mkdir -p build/
make DEBUG_BeforeBuild
make[3]: Entering directory `/home/leon/dev/monodevelop/extras/JavaBinding'
make[3]: Leaving directory `/home/leon/dev/monodevelop/extras/JavaBinding'
PKG_CONFIG_PATH=../../local-config:$PKG_CONFIG_PATH dmcs -noconfig -codepage:utf8 -warn:4 -optimize- -debug -define:DEBUG -out:build/JavaBinding.dll -target:library './AssemblyInfo.cs' './gtk-gui/generated.cs' './gtk-gui/JavaBinding.CodeGenerationPanelWidget.cs' './gtk-gui/JavaBinding.GlobalOptionsPanelWidget.cs' './Gui/GlobalOptionsPanel.cs' './Gui/ProjectConfigurationPropertyPanel.cs' './IKVMCompilerManager.cs' './JavaCompiler.cs' './JavaLanguageBinding.cs' './Project/JavaCompilerParameters.cs' '-resource:./gtk-gui/gui.stetic' '-resource:./icons/Java.FileIcon' '-resource:./icons/java-16.png' '-resource:./icons/java-22.png' '-resource:./icons/java-icon-32.png' '-resource:./JavaBinding.addin.xml' '-resource:./md1format.xml' '-resource:./templates/EmptyJavaFile.xft.xml' '-resource:./templates/EmptyJavaProject.xpt.xml' '-resource:./templates/IkvmConsoleApplicationProject.xpt.xml' '-resource:./templates/IkvmGladeApplicationProject.xpt.xml' '-resource:./templates/IkvmGnomeApplicationProject.xpt.xml' '-resource:./templates/IkvmGtkApplicationProject.xpt.xml' '-resource:./templates/IkvmLibraryProject.xpt.xml' '-resource:./templates/JavaApplet.xft.xml' '-resource:./templates/JavaApplication.xft.xml' '-resource:./templates/JavaApplicationProject.xpt.xml' '-resource:./templates/JavaConsoleApplicationProject.xpt.xml' '-resource:./templates/JavaDialog.xft.xml' '-resource:./templates/JavaFrame.xft.xml' '-resource:./templates/JavaOKDialog.xft.xml' '-resource:./templates/JavaPanel.xft.xml' -r:Mono.Posix -pkg:glade-sharp-2.0 -pkg:gtk-sharp-2.0 -pkg:mono-addins -pkg:monodevelop -r:System -r:System.Drawing -r:System.Xml
./JavaLanguageBinding.cs(31,28): error CS0234: The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(32,28): error CS0234: The type or namespace name `Dom' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(34,28): error CS0234: The type or namespace name `CodeGeneration' does not exist in the namespace `MonoDevelop.Projects'. Are you missing an assembly reference?
./JavaLanguageBinding.cs(109,10): error CS0246: The type or namespace name `IParser' could not be found. Are you missing an assembly reference?
./JavaLanguageBinding.cs(113,10): error CS0246: The type or namespace name `IRefactorer' could not be found. Are you missing an assembly reference?
Compilation failed: 5 error(s), 0 warnings
make[2]: *** [build/JavaBinding.dll] Error 1
如何安装这些最后的阻止项目才能成功构建?
答案 0 :(得分:1)
通过'./configure --select'禁用“extras / JavaBinding”和“extras / ValaBinding”。它们不起作用。