[Mono-list] monodoc/mono-tools with mono 3.2.1

BtbN btbn at btbn.de
Mon Aug 26 12:20:09 UTC 2013


Hi,

I'm currently trying to build mono-tools with mono 3.2.1, mainly to get the
monodoc util, for use in monodevelop, which seems to require it.

If i try the 2.10 version, all i get is a long list of compiler warnings and
errors, so i guess this one is too old for mono 3.2.1.
Next version i tried was current git master, it works better, but fails with
the following error from mdoc:

Members Added: 381, Members Deleted: 0
touch doc/generated/index.xml
mdoc assemble -f ecma -o doc/Gendarme.Framework doc/generated
mdoc: Object reference not set to an instance of an object
See `mdoc help' for more information.
make[3]: *** [doc/Gendarme.Framework.zip] Error 1
make[3]: Leaving directory `/home/btbn/mono-tools/gendarme/framework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/btbn/mono-tools/gendarme/framework'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/btbn/mono-tools/gendarme'
make: *** [all-recursive] Error 1

If i just run make again after that, it continues, but fails moments later
with a new error:

cd .. && /bin/sh ./config.status mperfmon/mperfmon
config.status: creating mperfmon/mperfmon
/usr/bin/gmcs -noconfig -codepage:utf8 -warn:4 -optimize+ -debug
-define:DEBUG -target:exe -out:mperfmon.exe ./Main.cs ./AssemblyInfo.cs
./MainWindow.cs ./NewCounter.cs ./Preferences.cs ./Config.cs ./AddSet.cs
./gtk-gui/generated.cs ./gtk-gui/MainWindow.cs ./gtk-gui/mperfmon.AddSet.cs
./gtk-gui/mperfmon.Preferences.cs ./gtk-gui/mperfmon.NewCounter.cs 
-resource:./gtk-gui/gui.stetic,gui.stetic -pkg:gtk-sharp-2.0 -r:System
-r:System.Xml -r:Mono.Cairo -r:Mono.Posix
./Main.cs(66,25): warning CS0168: The variable `e' is declared but never
used
./MainWindow.cs(255,6): warning CS0618: `Cairo.Context.Color' is obsolete:
`Use SetSourceRGBA method'
./MainWindow.cs(272,6): warning CS0618: `Cairo.Context.Color' is obsolete:
`Use SetSourceRGBA method'
error CS1705: Assembly `gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' references `Mono.Cairo, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version
number than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
./MainWindow.cs(284,45): error CS0012: The type `Cairo.Context' is defined
in an assembly that is not referenced. Consider adding a reference to
assembly `Mono.Cairo, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=0738eb9f132ed756'
Compilation failed: 2 error(s), 3 warnings
make[1]: *** [mperfmon.exe] Error 1
make[1]: Leaving directory `/home/btbn/mono-tools/mperfmon'
make: *** [all-recursive] Error 1

Am i doing something horribly wrong, or is mono-tools simply no longer
supported with mono 3? If so, where do i get the monodoc utils for
monodevelop, so it can show me some documentation?
I also tried downgrading mono do 3.1.2, but got exactly the same errors.




--
View this message in context: http://mono.1490590.n4.nabble.com/monodoc-mono-tools-with-mono-3-2-1-tp4660655.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list