Synergy-core: Xtst missing?

Created on 13 Feb 2018  路  4Comments  路  Source: symless/synergy-core

Operating Systems

Server: Ubuntu 16.04.3
Client: MacOS High Sierra 10.13.3

Synergy Version

1.8.蟺 / synergy-stable-builds-c30301e

Trying to build from source.

Steps to reproduce bug

Running ./hm.sh conf -g1 a couple of times I dug up some missing dependencies, but Xtst is proving highly unpleasant ...

I installed libxtst-dev and libxext-dev using apt, but cmake still claims that Xtst is not present.

./hm.sh conf -g1
Mapping command: conf -> configure
cmake version 3.5.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Creating dir: build/release
Entering dir: build/release
CMake command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../..
CMake Error at CMakeLists.txt:248 (message):
  Missing library: Xtst

 locate Xtst
/usr/lib/x86_64-linux-gnu/libXtst.a
/usr/lib/x86_64-linux-gnu/libXtst.so
/usr/lib/x86_64-linux-gnu/libXtst.so.6
/usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
locate XTest
/usr/include/X11/extensions/XTest.h
/usr/share/man/man3/XTestCompareCurrentCursorWithWindow.3.gz
/usr/share/man/man3/XTestCompareCursorWithWindow.3.gz
/usr/share/man/man3/XTestDiscard.3.gz
/usr/share/man/man3/XTestFakeButtonEvent.3.gz
/usr/share/man/man3/XTestFakeKeyEvent.3.gz
/usr/share/man/man3/XTestFakeMotionEvent.3.gz
/usr/share/man/man3/XTestFakeRelativeMotionEvent.3.gz
/usr/share/man/man3/XTestGrabControl.3.gz
/usr/share/man/man3/XTestQueryExtension.3.gz
/usr/share/man/man3/XTestSetGContextOfGC.3.gz
/usr/share/man/man3/XTestSetVisualIDOfVisual.3.

Most helpful comment

problem I was impatient and ran the cmake .. command before apt-get finished installing all dependencies, and got the same error: Missing library: Xtst.

solution I resolved this by clearing the entire build folder and running cmake .. again after all dependencies were installed.

explanation Probably the build-directory caches some results from previously failed cmake .. commands.

All 4 comments

Distributor ID: neon
Description:    KDE neon User Edition 5.12
Release:        16.04
Codename:       xenial

I have installed libxtst-dev and libxext-dev using apt but CMake still says it's not present.

Try xorg-dev

Hi there, thanks for raising this and for contributing. We have a synergy-core development sub-forum, which is the best place to ask questions like this.
https://symless.com/forums/topic/5586-read-first-are-you-a-core-developer/

problem I was impatient and ran the cmake .. command before apt-get finished installing all dependencies, and got the same error: Missing library: Xtst.

solution I resolved this by clearing the entire build folder and running cmake .. again after all dependencies were installed.

explanation Probably the build-directory caches some results from previously failed cmake .. commands.

Was this page helpful?
0 / 5 - 0 ratings