close

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

  1. From the released tarball
  2. From subversion repository

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
    • If you want to set the installation directory to /usr
    • $ ./configure --prefix=/usr
    • If you check out from subversion, do this to generate ./configure
    • $ 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
    • Fedora 6/7/8
      • Add yum repository from http://rpm.livna.org
      • # rpm -ivh http://rpm.livna.org/livna-release-[678].rpm
      • Install the extra packages from livna
      • # yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg
  • Now, you should be able to execute betaradio from Application -> Multimedia
    • Have fun. ;)
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 peicheng 的頭像
    peicheng

    FLASHC

    peicheng 發表在 痞客邦 留言(0) 人氣()