<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.rivendellaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mcfaddenm</id>
		<title>Rivendell Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.rivendellaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mcfaddenm"/>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php/Special:Contributions/Mcfaddenm"/>
		<updated>2026-05-10T17:53:46Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.26.4</generator>

	<entry>
		<id>http://wiki.rivendellaudio.org/index.php?title=Building_Rivendell_from_source&amp;diff=782</id>
		<title>Building Rivendell from source</title>
		<link rel="alternate" type="text/html" href="http://wiki.rivendellaudio.org/index.php?title=Building_Rivendell_from_source&amp;diff=782"/>
				<updated>2024-12-04T20:42:01Z</updated>
		
		<summary type="html">&lt;p&gt;Mcfaddenm: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
In most cases, the preferred way to run Rivendell is to use the pre-built packages provided by Paravel Systems. However, it can sometimes be desireable to build Rivendell directly from the source code provided by the upstream developers; such as when one wishes to test a new feature or bugfix that has been committed on GitHub but not yet released in the pre-built packages. This page provides instructions on how to go about this.&lt;br /&gt;
&lt;br /&gt;
==Caveats==&lt;br /&gt;
Builds directly from source should ''always'' be considered &amp;quot;experimental&amp;quot;. They should '''never''' be attempted on systems that are in production &amp;quot;on the air&amp;quot; use! Thus, it is '''highly''' recommended that a seperate, dedicated computer be used for such builds.&lt;br /&gt;
&lt;br /&gt;
The following instructions assume the distro environment to be Ubuntu 22.04 &amp;quot;Jammy Jellyfish&amp;quot;. The fundamental princples apply to other distros as well though; with any differences mostly being confined to using '''yum''' or '''dnf''' instead of Ubuntu's '''apt''' package management tool.  &lt;br /&gt;
&lt;br /&gt;
==Preparing the Installation Environment==&lt;br /&gt;
The first step in preparing a system to do a source build of Rivendell is to install the basic Rivendell environment by running one of the [https://wiki.rivendellaudio.org/index.php/Installing_Rivendell#Appliance_Installers Rivendell appliance installers].&lt;br /&gt;
&lt;br /&gt;
Once installation is complete, the next step is to remove the pre-built Rivendell packages. Start by opening&lt;br /&gt;
a Terminal window and then entering:&lt;br /&gt;
&lt;br /&gt;
 sudo apt purge rivendell rivendell-opsguide&lt;br /&gt;
&lt;br /&gt;
Next, download the Rivendell source code from GitHub (an operation known as 'cloning'):&lt;br /&gt;
&lt;br /&gt;
 git clone https://github.com/ElvishArtisan/rivendell&lt;br /&gt;
&lt;br /&gt;
and then move into the newly-created 'rivendell/' directory:&lt;br /&gt;
&lt;br /&gt;
 cd rivendell&lt;br /&gt;
&lt;br /&gt;
next, open a second 'Terminal' window and likewise move into the 'rivendell/' directory.&lt;br /&gt;
&lt;br /&gt;
Arrange the two windows side-by-side. In the left-hand one, view the 'INSTALL' file using the 'less' file viewer:&lt;br /&gt;
&lt;br /&gt;
 less INSTALL&lt;br /&gt;
&lt;br /&gt;
then scroll down to find the 'DISTRO-SPECIFIC NOTES' section, find the subsection for your Linux distro,&lt;br /&gt;
then the block of text within that subsection that starts with 'Environmental variables:'. In the right-hand terminal window, add the 'DOCBOOK_STYLESHEETS' variable to your environment by copy-pasting the text found in the 'Environmental variables:' subsection. For example:&lt;br /&gt;
&lt;br /&gt;
 export DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns&lt;br /&gt;
 echo export DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns &amp;gt;&amp;gt; ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
Next, find the block of text that begins with 'Required build packages:'. Copy all of the remaining text in the block, then enter 'sudo apt install ' into the right-hand window, followed by the text copied above.&lt;br /&gt;
&lt;br /&gt;
The result should look something like this:&lt;br /&gt;
&lt;br /&gt;
 sudo apt install apache2 libexpat1-dev libexpat1 libid3-dev libcurl4-gnutls-dev libcoverart-dev \&lt;br /&gt;
 libdiscid-dev libmusicbrainz5-dev libcdparanoia-dev libsndfile1-dev libpam0g-dev libvorbis-dev \&lt;br /&gt;
 python3 python3-pycurl python3-pymysql python3-serial python3-requests libsamplerate0-dev \&lt;br /&gt;
 qtbase5-dev libqt5sql5-mysql libsoundtouch-dev libsystemd-dev libjack-jackd2-dev libasound2-dev \&lt;br /&gt;
 libflac-dev libflac++-dev libmp3lame-dev libmad0-dev libtwolame-dev docbook5-xml libxml2-utils \&lt;br /&gt;
 docbook-xsl-ns xsltproc fop make g++ libltdl-dev autoconf automake libssl-dev libtag1-dev \&lt;br /&gt;
 qttools5-dev-tools debhelper openssh-server autoconf-archive gnupg pbuilder ubuntu-dev-tools \&lt;br /&gt;
 apt-file hpklinux-dev libmagick++-dev&lt;br /&gt;
&lt;br /&gt;
The system will present a list of packages to be installed, followed by confirmation prompt. Enter 'Y'. The system will begin downloading and installing packages. Allow it to finish.&lt;br /&gt;
&lt;br /&gt;
==Building the Code==&lt;br /&gt;
Now we're ready to build the code! In the right-hand Terminal window, run the command:&lt;br /&gt;
&lt;br /&gt;
 ./configure_build.sh&lt;br /&gt;
&lt;br /&gt;
The script will now analyze your system and print a summary of what it found. It should look something like this:&lt;br /&gt;
&lt;br /&gt;
 configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|         *** RIVENDELL CONFIGURATION SUMMARY ***         |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
 configure: &amp;quot;| Platform Information:                                   |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                         Distribution Name ... Linux Mint|&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                       Distribution Family ... Debian    |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                          Update I18N Data ... No        |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                                                         |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;| Configured Audio Drivers:                               |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|  Advanced Linux Sound Architecture (ALSA) ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                          AudioScience HPI ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                 JACK Audio Connection Kit ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                                                         |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;| Audio Codecs:                                           |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|            FLAC Encoding/Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                     MPEG Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|             MPEG Layer 2 Encoding Support ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|             MPEG Layer 3 Encoding Support ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|       OggVorbis Encoding/Decoding Support ... Yes       |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|                      M4A Decoding Support ... No        |&amp;quot;&lt;br /&gt;
 configure: &amp;quot;|---------------------------------------------------------|&amp;quot;&lt;br /&gt;
 configure: &lt;br /&gt;
 configure: &lt;br /&gt;
 configure: Now enter 'make' to build the software.&lt;br /&gt;
&lt;br /&gt;
Now, simply enter the single word 'make' and hit &amp;lt;enter&amp;gt; to start the build. Depending upon your hardware, this step could take awhile to complete.&lt;br /&gt;
&lt;br /&gt;
==Installing the Code==&lt;br /&gt;
To install and run the newly built code, run the following:&lt;br /&gt;
&lt;br /&gt;
 sudo make install&lt;br /&gt;
&lt;br /&gt;
and then check for and apply any needed database updates by doing:&lt;br /&gt;
&lt;br /&gt;
 sudo rddbmgr --modify&lt;br /&gt;
&lt;br /&gt;
And finally, start the Rivendell service by doing:&lt;br /&gt;
&lt;br /&gt;
 sudo systemctl restart apache2&lt;br /&gt;
 sudo systemctl restart rivendell&lt;br /&gt;
&lt;br /&gt;
And that's it.&lt;/div&gt;</summary>
		<author><name>Mcfaddenm</name></author>	</entry>

	</feed>