Debian8
From Rivendell Wiki
This page will shortly list all you need to install Rivendell with the source code available on this page. It was tested with Debian 8.11 fresh install and rivendell-2.19.2.
Lines beginning with # are root instructions (and may be executed with sudo), the ones beginning with $ are user instructions, the ones beginning with > are just waiting for some more instructions, the ones beginning with : are vi instructions. vi is my common editor, use your preferred one. bob will be the user, replace with your own user login.
Jackd install an configuration is not treated in this page.
Contents
First steps
Download an install Debian 8. I've used xfce cd iso and installed the minimal + xfce graphical environment.
After the install, remove the line concerning the "CD" repository and update.
# vi /etc/apt/sources.list # apt update # apt upgrade
Web and Database Servers install
# apt install apache2 # apt install mysql-server
Please remember the db password you choose for root when installing MySQL !
Compilation tools and other preparations
Compilation tools
# apt install make gcc g++
My user must be able to write in /usr/local (for Qt3 compilation)
# ls -d /usr/local # adduser bob staff
I already care of rivendell user
# adduser --system --group --home=/var/snd rivendell # chmod g+w /var/snd # adduser bob rivendell# chmod ug+s /var/snd(not sure the last instruction is really required..)
Configure Qt3 environment variables
$ echo '# Qt3 env variables > QTDIR=/usr/local/qt3 > PATH=$QTDIR/bin:$PATH > MANPATH=$QTDIR/doc/man:$MANPATH > LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH > export QTDIR PATH MANPATH LD_LIBRARY_PATH > ' >> ~/.bash_aliases
Reboot
# reboot
or just log out an in..
Qt3 install
$ wget https://download.qt.io/archive/qt/3/qt-x11-free-3.3.8b.tar.gz $ cd /usr/local $ tar xf ~/qt-x11-free-3.3.8b.tar.gz $ ln -s qt-x11-free-3.3.8b/ qt3 $ cd qt3 # apt install libx11-dev libxext-dev libxt-dev libmysqlclient-dev $ ./configure
At this point a few code lines have to be hacked.
$ vi include/qmap.h include/qvaluelist.h
add near line 55 : #include <stddef.h>
$ vi src/sql/drivers/mysql/qsql_mysql.h
modify line 53 : #include <mysql/mysql.h>
$ make
Rivendell install
compile
$ cd $ wget http://rivendellaudio.org/ftpdocs/rivendell/rivendell-2.19.2.tar.gz
or maybe a more recent version..
$ tar xf rivendell-2.19.2.tar.gz $ cd rivendell-2.19.2/ # apt install libssh-dev libsamplerate0-dev libsndfile1-dev \ > libcdparanoia-dev libid3-3.8.3-dev libcurl4-openssl-dev \ > libpam0g-dev libsoundtouch-dev libasound2-dev libflac++-dev \ > libmp4v2-dev libmad0-dev libtwolame-dev libmp3lame-dev libfaad-dev $ ./configure --libexecdir=/var/www/rd-bin --sysconfdir=/etc/apache2/conf-available $ make
install and configure
# cd /home/leon/rivendell-2.19.2/ # make install # cp conf/rd.conf-sample /etc/rd.conf # vi /etc/rd.conf # a2enconf rd-bin && a2enmod cgid && service apache2 reload # vi /etc/init.d/rivendell :%s/alsasound/alsa-utils/g :%s/mariadb/mysql/g :wq # update-rc.d rivendell defaults # update-rc.d rdrepld defaults
Now you can launch rdadmin to create Rivendell database.
$ rdadmin
You're first asked for the db admin authentication : root is the Debian MySQL user and the password is the one you choose when installing the server. Rivendell DB and its tables are created, and a sound test file is created in /var/snd.
You also need to add yous sound card(s)
# rdalsaconfig