[MonoDevelop] compile problem on debian for MD 0.12

Lluis Sanchez lluis at ximian.com
Tue Oct 17 04:55:07 EDT 2006


El dl 16 de 10 del 2006 a les 19:08 +0200, en/na Lorenzo Viola va
escriure:
> Hello, I'm new to the monodevelop project. I'm trying to compile
> the IDE on a debian box, my mono libs are version 1.1.17.1-5.
> 
> I get a compile error on Nunit that I can't resolve :
> 
> ./Services/NUnitAssemblyTestSuite.cs(416,16): error CS0535:
> `MonoDevelop.NUnit.NUnitAssemblyTestSuite.TestNameFilter' does not
> implement interface member `NUnit.Core.IFilter.Exclude'
> 
> 
> the nunit libs I'm using are :
> 
> 
> #dpkg --list|grep nunit
> ii  libnunit-doc                       2.2.8-1                Unit test framework for .NET
> ii  libnunit2.2-cil                    2.2.0-3.1              Unit test framework for .NET
> ii  libnunit2.2.6-cil                  2.2.8-1                Unit test framework for .NET
> ii  monodevelop-nunit                  0.11-2                 NUnit plugin for MonoDevelop
> ii  nunit                              2.2.8-1                Unit test framework for .NET
> ii  nunit-console                      2.2.8-1                Unit test framework for .NET
> 
> 
> 
> Any help is really appreciated

The nunit add-in needs nunit 2.2.0. It can't be compiled with nunit
2.2.8 because that version introduced new interface members, so it's not
compatible with 2.2.0.

> 
> best regards
> 
> 
> ######## when I start make ############
> 
> Making all in NUnit
> make[2]: Entering directory
> `/root/monodevelop-0.12/monodevelop-0.12/Extras/NUnit'
> mkdir -p ../../build/AddIns/NUnit
> /usr/bin/gmcs  -r:System -r:System.Xml
> -r:../../build/bin/MonoDevelop.Core.dll
> -r:../../build/AddIns/MonoDevelop.Core.Gui.dll
> -r:../../build/AddIns/MonoDevelop.Projects.dll
> -r:../../build/AddIns/MonoDevelop.Projects.Gui.dll
> -r:../../build/AddIns/MonoDevelop.Components.dll
> -r:../../build/AddIns/MonoDevelop.Ide.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll  
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glade-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
> -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll  
> -r:/usr/lib/cli/nunit-2.2.6/nunit.core.dll
> -r:/usr/lib/cli/nunit-2.2.6/nunit.util.dll
> -r:/usr/lib/cli/nunit-2.2.6/nunit.framework.dll   /resource:nunit.glade
> /resource:templates/NUnitAssemblyGroup.xpt.xml
> /resource:templates/NUnitTestClass.xft.xml /resource:Gui/NUnit.Running.png
> /resource:Gui/NUnit.Failed.png /resource:Gui/NUnit.SuccessAndFailed.png
> /resource:Gui/NUnit.None.png /resource:Gui/NUnit.NotRun.png
> /resource:Gui/NUnit.Loading.png /resource:Gui/NUnit.Success.png
> ./AssemblyInfo.cs ./Commands/NUnitCommands.cs ./Gui/CircleImage.cs
> ./Gui/TestPad.cs ./Gui/TestResultsPad.cs ./Gui/TestNodeBuilder.cs
> ./Gui/TestChart.cs ./Gui/NUnitOptionsPanel.cs
> ./Gui/UnitTestOptionsDialog.cs ./Gui/NUnitAssemblyGroupNodeBuilder.cs
> ./Gui/NUnitAssemblyGroupConfigurationNodeBuilder.cs
> ./Gui/TestAssemblyNodeBuilder.cs ./Project/NUnitAssemblyGroupFileFormat.cs
> ./Project/NUnitAssemblyGroupProject.cs ./Project/TestAssembly.cs
> ./Project/TestAssemblyCollection.cs ./Services/CombineTestGroup.cs
> ./Services/ITestProvider.cs ./Services/NUnitService.cs
> ./Services/SystemTestProvider.cs ./Services/ITestProgressMonitor.cs
> ./Services/TestContext.cs ./Services/UnitTestCollection.cs
> ./Services/UnitTest.cs ./Services/UnitTestGroup.cs
> ./Services/UnitTestResult.cs ./Services/UnitTestStatus.cs
> ./Services/ExternalTestRunner.cs ./Services/NUnitAssemblyTestSuite.cs
> ./Services/NUnitProjectTestSuite.cs ./Services/NUnitTestCase.cs
> ./Services/NUnitTestSuite.cs ./Services/GeneralTestOptions.cs
> ./Services/NUnitOptions.cs ./Services/IResultsStore.cs
> ./Services/UnitTestResultsStore.cs ./Services/XmlResultsStore.cs 
> -out:../../build/AddIns/NUnit/MonoDevelop.NUnit.dll -target:library
> ./Services/NUnitAssemblyTestSuite.cs(416,16): error CS0535:
> `MonoDevelop.NUnit.NUnitAssemblyTestSuite.TestNameFilter' does not
> implement interface member `NUnit.Core.IFilter.Exclude'
> /usr/lib/cli/nunit-2.2.6/nunit.core.dll: `NUnit.Core.IFilter.Exclude',
> name of symbol related to previous error
> Compilation failed: 1 error(s), 0 warnings
> make[2]: *** [../../build/AddIns/NUnit/MonoDevelop.NUnit.dll] Error 1
> make[2]: Leaving directory
> `/root/monodevelop-0.12/monodevelop-0.12/Extras/NUnit'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/monodevelop-0.12/monodevelop-0.12/Extras'
> make: *** [all-recursive] Error 1
> -- 
> info at eulogika - http://www.eulogika.net
> Never attribute to malloc that which can be adequately explained by
> stupidity.
>                 -- From the .sig of joerg at raleigh.ibm.com (Joerg Pommnitz)
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list