构建月光树干 - Mono.Cecil.dll

发布于 2024-08-07 10:00:40 字数 2422 浏览 4 评论 0原文

由于下面的构建错误,我无法从主干或最近的 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 的错误。关于为什么有什么想法吗?从 Moon 配置没有显示任何错误,最终配置如下所示,以防有帮助(我已经尝试过使用和不使用 --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 发行版上成功编译了 Moonlight 插件?有什么建议吗?

非常感谢!

I'm unable to build Mono Moonlight from trunk or from recent tarballs due to the build error below. This happens after Make successfully builds a few other subdirectories:

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  

Whether with tarballs or svn checkout, I am placing mono, mcs, libgdiplus, and moon in the same directory. Then:

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 

And I get this error about Mono.Cecil.dll. Any ideas about why? Configure from moon shows no errors and the final configuration look like this below, in case it helps (I've tried with and without the --with-mcspath option):

./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)  

Is anyone successfully compiling the moonlight plugin themselves on any Linux distro? Any advice?

Thanks very much!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

别把无礼当个性 2024-08-14 10:00:40

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

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

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

For Moonlight 2.0 we'll be using mono's 2.6 branch from here:

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

mono trunk is going through a lot of unstable changes right now, which is why we decided to use the stable 2.6 branch instead.

青朷 2024-08-14 10:00:40

我认为 Moonlight 目前使用 mono 和 mcs 的一个分支,所以最好使用它 - 或者它可能只是 mcs 主干中的 makfile bug。您最好在月光邮件列表或 IRC 上询问。

I think Moonlight currently uses a branch of mono and mcs, so it might be best to use that - or it might just be a makfile bug in mcs trunk. You'd be best asking on the moonlight mailing list or IRC.

幸福不弃 2024-08-14 10:00:40

对于有关构建 Moonlight 的此类具体问题,请加入我们的 irc.gnom.org/#moonlight 或我们的邮件列表 Moonlight-list @lists.ximian.com。这样我们可以更好地帮助您。

For such specific questions about building moonlight, please join us on irc.gnom.org/#moonlight or our mailing list moonlight-list @ lists.ximian.com. We can better help you that way.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文