[Moonlight-list] Unable to build moonlight project

Aleck Agakhan aleck.agakhan at yandex.ru
Fri May 11 13:35:06 UTC 2012


I installed mono 2.10.8.1 from ubuntu repository. Then I downloaded
monodevelop 2.8.8.4 sources compiled them and installed. I created moonlight
application project, but when I tried to build it the IDE showed the error:
"Error: Framework 'Moonlight / Silverlight 4.0' not installed.
(MoonlightTest)". So I cloned mono from git://github.com/mono/mono.git and
tried to compile it with the commands:

./autogen.sh --prefix=/usr/local --with-moonlight=yes
make

during compilation I got the next errors:

make[8]: Entering directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs/class/corlib'
/bin/sh ./../../mkinstalldirs ../../class/lib/moonlight_raw/tmp/
mkdir -p -- ../../class/lib/moonlight_raw/tmp/
touch ../../class/lib/moonlight_raw/tmp//.stamp
MCS     [moonlight_raw] mscorlib.dll
../Mono.CompilerServices.SymbolWriter/MonoSymbolWriter.cs(43,22): error
CS0246: The type or namespace name `SourceMethodBuilder' could not be found.
Are you missing a using directive or an assembly reference?
../Mono.CompilerServices.SymbolWriter/MonoSymbolWriter.cs(49,25): error
CS0246: The type or namespace name `SourceMethodBuilder' could not be found.
Are you missing a using directive or an assembly reference?
../Mono.CompilerServices.SymbolWriter/MonoSymbolWriter.cs(121,24): error
CS0246: The type or namespace name `SourceMethodBuilder' could not be found.
Are you missing a using directive or an assembly reference?
System.IO/Stream.cs(54,17): error CS0305: Using the generic type
`System.Action<T>' requires `1' type argument(s)
System/Action.cs(73,30): (Location of the symbol related to previous error)
Compilation failed: 4 error(s), 0 warnings
make[8]: *** [../../class/lib/moonlight_raw/tmp/mscorlib.dll] Error 1
make[8]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs/class/corlib'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs/class/corlib'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs'
make[4]: *** [profile-do--moonlight_raw--all] Error 2
make[4]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory
`/media/g/home/aleck/Dev/src-git/mono-build/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/media/g/home/aleck/Dev/src-git/mono-build/mono'
make: *** [all] Error 2

Could somebody suggest how to compile the mono with moonlight support from
its git repository or to install moonlight in any other way?

--
View this message in context: http://mono.1490590.n4.nabble.com/Unable-to-build-moonlight-project-tp4626436.html
Sent from the Moonlight mailing list archive at Nabble.com.


More information about the Moonlight-list mailing list