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?