Compiling Rivendell from Source
From Rivendell Wiki
While these instructions are written with Suse in mind, the process should be very similar for other flavors of Linux. The following instructions are largely based on Appnote0004 by Fred Gleason
Packages to install in YaST (Suse 10.x) Software Management:
Set Filter to search and install these packages:
cvs kernel-source gcc autoconf make automake bzip2 libtool
Install the following development packages:
qt3-devel qt3-devel-tools alsa-devel jack-devel hpklinux-devel libogg-devel libvorbis-devel id3lib-devel flac-devel libsamplerate-devel
Packages to install in apt (Ubuntu):
sudo apt-get install build-essential libqt3-* qt3-dev* libid3-dev libflac-dev linux-headers-[kernel] libogg-dev
libvorbis-dev libasound2-dev libsamplerate-dev
Note: replace [kernel] with your kernel version (use uname -a to find this)
Additional Packages
Two additional source packages hpklinux-3.05.10.tar.bz2 and gpio-0.9.6.tar.gz can be downloaded from the Rivendell download page: here
Unpack gpio-0.9.6.tar.gz using the command:
tar -xvf gpio-0.9.6.tar.gz
Unpack hpklinux-3.05.10.tar.bz2 to obtain hpklinux-3.05.10.tar using the command:
bunzip2 hpklinux-3.05.10.tar.bz2
Then unpack hpklinux-3.05.10.tar using the command:
tar -xvf hpklinux-3.05.10.tar
Rivendell Source Download Links
- Source packages for the latest release
- Appnote 004 contains information on how to download the newest (but unreleased) Rivendell source packages using cvs. here
Required for QT3:
The QTDIR and PATH variables need to be properly set up in your build environment. You may need to put the following into your ~/.bashrc if $QTDIR and $PATH are not already properly configured:
export QTDIR=/usr/lib/qt3 export PATH=$PATH:$QTDIR/bin
Open a new shell by logging out, then in again, and you should be in business.
Update the Rivendell Package Version
The Rivendell version is that of the last package release. Edit the Rivendell package version if you are compling an unreleased or modified source package.
Edit the file configure.in in the Rivendell source directory. Update the revision (0.9.80) on two lines near the top of configure.in. For example you might change 0.9.80 to 0.9.80_2007-07-13_cvs to show that you compiled the files on July 13, 2007 from cvs.
AC_INIT(rivendell,0.9.80,Fred Gleason <fredg@paravelsystems.com>) AM_INIT_AUTOMAKE(rivendell,0.9.80)
Compile gpio
as regular user (Not root):
cd gpio-0.9.6 ./configure make #or "make rpm" if you would like to create your own RPMs #continue only if you wish to install on this PC su [enter root password] make install ldconfig exit cd ..
Compile hpklinux
as regular user (Not root):
cd hpklinux-3.05.10
./configure
make
#or "make rpm" if you would like to create your own RPMs
#continue only if you wish to install on this PC
su [enter root password]
make install
ldconfig
exit
cd ..
Compile libradio
as regular user (Not root):
cd libradio
./autogen.sh
./configure
make
#or "make rpm" if you would like to create your own RPMs
#continue only if you wish to install on this PC
su [enter root password]
make install
ldconfig
exit
Compile librhpi
Note: libradio-devel rpm needs to be installed or libradio needs to be installed from source in order to compile librhpi.
As regular user (Not root):
cd librhpi
./autogen.sh
./configure
make
#or "make rpm" if you would like to create your own RPMs
#continue only if you wish to install on this PC
su [enter root password]
make install
ldconfig
exit
Compile Rivendell
Note: libradio-devel & librhpi-devel rpms needs to be installed or libradio & librhpi need to be installed from source in order to compile rivendell.
As regular user (Not root):
cd rivendell
./autogen.sh
./configure
make
#or "make rpm" if you would like to create your own RPMs
#continue only if you wish to install on this PC
su [enter root password]
make install
ldconfig

