Thursday, August 17, 2017

compiling synergy on debian 9 stretch

The packaged version in Debian has always been ancient and terrible, but with the recent release of Stretch, the Synergy devs have yet to catch up.  Here's how to compile and install the latest stable Synergy (1.8.8) at the time of this writing.

  1. sudo aptitude install build-essential cmake libavahi-compat-libdnssd-dev libcurl4-openssl-dev libssl1.0-dev lintian python qt4-dev-tools xorg-dev fakeroot
  2. git clone https://github.com/symless/synergy.git
  3. cd synergy 
  4. git checkout tags/v1.8.8-stable
  5. QT_SELECT=4 ./hm.sh conf -g1
  6. ./hm.sh build
  7. ./hm.sh package deb
  8. sudo dpkg -i bin/synergy-HEAD-stable-c30301e2-Linux-x86_64.deb

2 comments:

  1. I was having a TON of issues getting Synergy to compile and properly connect on my Raspberry Pi, but now it's working great. Thanks!

    ReplyDelete
  2. This helped me a lot, thanks! As of today the repository for synergy is now called synergy-core, so the git command should reflect that. Also, I had to install libxtst-dev. Thanks again.

    ReplyDelete