CEA

Install problems RHEL7

20 posts in this topic

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

 

  • Like 1

Share this post


Link to post
Share on other sites

Hi @CEAWe apologize for the late reply on this thread. Do you still need help with this?

Share this post


Link to post
Share on other sites

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.
 

Share this post


Link to post
Share on other sites

Can you please try Qt4 and let us know how it goes?

Share this post


Link to post
Share on other sites

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?

 

 

Share this post


Link to post
Share on other sites

I'm having the same issue on Fedora 25, from tarball 25a8cb2 currently available for dl on here

Edited by Mathieu Aubin
precision

Share this post


Link to post
Share on other sites

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

Edited by Mathieu Aubin
format freak

Share this post


Link to post
Share on other sites

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).

 

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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..

 

SCREENCAST FOR SYNERGY BUILD

 

Keep us posted..

Edited by Mathieu Aubin

Share this post


Link to post
Share on other sites

@Mathieu Aubin I followed your video and it helped me to a point.. Thanks for that. However I still get this error

[root[email protected] 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

 

Share this post


Link to post
Share on other sites

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.

 

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites

Now it is working guys.. I was able to download the app from my account directly.

Thanks

Share this post


Link to post
Share on other sites

awesome

by default, the binaries get installed to /usr/bin/

under linux, try which

which synergy

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