Unsolved How to install QT(designer) 5.7.0 on CentOS-6.8
I am trying to install QT 5.7.0 on CentOS-6.8.I have these files in QT 5.7.0
I open the CentOS terminal in QT folder and run the following command
Installation stops at this error
qt-everywhere-opensource-src-5.7.0/qtbase/configure: line 3494: g++: command not found Creating qmake... gmake: g++: Command not found gmake: *** [project.o] Error 127
After that i tried to install the following version of gcc-c++ shown in image
But they are giving me following error for gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm
Package /root/Desktop/install/gcc-c++-ppc64-linux-gnu-4.8.5-16.el7.1.aarch64.rpm has incompatible architecture aarch64. Valid architectures are ['ia32e', 'x86_64', 'athlon', 'i686', 'i586', 'i486', 'i386', 'noarch'] ------------------------ gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires gcc-x86_64-linux-gnu = 4.8.5-16.el7.1 gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpfr.so.4()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libc.so.6(GLIBC_2.14)(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libmpc.so.3()(64bit) gcc-c++-x86_64-linux-gnu-4.8.5-16.el7.1.x86_64 requires libgmp.so.10()(64bit)
And for rest of gcc-c++ it is giving following error
Transaction error An unspecified transaction error has occurred More information is available in detail report gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++ = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libstdc++-devel = 4.4.7-18.el6 gcc-c++-4.4.7-18.el6.x86_64 requires libmpfr.so.1()(64bit) gcc-c++-4.4.7-18.el6.x86_64 requires gcc = 4.4.7-18.el6
How i can resolve these issue and install successfully QT 5.7.0 on CentOS-6.8
@getche I'm not sure you can compile Qt 5.7 using GCC v4.7.
Do you really have to use such an old CentOS version?
You first should solve your current problem: install the g++ compiler. I don't know why you get this error message, something to ask CentOS community. Did you try like this:
yum install gcc-c++
@jsulm it is giving following error on running the command (please note my PC is offline and without internet)
#yum install gcc-c++
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os&infra=stock error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base
@jsulm, I can use USB for transferring the packages from internet. Kindly tell me which CentOS packages need to be downloaded and installed ?
Kindly tell me which CentOS packages need to be downloaded and installed ?
I can't, because I don't know all the dependencies between the packages you need. This is not a Qt problem.
That's why the easiest way is to use a local package repository (like DVDs or what ever).
Kindly tell me installation steps QT-5.7