建造Moonlight Trunk - Mono.Cecil.dll

时间:2009-10-02 18:04:30

标签: mono moonlight

由于下面的构建错误,我无法从主干或最近的tarball构建Mono Moonlight。这在Make成功构建其他几个子目录后发生:

make[2]: Leaving directory `/home/dev/MonoTar/moonlight-1.99.5/src'  
Making all in class  
make[2]: Entering directory `/home/dev/MonoTar/moonlight-1.99.5/class'  
Making all in .  
make[3]: Entering directory `/home/dev/MonoTar/moonlight-1.99.5/class'  
make[3]: *** No rule to make target `/home/dev/MonoTar/mcs/class/lib/net_1_1  /Mono.Cecil.dll', needed by `lib/tuner/Mono.Cecil.dll'.  Stop.  
make[3]: Leaving directory `/home/dev/MonoTar/moonlight-1.99.5/class'  
make[2]: *** [all-recursive] Error 1  
make[2]: Leaving directory `/home/dev/MonoTar/moonlight-1.99.5/class'  
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/home/dev/MonoTar/moonlight-1.99.5'  
make: *** [all] Error 2  

无论是使用tarball还是svn checkout,我都将mono,mcs,libgdiplus和moon放在同一目录中。然后:

cd mono  
./autogen.sh --prefix=/usr  
make  
sudo make install  
cd ../libgdiplus  
./autogen.sh --prefix=/usr  
make  
sudo make install  
cd ../moon  
./configure --prefix=/usr  
make 

我收到有关Mono.Cecil.dll的错误。有什么想法吗?从月亮配置显示没有错误,最终配置如下所示,如果有帮助(我尝试使用和不使用--with-mcspath选项):

./configure --prefix=/usr --with-mcspath=/home/dev/MonoTar/mcs/  
Moonlight configuration  
=======================  

  General configuration:  
    Using cairo: embedded  
    Test Harness: no (reason: failed to find xtst >= 1.0)  
    Performance Suite: no (reason: performance suite requires FF3)  

  Debug configuration:  
    Sanity checks: no  
    Object tracking: no  
    Logging support with MOONLIGHT_DEBUG: yes  

  Media Support:   
    FFmpeg: no (reason: could not find libavutil and libavcodec packages)  
    ALSA: no (reason: could not find alsa development package)  
    PulseAudio: no (reason: could not find libpulse development package)  

  Silverlight Support:  
    Silverlight 1.0: yes  
    Silverlight 2.0: yes  
          Browser plugin assemblies: yes   
            Path to mcs tree: /home/dev/MonoTar/mcs/  
            Path to mono-basic tree: no  
          Desktop application assemblies: yes   

  Browser Support:  
    Firefox: yes  
          Plugin Installer (.xpi): yes  
          Gecko 1.8 (Firefox 2): yes   
          Gecko 1.9 (Firefox 3): no (reason: missing FF3 development packages)  

是否有人在任何Linux发行版上成功编译月光插件?有什么建议吗?

非常感谢!

3 个答案:

答案 0 :(得分:2)

对于Moonlight 2.0,我们将从这里使用mono的2.6分支:

http://anonsvn.mono-project.com/source/branches/mono-2-6/

mono trunk现在经历了很多不稳定的变化,这就是为什么我们决定使用稳定的2.6分支。

答案 1 :(得分:1)

我认为Moonlight目前使用mono和mcs的分支,因此最好使用它 - 或者它可能只是mcs trunk中的makfile错误。你最好在月光邮件列表或IRC上询问。

答案 2 :(得分:0)

有关建造月光的具体问题,请加入我们的irc.gnom.org/#moonlight或我们的邮件列表moonlight-list @ lists.ximian.com。我们可以更好地帮助你。