This is most likely useful for those of us wanting to compile the ‘Interface’ client. The server-side components should compile quite happily on stock dev-libs using Coal’s instructions here (adjusting Ubuntu to Debian where lib-names don’t align).
Okay, here is the works-for-me as of 2016-09-19. This is how I did it and probably differs from the right way™ or the way you might prefer. YMMV.
I track the Debian/testing repo, so can’t make any guarantees regarding the suitability of Debian/stable.
Using the Debian QT libs won’t work as qtWebEngine isn’t included (for reasons discussed elsewhere). Rather than try to hunt down an unofficial repository or some other dodgy source that would likely break my nice clean install, I manually installed a copy of the official QT libs into a safe location and compiled against those.
Note: Installing and compiling all this required about 5.5 gigabytes of disk space!
All this assumes you are operating from a normal user account which has membership of the sudo group…
- Source 1 virgin goat.
- sudo chown [username]:[username] /usr/src to give myself full r/w access on my /usr/src directory (you can use whatever location works for you substituting your root path for /usr/src as you see fit).
- I installed extra libs and tools: sudo apt-get install git build-essential cmake libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack0 libjack-dev libxrandr-dev libudev-dev libssl-dev zlib1g-dev
- I logged into the QT site and downloaded the QT installer
- I created the folder /usr/src/qt/ and directed the QT installer to install to it (I went with QT 5.7 which seems to work fine so far). It is a GUI installer so easy to use.
- In /usr/src I ran (command line) git clone https://github.com/highfidelity/hifi.git
- I set the environment variable (command line) export QT_CMAKE_PREFIX_PATH=/usr/src/qt/5.7/gcc_64/lib/cmake/ (also added that to the bottom my .profile in my home folder so it stays set between logins).
- (command line) created and moved to the folder /usr/src/hifi/build/
- executed (command line) cmake … (note the space then two dots).
- executed (command line) make all
- The virgin goat will then be so impressed by your mad leet skillz that it will be your friend for life and head-butt all school/workplace bullies out upper-story windows for you.
Note: I constructed these instructions by up-arrowing through my bash history (skipping false-starts and re-ordering/combining a few steps for sanity). Hopefully I didn’t miss anything. I don’t generally maintain a build-environment on my system so hopefully I didn’t skip any needed packages inadvertently. Let me know below if you think I did!