Google Groups Home
Help | Sign in
Message from discussion Howto install Moonlight
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
chris.hamons@gmail.com  
View profile  
 More options Sep 24 2007, 5:57 pm
From: "chris.ham...@gmail.com" <chris.ham...@gmail.com>
Date: Mon, 24 Sep 2007 21:57:48 -0000
Local: Mon, Sep 24 2007 5:57 pm
Subject: Re: Howto install Moonlight
Hello All,
          I've spent some time messing with silverlight on feisty, and
have some notes I wrote down while getting it to work. See if these
help. They replace the built in mono stack with one from svn, and
install everything needed from svn.

Let me know if it works for you guys.

--Chris Hamons

Install Ubuntu 7.4 onto your test machine or VMware image. [link
http://www.ubuntu.com/getubuntu/download]
Update using build in updater.
        This prepares a base to build our moonlight stack upon. Any ubuntu
7.4 machine could be used here instead.
sudo apt-get update
sudo apt-get install subversion
mkdir mono
cd mono
svn co svn://anonsvn.mono-project.com/source/trunk/mcs
svn co svn://anonsvn.mono-project.com/source/trunk/mono
svn co svn://anonsvn.mono-project.com/source/trunk/gtk-sharp
svn co svn://anonsvn.mono-project.com/source/trunk/gnome-sharp
svn co svn://anonsvn.mono-project.com/source/trunk/olive
svn co svn://anonsvn.mono-project.com/source/trunk/moon
svn co svn://anonsvn.mono-project.com/source/trunk/monodoc
sudo apt-get install libavcodec0d libavformat0d libgtk2.0-dev libnspr-
dev firefox-dev libavcodec-dev libavformat-dev libasound2-dev librsvg2-
dev
sudo apt-get install autoconf automake libtool build-essential bison
sudo apt-get install prevu
        Little bit of explanation here. One of the required libraries
(libswscale-dev) does not exist under 7.4. 7.10 has a copy, but it's
not part of the traditional backports repository. Prevu is an
application which creates a self-contained build environment (similar
to gentoo's emerge) to build a .deb file of a 7.10 program/library for
7.4.
sudo prevu-init
        Sets up the build environment. This could take awhile. Answer
yes when asked
Edit /etc/apt/sources.list as root and add "deb-src http://us.archive.ubuntu.com/ubuntu
gutsy main universe restricted multiverse"
        Add the repository for gutsy (7.10)
sudo apt-get update
prevu libswscale-dev
cd /var/cache/prevu/feisty-debs
sudo dpkg -i *.deb
        This installs all the packages build by prevu. Ignore the ones about
ffmpeg not being able to be installed
cd ~
sudo apt-get install mono-mcs (we're bootstrapping mono with the
ubuntu version of mcs)
cd mono
Download patch found at www.mono-project.com/Moonlight to mono/mono
cd mono/mono
patch -p0 < mono-delegate-appdomain-patch
./autogen.sh --prefix=/usr --with-moonlight=yes
make
sudo apt-get remove mono-mcs
sudo apt-get autoremove
sudo make install
cd ../olive
./configure --prefix=/usr
make
sudo make install
cd gtk-sharp
./boostrap-2.10 --prefix=/usr
make
sudo make install
cd ../monodoc
./autogen.sh --prefix=/usr
make
make install
cd ../gnome-sharp
./bootstrap-2.16 --prefix=/usr
make
sudo make install
cd ../moon
./autogen.sh --prefix=/usr
sudo make install
cd /usr/local/lib/moon/plugin
sudo cp *.so moonlight.exe /usr/lib/mozilla-firefox/plugins
        Install the firefox plugin
sudo ln -s /usr/local/lib/mono /usr/lib/mono/3.0
        Install a symbolic link to fix an install issue
firefox
        Launch Firefox
In the address bar, about:plugins
        Confirm WPFe plugin is there
Woot! You should be good.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google