[Mono-list] error building mono from HEAD on a Debian sid system

Peter Vandenabeele peter at vandenabeele.com
Tue Nov 21 06:16:01 EST 2006


Hi,

I am trying to build mono and mcs from HEAD. Followed the rules in
the README file. Host system is a Debian sid (unstable) with mono
and gmcs 1.1.18 installed from the standard debian packages. Also
autoconf, libtool, automake etc. are installed (default versions in
Debian sid, maybe too old ?).

autogen.sh works (with some warnings)

But make after succesfully compiling large parts, gives this error:

make[8]: Entering directory
`/home/user/ODF/Add-in/mono-HEAD-001/mcs/class/Managed.Windows.Forms'
MONO_PATH="../../class/lib/default:$MONO_PATH"
/home/user/ODF/Add-in/mono-HEAD-001/mono/runtime/mono-wrapper
../../class/lib/default/mcs.exe /codepage:65001   -d:NET_1_1
-d:ONLY_1_1 -debug /noconfig /unsafe /r:mscorlib.dll /r:System.dll
/r:System.Xml.dll /r:System.Drawing.dll /r:Accessibility.dll
/r:System.Data.dll /r:Mono.Posix.dll
@System.Windows.Forms.dll.resources /nowarn:649 /nowarn:169 /nowarn:67
/nowarn:108 /nowarn:114 -debug -target:library
-out:../../class/lib/default/System.Windows.Forms.dll
@System.Windows.Forms.dll.sources
System.Windows.Forms/ComboBox.cs(886,19): error CS0267: The `partial'
modifier can be used only immediately before keyword `class',
`struct', or `interface'
System.Windows.Forms/ComboBox.cs(888,7): error CS0267: The `partial'
modifier can be used only immediately before keyword `class',
`struct', or `interface'
System.Windows.Forms/TextControl.cs(1899,9): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
System.Windows.Forms/TextControl.cs(1900,16): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
System.Windows.Forms/TextControl.cs(1905,17): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
System.Windows.Forms/TextControl.cs(1944,17): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
System.Windows.Forms/TextControl.cs(1973,17): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
System.Windows.Forms/TextControl.cs(2025,22): error CS0267: The
`partial' modifier can be used only immediately before keyword
`class', `struct', or `interface'
Compilation failed: 8 error(s), 0 warnings
make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Error 1
make[8]: Leaving directory
`/home/user/ODF/Add-in/mono-HEAD-001/mcs/class/Managed.Windows.Forms'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory
`/home/user/ODF/Add-in/mono-HEAD-001/mcs/class/Managed.Windows.Forms'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mcs'
make[4]: *** [profile-do--default--all] Error 2
make[4]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/ODF/Add-in/mono-HEAD-001/mono'
make: *** [all] Error 2

Any hints ? Maybe I need more up to date packaes for certain programs ?

Earlier on, I was able to build mono 1.2 form the standard release.

Thanks,

Peter

-- 
Peter Vandenabeele
peter AT vandenabeele DOT com
http://www.vandenabeele.com
http://www.linkedin.com/in/petervandenabeele


More information about the Mono-list mailing list