Building SV v3.1 on Linux¶
The Linux build uses an Autotools
configure script. It's the only platform build to use this.
- Install the necessary library packages
The necessary system packages are the following (using Debian/Ubuntu package names):
libbz2-dev libfftw3-dev libfishsound1-dev libid3tag0-dev liblo-dev liblrdf0-dev libmad0-dev liboggz2-dev libpulse-dev libsamplerate-dev libsndfile-dev libsord-dev libxml2-utils portaudio19-dev qt5-default libqt5svg5-dev raptor-utils libasound2-dev libjack-dev librubberband-dev autoconf libtool git mercurial mlton
We also need Cap'n Proto libraries v0.6 or above. For scripted builds we're in the habit of building Cap'n Proto from its Git repo.
We have Travis CI builds set up, and the
.travis.yml file in the SV repo shows how these are run.
The Linux packages we distribute are AppImages. The script
deploy/linux/deploy-appimage.sh builds one on the current system, while the script
deploy/linux/build-and-test-appimage uses two Docker instances to build and test a portable AppImage (it is built on Ubuntu 14.04 and then we test that it can be started on Centos 7).