FedoraForum.org - Fedora Support Forums and Community
Results 1 to 6 of 6
  1. #1
    LinuxSneaker Guest

    Unhappy Compiling Moonlight on Fedora

    I am trying to get Moonlight to compile on my Fedora 9 box (yes, I know the reason's it's not in there already, but my wife wants to watch NetFlix on-line, and I am not standing up an XP box just for this).

    Since I have to compile from SVN source to gain multimedia and SilverLight 2.0 support, I tried this:
    Code:
    svn co svn://anonsvn.mono-project.com/source/branches/mono-2-0
    cd mono-2-0/mono/
    ./autogen.sh --prefix=/usr
    make && make install
    cd ../..
    svn co -r 10885 svn://svn.mplayerhq.hu/ffmpeg/trunk
    cd trunk
    rm -rf libswscale
    svn co -r 26183 svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
    ./autogen.sh --enable-swscaler --prefix=/usr --enable-gpl
    make && make install
    cd ..
    svn co svn://anonsvn.mono-project.com/source/trunk/moon
    cd moon
    ./autogen.sh --with-managed=yes
    make && make install
    Everything is good until the last line, where I get this:
    Code:
    ../doltcompile g++ -DHAVE_CONFIG_H -I. -I.. -I../cairo/src -I/usr/include/freetype2     -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/alsa      -D_REENTRANT -pthread -I/usr/lib/pkgconfig/../../include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -Wall -DUSE_OPT_RGB24=1 -DG_LOG_DOMAIN=\"Moonlight\" -I./asf    -fno-inline -g -fno-inline-functions -g  -DCOMPATIBILITY_BUGS=1 -MT collection.lo -MD -MP -MF .deps/collection.Tpo -c -o collection.lo collection.cpp
    utils.h:63: error: ‘ssize_t’ does not name a type
    make[2]: *** [collection.lo] Error 1
    Am I passing the wrong options to autogen.sh? Am I missing a library that ./compile is not reporting?

  2. #2
    LinuxSneaker Guest
    Ok, since it looks like Fedora cannot compile the sourcecode for Moonlight, I will try to have wine run the Windows version of FireFox, then install the Windows XP plugin for SilverLight.

    When I get THAT working, I'll post under this thread (with slight adjustment to subject line).

  3. #3
    Join Date
    Oct 2008
    Posts
    162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Got it working

    Had to modify ssize_t thing to long to make it work at two places and it compliled and loads fine in firefox 3 at least. Can you post the sites which which wanted to work so that I can test them.

  4. #4
    Join Date
    Nov 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Moonlight 1.0.1 packaged

    The ssize_t bug is fixed in 1.0.1 [1]. So I've made a beautiiful set of packages for Fedora[2]. Enjoy!

    [1] https://bugzilla.novell.com/show_bug.cgi?id=475699
    [2] http://olea.org/diario/archive/2009/mar-15-1.html

  5. #5
    ctubbsii Guest
    These are very lovely, and work great, thanks Olea.

    Now, I don't suppose you'd be interested in working on making an equally beautiful package for the Moonlight 2.0 Alpha from SVN that has Silverlight 2.0 support, would you?

    I've been playing with it for awhile and keep running into brick walls because I'm not familiar with this stuff (this stuff = building from source, making RPMS, etc.)

  6. #6
    Join Date
    Nov 2007
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Probably I'll try in the next weeks. Stay tuned.

Similar Threads

  1. Silverlight (moonlight) for firefox
    By daviddoria in forum Using Fedora
    Replies: 3
    Last Post: 1st September 2009, 02:40 AM
  2. Moonlight 1.0, no audio
    By mcanonic in forum Using Fedora
    Replies: 5
    Last Post: 12th February 2009, 07:24 PM
  3. Moonlight Hits 1.0 Milestone
    By Wayne in forum Wibble
    Replies: 2
    Last Post: 12th February 2009, 11:32 AM
  4. Miguel, Mono, Moonlight and Microsoft
    By Wayne in forum Linux Chat
    Replies: 11
    Last Post: 2nd June 2008, 12:20 AM
  5. Silverlight (Moonlight) for Linux...
    By Thetargos in forum Linux Chat
    Replies: 1
    Last Post: 5th September 2007, 10:41 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •