PDA

View Full Version : Problems on installing Qt4.8 on Fedora 16



henryjoye
23rd January 2012, 15:43
HI all,

I compiled the QT 4.8 source successfully using "gmake" on Fedora 16 64bit. When I am using "sudo gmake install" to install QT4.8, I got following problems:

[hj@ws2 qt-everywhere-opensource-src-4.8.0]$ sudo gmake install
[sudo] password for hj:
cd src/tools/bootstrap/ && gmake -f Makefile install
/bin/sh: line 0: cd: src/tools/bootstrap/: Not a directory
gmake: *** [sub-tools-bootstrap-install_subtargets-ordered] Error 1
[hj@ws2 qt-everywhere-opensource-src-4.8.0]$

Can anyone show me how to solve this problem?

Thank you!

joey

ChrisW67
23rd January 2012, 21:52
I am guessing that the environment granted by sudo does not have the same working directory as your user shell.
Compare:


$ sudo pwd
with
$ pwd