Error in compiling QT-5.0 on ubuntu linux
-
hii everybody I'm trying to install qt in linux operating system.It is showing an error
""floating point error""...
I have one more doubt in linux by default there is a qt tool in programming tools.
can we use that tool,is that tool is same as the qt tool...
i have tried with that tool it is showing an error that "" unable to execute qmake file'' -
hi im trying to install qt4.8.4 version in linux(redhat5.5) os.
firstly i opened terminal,moved to the location of the qt folder.
then i entered ./configure command .
It has done with its configuration.
Then i enterd gmake command it took several hours to comlete..
after that i entered gmake install command.
i got error like this
"""user@localhost qt-everywhere-opensource-src-4.8.4]$ gmake installcd src/tools/bootstrap/ && gmake -f Makefile install
gmake[1]: Entering directory/home/user/Desktop/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' gmake[1]: Nothing to be done for
install'.
gmake[1]: Leaving directory/home/user/Desktop/qt-everywhere-opensource-src-4.8.4/src/tools/bootstrap' cd src/tools/moc/ && gmake -f Makefile install gmake[1]: Entering directory
/home/user/Desktop/qt-everywhere-opensource-src-4.8.4/src/tools/moc'
mkdir: cannot create directory/usr/local/Trolltech': Permission denied gmake[1]: *** [install_target] Error 1 gmake[1]: Leaving directory
/home/user/Desktop/qt-everywhere-opensource-src-4.8.4/src/tools/moc'
gmake: *** [sub-moc-install_subtargets-ordered] Error 2"""One more thing is that when i tried to install qt-creator it is giving an error like this
""[user@localhost Desktop]$ t-creator-linux-x86-opensource-2.6.1.bin
bash: t-creator-linux-x86-opensource-2.6.1.bin: command not found
[user@localhost Desktop]$ chmod u+x qt-creator-linux-x86-opensource-2.6.1.bin
[user@localhost Desktop]$ ./qt-creator-linux-x86-opensource-2.6.1.bin
./qt-creator-linux-x86-opensource-2.6.1.bin: /usr/lib/libstdc++.so.6: versionGLIBCXX_3.4.9' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin) ./qt-creator-linux-x86-opensource-2.6.1.bin: /usr/lib/libstdc++.so.6: version
GLIBCXX_3.4.11' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin)
./qt-creator-linux-x86-opensource-2.6.1.bin: /lib/libc.so.6: versionGLIBC_2.9' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin) ./qt-creator-linux-x86-opensource-2.6.1.bin: /lib/libc.so.6: version
GLIBC_2.10' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin)
./qt-creator-linux-x86-opensource-2.6.1.bin: /lib/libc.so.6: versionGLIBC_2.11' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin) ./qt-creator-linux-x86-opensource-2.6.1.bin: /lib/libc.so.6: version
GLIBC_2.7' not found (required by ./qt-creator-linux-x86-opensource-2.6.1.bin)""\so please help me...
rectify my problem... -
Qt installs to root directories, you need to run it with sudo:
@
sudo make install
@As for QtC - either provide that library version, or compile QtC yourself.
-
when i install QT ".run" file in linux it is showing this error
""[user@localhost Desktop]$ ./qt-linux-opensource-5.0.1-x86-offline.run
./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: versionGLIBCXX_3.4.9' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: version
GLIBCXX_3.4.11' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
./qt-linux-opensource-5.0.1-x86-offline.run: /usr/lib/libstdc++.so.6: versionGLIBCXX_3.4.15' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version
GLIBC_2.9' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: versionGLIBC_2.10' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run) ./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version
GLIBC_2.11' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
./qt-linux-opensource-5.0.1-x86-offline.run: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./qt-linux-opensource-5.0.1-x86-offline.run)
what is this error???
Please rectify my problem -
Precompiled package is compiled on Ubuntu. There might be library naming clashes. Compile the stuff yourself or symlink the libraries to cheat the package.
-
Hi everybody I got some errors while installing qt4.7.0 version in redhat linux 5.5 version...
Firstly i have copied all the files into a folder and moved to that folder using terminal.
Over their I gave a command "./configure"
Then all the configuration files are executed.
Then after I gave "gmake" command
It gave a error like this:
[user@localhost qt-everywhere-opensource-src-4.7.0]$ gmake
cd src/tools/bootstrap/ && /home/user/Desktop/qt\ installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/bin/qmake /home/user/Desktop/qt installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro -spec ../../../mkspecs/linux-g++ -o Makefile
Cannot find file: /home/user/Desktop/qt.
Cannot find file: installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro.
gmake: *** [src/tools/bootstrap/Makefile] Error 2When I give ""gmake install "" command
It gave errors like this[user@localhost qt-everywhere-opensource-src-4.7.0]$ gmake install
cd src/tools/bootstrap/ && /home/user/Desktop/qt\ installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/bin/qmake /home/user/Desktop/qt installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro -spec ../../../mkspecs/linux-g++ -o Makefile
Cannot find file: /home/user/Desktop/qt.
Cannot find file: installation/qt-everywhere-opensource-src-4.7.0/qt-everywhere-opensource-src-4.7.0/src/tools/bootstrap/bootstrap.pro.
gmake: *** [src/tools/bootstrap/Makefile] Error 2Please rectify my problem as soon as possible...
-
Which package have you downloaded?
-
Tarball or zip?
-
Either a broken download or some nasty Windows conversion bug, it would seem.
This should extract the archive. If it fails, check the checksums, maybe your download is bad:
@
tar -xaf qt‐everywhere‐opensource‐src‐4.7.0.tar.gz
@ -
-
it extracts to a directory named the same as the tarball.
-
I don't think so. RedHat is a big distro, I've never heard people having trouble running Qt there.