본문 바로가기
Developments/Linux(ubuntu)

Synergy Source Build

by Passion King 2017. 12. 7.

synergy 는 open source 이기 때문에 Source 도 함께 공개되어 있다.


Original Core Version

https://github.com/symless/synergy-core.git


Stable Version

https://github.com/brahma-dev/synergy-stable-builds.git


혹시 빌드 과정에서 ./hm.sh conf -g1 혹은 ./configure 를 실행했을 때 아래와 같은 에러 메시지가

나타날 수도 있다.


1. Original Core Version 에서 cmake ../ 실행 후 에러

----------------------------------------------------------------------------------

CMake Error at CMakeLists.txt:136 (message):

  Missing library: curl


-- Configuring incomplete, errors occurred!

See also "<synergy root directory>/build/CMakeFiles/CMakeOutput.log".

-----------------------------------------------------------------------------------


2. Stable Version 에서 ./hm.sh conf -g1 실행 후 에러

-----------------------------------------------------------------------------------

-- Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

CMake Error at CMakeLists.txt:160 (message):

  Missing library: curl


-- Configuring incomplete, errors occurred!

See also "<synergy root directory>/build/CMakeFiles/CMakeOutput.log".

-----------------------------------------------------------------------------------


위 1번과 2번처럼 에러 메시지가 나타나면 필요한 라이브러리가 존재하지 않아서 빌드 에러가 날 확률이 높다. 따라서, 관련 라이브러리 패키지를 설치해주어야 한다.


$ sudo apt-get install libcurl4-openssl-dev

$ sudo apt-get install libxtst-dev

$ sudo apt-get install libssl-dev