Hi!

I just installed Kaa & Freevo (rel-1 branch) from SVN and thought
I could share my experience as a small HowTo. As the subject implies
the target operating system is Ubuntu Hardy (still in beta). I know the
installation (check out & run python setup.py) is quite simple but the
time consuming part is figuring out the (ubuntu)packages needed to
compile kaa & freevo.

Please don't spare your comments :) It's possible I've made some
severe errors or the instructions I've produced are just horrible and
unreadable.

<howto>

Installing Kaa (Revision: 3247) & Freevo rel-1 (Revision: 10605) from
SVN in Ubuntu Hardy

1. Installation method

In this howto the latest Kaa & Freevo sources are downloaded from
the subversion repository. All possible dependencies are installed as
Ubuntu packages from the official repositories (and exception to this
is pyxml). The target operating system is Ubuntu Hardy. As suggested
in the Freevo wiki page SourceSVNInstallation the installations of Kaa
& Freevo are done to ~/freevo-test.

2. Create directories for the svn download & installation

$ mkdir ~/freevo-svn
$ mkdir ~/freevo-test

3. Install common prerequisites

$ sudo apt-get install build-essential python-dev subversion

3. Kaa

3.1 Installing dependencies

$ sudo apt-get install libimlib2-dev libxine-dev libgl1-mesa-dev \
libdvdread-dev python-pysqlite2 libmng-dev librsvg2-dev

NOTE: Replace libgl1-mesa-dev with nvidia-glx-dev if you're using
nvidia-glx. (nvidia-glx is part of the propietary nvidia X.org driver).

3.2 Installing Kaa

$ cd ~/freevo-svn
$ svn co svn://svn.freevo.org/kaa/trunk kaa
$ cd kaa
$ python setup.py install --prefix=~/freevo-test

4. Freevo

4.1 Installing package dependencies

$ sudo apt-get install python-beautifulsoup python-pygame \
python-imaging python-twisted sgmltools-lite

4.2 Installing pyxml

Since ubuntu doesn't seem to have a package which contains pyxml
we have to compile and install it ourselves.

Download pyxml from pyxml.sourceforge.net, unpack it and install it
to the ~/freevo-test directory like this:
$ python setup.py install --prefix=~/freevo-test

4.3 Installing Freevo

$ cd ~/freevo-svn
$ svn co svn://svn.freevo.org/freevo/branches/rel-1 freevo-1.x
$ cd freevo-1.x/freevo
$ ./autogen.sh
$ PYTHONPATH=~/freevo-test/lib/python2.5/site-packages python \
setup.py install --prefix=~/freevo-test

NOTES:
- Running autogen.sh with the "nodoc" parameter like described in the
wiki wasn't enough for "setup.py install"
- The PYTHONPATH needs to be defined for the setup.py to find pyxml

4.4 Installing runtime dependencies

$ sudo apt-get install xmltv mplayer lsdvd xine-ui aumix python-pylirc

5. Running Freevo

Now you can start freevo with these commands (I recommend
you create a script for it):

export PYTHONPATH=~/freevo-test/lib/python2.5/site-packages
export PATH=$PATH:~/freevo-test/bin
freevo

NOTE: The configuration files still need to be created before Freevo
actually starts :)

</howto>

- Jaakko

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to