mav

How to compile on Ubuntu 17?

20 posts in this topic

Compiling on Ubuntu 17 fails.

>:~/Downloads/synergy-v1.8.8-stable-c30301e-Source$ QT_SELECT=4 ./hm.sh conf -g1
Mapping command: conf -> configure
Running setup...
Setup complete.
cmake version 3.5.2

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 ../..
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file sys/select.h
-- Looking for include file sys/select.h - found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file wchar.h
-- Looking for include file wchar.h - found
-- Looking for getpwuid_r
-- Looking for getpwuid_r - found
-- Looking for gmtime_r
-- Looking for gmtime_r - found
-- Looking for nanosleep
-- Looking for nanosleep - found
-- Looking for poll
-- Looking for poll - found
-- Looking for sigwait
-- Looking for sigwait - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for vsnprintf
-- Looking for vsnprintf - found
-- Looking for inet_aton
-- Looking for inet_aton - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of char
-- Check size of char - done
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of short
-- Check size of short - done
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- 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 "/home/mav/Downloads/synergy-v1.8.8-stable-c30301e-Source/build/release/CMakeFiles/CMakeOutput.log".
Going back to: /home/mav/Downloads/synergy-v1.8.8-stable-c30301e-Source
Error: CMake encountered error: 256

 

Thanks
 

Share this post


Link to post
Share on other sites

I installed the CURL library but it still fails.

I'm trying to locate the Xtst library for Ubuntu but no luck yet.

>:~/Downloads/synergy-v1.8.8-stable-c30301e-Source$ QT_SELECT=4 ./hm.sh conf -g1
Mapping command: conf -> configure
cmake version 3.5.2

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


Going back to: /home/mav/Downloads/synergy-v1.8.8-stable-c30301e-Source
Error: CMake encountered error: 256
 

Thanks

Share this post


Link to post
Share on other sites
1 hour ago, mav said:

That worked. Thanks.

You're welcome @mav. Thanks for the update too. :) Can you share the steps on you have compiled it successfully?

Share this post


Link to post
Share on other sites

Hello Paul,

  Sure. I simply opened the .deb file with the Software manager in Ubuntu and installed using the gui. It was very easy. I can open from the menu. It is listed under internet apps. Or I can just type synergy in the term. Both work to start it up. I'm using it as a server on Ubuntu and I have two clients attached to it (Windows 10 and Mac OSX Sierra). It is working well. Thanks again.

mav

Share this post


Link to post
Share on other sites

I'm struggling here as previous versions have been easy to install.  I'm never sure what is the software manager.  Please with GUI instructions, thanks John

I've downloaded the correct 32 bit version for my machine which has Ubuntu 17.04.  I tried on a notebook which has Lubuntu 17.04 - same problem.

 

 

Share this post


Link to post
Share on other sites

Hello John,

   Try

   sudo dpkg -i synergy.deb

   I'm running 64bit so I used the Synergy_1.9.0-rc3_amd64.deb package. I assume there is also a 32bit version of Synergy_1.9.0?

mav

Share this post


Link to post
Share on other sites

Hi Mav

Yes there is a 32bit version of synergy which I have downloaded to my download folder.  I've run the above command line and get the following error error:

cannot access archive 'synergy.deb' :  No such file or directory

I'm lost, I'm afraid.

 

John

Share this post


Link to post
Share on other sites

Hello John

  If I interpret your message correctly it seems like you are not using the correct file name after the command. Did you use sudo dpkg -i file_name.deb? Where file_name is the name of the deb file you downloaded.

mav

Share this post


Link to post
Share on other sites

The file name is synergy-v1.8.8-stable-25a8cb2-Linux-i686.deb

I ran

sudo dpkg -i synergy-v1.8.8-stable-25a8cb2-Linux-i686.deb

and

sudo dpkg -i synergy.deb

Both to no avail!

Share this post


Link to post
Share on other sites

Hello John,

  Sorry. I'm not sure what is wrong. What message do you get when you run the command? Have you set your root password?

mav

Share this post


Link to post
Share on other sites

I set route password when I installed Ubuntu.

error messages:

cannot access archive 'synergy.deb' :  No such file or directory

or

cannot access archive ' synergy-v1.8.8-stable-25a8cb2-Linux-i686.deb b' :  No such file or directory

 

 

Share this post


Link to post
Share on other sites

John

Are you running the command in the same folder where the file is?

Go to the folder where  synergy-v1.8.8-stable-25a8cb2-Linux-i686.deb is located.

Type

sudo chmod +xwr  *.deb

then type

sudo dpkg -i synergy-v1.8.8-stable-25a8cb2-Linux-i686.deb

mav

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now