CEA Posted April 28, 2017 Share Posted April 28, 2017 After untarring the download and entering the directory, as root ./hm.sh conf -g1 The script seems to find all the files it is searching for, then gives back these lines: -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source/build/release Going back to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source Error: Could not test for cmake: Qmake version: 1.07a (Qt 3.3.8b) Qmake is free software from Trolltech ASA. Running this command, just in case it might work: ./hm.sh build Runs through the build process before yielding this: [100%] Built target unittests Going back to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source Make GUI command: make -w Entering dir: src/gui make: Entering directory `/usr/local/src/synergy-v1.8.8-stable-c30301e-Source/src/gui' make: *** No targets specified and no makefile found. Stop. make: Leaving directory `/usr/local/src/synergy-v1.8.8-stable-c30301e-Source/src/gui' Going back to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source Error: make -w failed with error: 512 Link to comment Share on other sites More sharing options...
Paul Suarez Posted May 9, 2017 Share Posted May 9, 2017 Hi @CEA. We apologize for the late reply on this thread. Do you still need help with this? Link to comment Share on other sites More sharing options...
CEA Posted May 9, 2017 Author Share Posted May 9, 2017 I have not solved the problem. Link to comment Share on other sites More sharing options...
Paul Suarez Posted May 9, 2017 Share Posted May 9, 2017 Have you checked this link @CEA? Link to comment Share on other sites More sharing options...
CEA Posted May 10, 2017 Author Share Posted May 10, 2017 I removed all the source, bin, and conf files from the previous attempt, and tried it again with the suggestions at the link: # QT_SELECT=4 ./hm.sh conf -g1 Mapping command: conf -> configure Running setup... Setup complete. cmake version 2.8.12.2 Creating dir: build/release Entering dir: build/release CMake command: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../.. -- The C compiler identification is GNU 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /bin/cc -- Check for working C compiler: /bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /bin/c++ -- Check for working CXX compiler: /bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - 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 -- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0") -- Check size of XRRNotifyEvent -- Check size of XRRNotifyEvent - done -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/dpms.h -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/dpms.h - found -- Looking for include file X11/extensions/Xinerama.h -- Looking for include file X11/extensions/Xinerama.h - found -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/XKBstr.h -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/XKBstr.h - found -- Looking for include file X11/extensions/XKB.h -- Looking for include file X11/extensions/XKB.h - found -- Looking for include file X11/extensions/XTest.h -- Looking for include file X11/extensions/XTest.h - found -- Looking for include files X11/Xlib.h, X11/XKBlib.h -- Looking for include files X11/Xlib.h, X11/XKBlib.h - found -- Looking for include file X11/extensions/XInput2.h -- Looking for include file X11/extensions/XInput2.h - found -- Looking for IceConnectionNumber in SM;ICE -- Looking for IceConnectionNumber in SM;ICE - found -- Looking for DPMSQueryExtension in Xext;X11 -- Looking for DPMSQueryExtension in Xext;X11 - found -- Looking for XTestQueryExtension in Xtst;Xext;X11 -- Looking for XTestQueryExtension in Xtst;Xext;X11 - found -- Looking for XineramaQueryExtension in Xinerama -- Looking for XineramaQueryExtension in Xinerama - found -- Looking for XISelectEvents in Xi -- Looking for XISelectEvents in Xi - found -- Looking for XRRQueryExtension in Xrandr -- Looking for XRRQueryExtension in Xrandr - found -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source/build/release Going back to: /usr/local/src/synergy-v1.8.8-stable-c30301e-Source Error: Could not test for cmake: Qmake version: 1.07a (Qt 3.3.8b) Qmake is free software from Trolltech ASA. Link to comment Share on other sites More sharing options...
Paul Suarez Posted May 10, 2017 Share Posted May 10, 2017 Can you please try Qt4 and let us know how it goes? Link to comment Share on other sites More sharing options...
CEA Posted May 10, 2017 Author Share Posted May 10, 2017 I tried the Qt4 switch as part of the install command. (first line of the bit I posted is the command I used "QT_SELECT=4 ./hm.sh conf -g1" How else would I try Qt4? Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 12, 2017 Share Posted June 12, 2017 I'm having the same issue on Fedora 25, from tarball 25a8cb2 currently available for dl on here Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 12, 2017 Share Posted June 12, 2017 Hi, I've solved my build problem on Fedora and i'm pretty sure this applies pretty much 'as is' without any modifications to any rhel-based distributions, appart from your package manager. Since i can't get my head around using 'dnf' instead of the yellow dog, i've aliases yum to dnf on my system so the following refers to yum for that reason and is also somewhat more general. I've made sure Qt4 was installed before anything else, which i'm sure you did too. Also didn't even bother checking before and just went ahead and compiled/installed latest cmake from the official site at https://cmake.org/files/v3.8/cmake-3.8.2.tar.gz After this has been done... found two possible fixes... Solution 1 My $PATH had 2 paths for QT versions, respectively 3.3 and 4 and in that same order. Since $PATH order is evaluated in the choice of which binary to run in case of duplicates, making sure Qt4 was before the others worked. Solution 2 Install qtchooser, which will make use of the QT_SELECT=4 env variable. # yum install qtchooser Then make sure /usr/lib/qtchooser figures before any other QT paths in your $PATH. Test it a few ways to proove your theory -- and build happy. # export PATH="/usr/lib64/qt-3.3/bin...data removed.../usr/lib64/qt4/bin:/usr/lib/qt4/bin" # which qmake /usr/lib64/qt-3.3/bin/qmake # qmake --version Qmake version: 1.07a (Qt 3.3.8b) Qmake is free software from Trolltech ASA. # export PATH="/usr/lib64/qt4/bin:/usr/lib/qt4/bin...data removed.../usr/lib64/qt-3.3/bin" # which qmake /usr/lib64/qt4/bin/qmake # qmake --version QMake version 2.01a Using Qt version 4.8.7 in /usr/lib64 Same goes with /usr/lib/qtchooser in your $PATH. More informations on qtchooser here --> Hopefully you have restarted your shell after installing all the crap, and it should compile/package just fine. Qtchooser must be something installed by default on debian-like I hope this helps you, worked for me Link to comment Share on other sites More sharing options...
Paul Suarez Posted June 13, 2017 Share Posted June 13, 2017 Thanks for sharing this @Mathieu Aubin. Anyone wants to confirm this?Please comment here. Link to comment Share on other sites More sharing options...
CEA Posted June 13, 2017 Author Share Posted June 13, 2017 Mathieu, Thanks for the tips. I have a slightly different error now: # QT_SELECT=4 ./hm.sh conf -g1 Mapping command: conf -> configure Running setup... Setup complete. cmake version 3.8.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 4.8.5 -- The CXX compiler identification is GNU 4.8.5 -- Check for working C compiler: /bin/cc -- Check for working C compiler: /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: /bin/c++ -- Check for working CXX compiler: /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 -- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0") -- Check size of XRRNotifyEvent -- Check size of XRRNotifyEvent - done -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/dpms.h -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/dpms.h - found -- Looking for include file X11/extensions/Xinerama.h -- Looking for include file X11/extensions/Xinerama.h - found -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/XKBstr.h -- Looking for 3 include files X11/Xlib.h, ..., X11/extensions/XKBstr.h - found -- Looking for include file X11/extensions/XKB.h -- Looking for include file X11/extensions/XKB.h - found -- Looking for include file X11/extensions/XTest.h -- Looking for include file X11/extensions/XTest.h - found -- Looking for include files X11/Xlib.h, X11/XKBlib.h -- Looking for include files X11/Xlib.h, X11/XKBlib.h - found -- Looking for include file X11/extensions/XInput2.h -- Looking for include file X11/extensions/XInput2.h - found -- Looking for IceConnectionNumber in SM;ICE -- Looking for IceConnectionNumber in SM;ICE - found -- Looking for DPMSQueryExtension in Xext;X11 -- Looking for DPMSQueryExtension in Xext;X11 - found -- Looking for XTestQueryExtension in Xtst;Xext;X11 -- Looking for XTestQueryExtension in Xtst;Xext;X11 - found -- Looking for XineramaQueryExtension in Xinerama -- Looking for XineramaQueryExtension in Xinerama - found -- Looking for XISelectEvents in Xi -- Looking for XISelectEvents in Xi - found -- Looking for XRRQueryExtension in Xrandr -- Looking for XRRQueryExtension in Xrandr - found -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/synergy-master/build/release Going back to: /usr/local/src/synergy-master Error: Could not get revision, git error: 128 My PATH variable: # echo $PATH /usr/lib64/qt4/bin:/root/perl5/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin My qmake version: # which qmake /usr/lib64/qt4/bin/qmake # qmake --version QMake version 2.01a Using Qt version 4.8.5 in /usr/lib64 My cmake version: # cmake --version cmake version 3.8.2 CMake suite maintained and supported by Kitware (kitware.com/cmake). Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 15, 2017 Share Posted June 15, 2017 Hrrm.. I must say i've never encountered such error and it seems to me that its coming from git -- not being able to connect to the repo? I'm just guessing here as i have no idea. Isn't there a 'verbose' switch you could toggle? And also, for the sake of others ending up here due to the same initial problem, what steps did you take to solve it? Link to comment Share on other sites More sharing options...
Paul Suarez Posted June 16, 2017 Share Posted June 16, 2017 Hi @CEA. Unix and Linux Compiling has been edited the next day I told you to check it. Have you already tried the updated commands? Link to comment Share on other sites More sharing options...
CEA Posted June 16, 2017 Author Share Posted June 16, 2017 Using the method from the updated Unix and Linux Compiling instructions allowed and install with no error messages once I followed Mathieu's tips on QT4, cmake, and qmake. However, the bin directory does not have any files in it. Nor is synergys in my PATH. Is the executable for the server called something else? Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 24, 2017 Share Posted June 24, 2017 Just for fun, while hopefully helping achieving your build, have you got package 'mlocate' installed? If not, install it and run the updatedb command that goes with it: # yum install mlocate && updatedb after a successful updatedb (takes some time depending on your system), query the locate db for "synergy" like so # locate synergy Maybe you magically have the files compiled and installed in the darkest, most remote inners of your system where even "Zhe Shell" finds its path boudaries. On a more serious note... here is a screencast of a build (git cloned) on C7.. Keep us posted.. Link to comment Share on other sites More sharing options...
CyberHalogen Posted June 29, 2017 Share Posted June 29, 2017 @Mathieu Aubin I followed your video and it helped me to a point.. Thanks for that. However I still get this error [root@cyberhalogen synergy]# rpm -i bin/synergy-master-*.rpm error: Failed dependencies: libQt5Core.so.5()(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Core.so.5(Qt_5)(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Core.so.5(Qt_5.6)(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Gui.so.5()(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Gui.so.5(Qt_5)(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Network.so.5()(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Network.so.5(Qt_5)(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Widgets.so.5()(64bit) is needed by synergy-1.8.8-1.x86_64 libQt5Widgets.so.5(Qt_5)(64bit) is needed by synergy-1.8.8-1.x86_64 Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 29, 2017 Share Posted June 29, 2017 i'm puzzled. Why would QT5 things be needed when synergy runs off QT4 ... If you wanted, i could build a package for you hhe... contact me in private tho. Link to comment Share on other sites More sharing options...
CyberHalogen Posted June 30, 2017 Share Posted June 30, 2017 7 minutes ago, Mathieu Aubin said: i'm puzzled. Why would QT5 things be needed when synergy runs off QT4 ... If you wanted, i could build a package for you hhe... contact me in private tho. Thanks @Mathieu Aubin I would appreciate it but unfortunately, I can't message here. i followed your video from beginning till the end and I never saw any errors. After that, how do I start the synergy app? Link to comment Share on other sites More sharing options...
CyberHalogen Posted June 30, 2017 Share Posted June 30, 2017 Now it is working guys.. I was able to download the app from my account directly. Thanks Link to comment Share on other sites More sharing options...
Mathieu Aubin Posted June 30, 2017 Share Posted June 30, 2017 awesome by default, the binaries get installed to /usr/bin/ under linux, try which which synergy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.