Skip to content

Troubleshooting builds

rc edited this page Jan 2, 2017 · 7 revisions

Documented issues regarding qTox v1.7.0 install/compilation on Debian 8.6 (jessie)

It has been reported and documented that compiling qTox 1.7 on Debian 8.6 runs into a few dependency problems:

  1. First off, the needed qt5-related compilation packages require a jessie-stable (not a backport or newer) version of the Mesa driver to be installed. Watch out for this, and use 'aptitude' to graciously downgrade to a stable 'Mesa' version if required.

  2. The required ffmpeg/libswscale4 (jessie-sid) package is currently provided only in Debian's [sid/unstable] and [stretch/testing] branches. The current Debian 8.6 stable branch contains only a metapackage named 'libswscale4-dev' which points to the 'ffmpeg/libav' package, and consequently crashes 'make' when compiling qTox 1.7 from source. It has been documented that this error stems from Debian's current (8.6-jessie) incorrect packaging of ffmpeg 3.2.2.
    This situation is solved by removing your 'ffmpeg' package and reinstalling it from source.

WARNING: You will need to install the required dependencies for FFmpeg to successfully compile, so 'Get the dependencies' before you start compiling.

Important note: if you have installed the Optimus-related 'bumblebee' package from jessie-backports, package 'libvdpau-dev' will complain: libvdpau-dev : Depends: libvdpau1 (= 0.8-3+deb8u2) but 1.1.1-1~bpo8+1 is to be installed. Trying to downgrade 'libvdpau1' will result in video driver mayhem, so don't. Instead, force install just the required 'libvdpau-dev' as follows:

$ apt-get download libvdpau-dev
# dpkg --force-all -i libvdpau-dev_0.8-3+deb8u2_amd64.deb

After successfully installing all the dependencies, use the main build instructions to compile FFmpeg and then finish building qTox 1.7.0.

Clone this wiki locally