http://code.google.com/p/betaradio/wiki/InstallationFromSourceCode
InstallationFromSourceCode
This page describes how to build betaradio executable binary from source code and install it.
P.S. "$ sudo command" can replace "# command" with root privilege.
Prepare the source code
- From the released tarball
- Download the released tarball from http://code.google.com/p/betaradio/downloads/list and untar it.
- From subversion repository
- Retrieve source code from http://betaradio.googlecode.com/svn/
$ wget http://betaradio.googlecode.com/files/betaradio-X.X.X.tar.bz2
$ tar xjvf betaradio-X.X.X.tar.bz2
$ svn checkout http://betaradio.googlecode.com/svn/trunk/ betaradio
Prepare the source compilation environment
- Debian/Ubuntu
$ sudo aptitude install libgtk2.0-dev libgstreamer0.10-dev libcurl-dev
- If you check out from subversion, you need to intall extra packages.
$ sudo aptitude install autotools-dev
- Fedora 6/7/8
# yum install gcc gtk2-devel gstreamer-devel curl-devel
Configure, compile, and install
- Change the directory to the root of source code
$ cd betaradio-X.X.X
- If you check out from subversion
$ cd betaradio
- Configure
- This step will set the installation directory to /usr/local
$ ./configure
$ ./configure --prefix=/usr
$ autoreconf -i
- Compile
$ make
- Install
$ sudo make install
Execute
- Betaradio need some extra packages to execute normally.
- Debian/Ubuntu
$ sudo aptitude install \
gstreamer0.10-plugins-base \
gstreamer0.10-plugins-bad \
gstreamer0.10-plugins-ugly \
gstreamer0.10-ffmpeg \
gstreamer0.10-alsa
- Add yum repository from http://rpm.livna.org
# rpm -ivh http://rpm.livna.org/livna-release-[678].rpm
# yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg
- Have fun. ;)
沒有留言:
張貼留言