[MonoDevelop] configure.in & nunit

Carlos Ble carlosble at shidix.com
Sun Aug 13 14:49:00 EDT 2006


I think that no patch is needed. What you need is to install automake1.9
instead of 1.4. 
Greetings


El dom, 13-08-2006 a las 12:39 +0200, Artur Grzegorzewicz escribió:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I had problem with compiling MD from svn (r63678) on Ubuntu 6.06:
> 
> make[2]: Entering directory
> `/home/artur/Projects/mono/monodevelop/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
> /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(39,7): error CS0246: The type or
> namespace name `NUnit' could not be found. Are you missing a using
> directive or an assembly reference?
> ./Services/NUnitAssemblyTestSuite.cs(39,1): error CS0246: The type or
> namespace name `NUnit.Core' could not be found. Are you missing a using
> directive or an assembly reference?
> ./Services/NUnitAssemblyTestSuite.cs(416,32): error CS0246: The type or
> namespace name `IFilter' could not be found. Are you missing a using
> directive or an assembly reference?
> ./Services/NUnitService.cs(37,7): error CS0246: The type or namespace
> name `NUnit' could not be found. Are you missing a using directive or an
> assembly reference?
> ./Services/NUnitService.cs(37,1): error CS0246: The type or namespace
> name `NUnit.Core' could not be found. Are you missing a using directive
> or an assembly reference?
> ./Services/ExternalTestRunner.cs(38,7): error CS0246: The type or
> namespace name `NUnit' could not be found. Are you missing a using
> directive or an assembly reference?
> ./Services/ExternalTestRunner.cs(38,1): error CS0246: The type or
> namespace name `NUnit.Core' could not be found. Are you missing a using
> directive or an assembly reference?
> ./Services/ExternalTestRunner.cs(147,46): error CS0246: The type or
> namespace name `EventListener' could not be found. Are you missing a
> using directive or an assembly reference?
> Compilation failed: 8 error(s), 0 warnings
> make[2]: *** [../../build/AddIns/NUnit/MonoDevelop.NUnit.dll] Error 1
> make[2]: Leaving directory
> `/home/artur/Projects/mono/monodevelop/Extras/NUnit'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/artur/Projects/mono/monodevelop/Extras'
> make: *** [all-recursive] Error 1
> 
> I don't know much about autotools, but the following patch seems to do
> the trick:
> 
> Index: configure.in
> ===================================================================
> - --- configure.in        (revision 63678)
> +++ configure.in        (working copy)
> @@ -165,6 +165,7 @@
>         ])
>  fi
>  AM_CONDITIONAL(ENABLE_NUNIT, test x$enable_nunit = xyes)
> +AC_SUBST(NUNIT_LIBS)
> 
>  AC_ARG_ENABLE(monoextensions,
>         AC_HELP_STRING([--enable-monoextensions],
> 
> - --
> Best regards
> Artur
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.2 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFE3wFKem0qww491moRAr+xAJ9Ag4cAw3NC4ZRY5DwapFsyJAEPmACcCY3D
> CGCWliqX+JvvdxkmqNYOc5A=
> =vwI4
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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