Issue in QT 5.0 installation on Ubuntu 12.04

Asked by Himanshu

Dear All,

I am trying to install QT in ubuntu 12.04. And I am refering the belwo link for the same.

http://www.wikihow.com/Install-Qt-SDK-on-Ubuntu-Linux.

I am using 32 bit Ubuntu version.

I am facing the problem in below steps. ( Please refer to the link for the steps)
 6th Step
sudo -s chmod u+x QtSdk-offline-linux-x86_64-v1.2.1.run ( What is we trying to acheie through this command?) and I am getting
the error "Unable to resolve host"

8th Step
Why are we changing the path?

9th Step
"Unable to resolve host local machine"

Moreover, System update manager doesnt show the option of QT 5 but on QT side it is being releases.

In short, I suspect that these installation steps are not correct. Kindly help me in installing the QT on ubuntu.

Please let me know in case more information is required.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

grep `hostname` /etc/hosts; lsb_release -a; uname -a

Thanks

Revision history for this message
Himanshu (hmnsh18) said :
#2

Hi,

Please find the response of the command.

Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise
Linux isc-op-780 3.2.0-32-generic-pae #51-Ubuntu SMP Wed Sep 26 21:54:23
UTC 2012 i686 i686 i386 GNU/Linux

Regards
Himanshu
On Tue, Jan 22, 2013 at 3:36 PM, actionparsnip <
<email address hidden>> wrote:

> grep `hostname` /etc/hosts; lsb_release -a; uname -a
>

--
Himanshu Singhal

Design Engineer - Application Group
Freescale Semiconductors Pvt Ltd
http://www.freescale.com
Mobile : +91 9911974100

Revision history for this message
Jeet (gour-jitendrasingh) said :
#3

Do you have offline installer ?

Revision history for this message
Himanshu (hmnsh18) said :
#4

Yes...I downloaded qt 5.0 32 bit from qt website...
On Jan 22, 2013 5:41 PM, "Jeet" <email address hidden>
wrote:

> Your question #219820 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/219820
>
> Status: Open => Needs information
>
> Jeet requested more information:
> Do you have offline installer ?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/219820
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

you have been messing with your hostname. The name you have setnis not in /etc/hosts so the OS cannot resolve it's own name to 127.0.0.1

Run:
hostname

Make a note of the hostname then run:
gksudo gedit /etc/hosts

Change the current lines with 127.0.0.1 and 127.0.1.1 to the system hostname, save the new file, close gedit and reboot

Can you help with this problem?

Provide an answer of your own, or ask Himanshu for more information if necessary.

To post a message you must log in.