LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-23-2010, 03:34 AM   #1
mnabeel
LQ Newbie
 
Registered: Nov 2010
Location: Mumbai, India
Distribution: Fedora
Posts: 3

Rep: Reputation: 0
Unhappy Having Problem in instaling GNS3 on Fedora 14


I´m facing a problem in installing GNS3 Cisco simulator on Fedora 14.

I persistently followed the instructions on the http://www.gns3.net website and the readme that came in with the GNS3 source package.

The main packages needed before running GNS3 are:
Dynamips
Dynagen
Qemu
Qt 4.5.1 (or higher)

Python 2.5 (or higher)

Sip 4.5 (or higher)

PyQt 4.5 (or higher

I´ve compiled and installed all the above packages...it took almost a lifetime, especially for Qt and PyQt.

Then, I compiled and installed the GNS3 package and that went well too.

But when I run the gns3 executable, I´m getting the error message given below:

[root@mnpc GNS3-0.7.2-src]# gns3
Can't import Qt modules, PyQt is probably not installed ...

I did a double install on PyQt, but the problem still persists.

Can someone tell me where I´m going wrong?
 
Old 11-23-2010, 04:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Suggest :
Use the genuine Fedora 14 packages instead of building the files.
Then you are sure, that everything is in a default system path ...
1) su
2) yum install qt-devel PyQt4-devel sip-devel qemu


cd GNS3-0.7.2-src/ && python setup.py build && ./gns3 :
... The GNS3 GUI will open.
...

Last edited by knudfl; 12-04-2010 at 12:17 PM.
 
Old 11-24-2010, 01:23 AM   #3
mnabeel
LQ Newbie
 
Registered: Nov 2010
Location: Mumbai, India
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Unhappy Still...No Success

Quote:
Originally Posted by knudfl View Post
Suggest :
Use the genuine Fedora 14 packages instead of building the files.
Then you are sure, that everything is in a default system path ...
1) su
2) yum install qt-devel PyQt-devel sip-devel qemu


cd GNS3-0.7.2-src/ && python setup.py build && ./gns3 :
... The GNS3 GUI will open.
...

I followed the above steps and the yum installations worked successfully. But, GNS3 still gives the same error...here´s a snapshot of the installation and error.

¨[me@mnpc ~]$ su
Password:
[root@mnpc fillipme]# yum install qt-devel PyQt-devel sip-devel qemu
.
.
.
Setting up Install Process
Package sip-devel-4.10.5-2.fc14.i686 already installed and latest version
.
.
.
Transaction Summary
================================================================================
Install 13 Package(s)
Upgrade 5 Package(s)

Total download size: 46 M
Is this ok [y/N]: y
Downloading Packages:
.
.
.
Installed:
PyQt-devel.i686 0:3.18.1-7.fc14 qemu.i686 2:0.13.0-1.fc14

Dependency Installed:
.
.
.
Updated:
qt-devel.i686 1:4.7.1-2.fc14

Dependency Updated:
qt.i686 1:4.7.1-2.fc14 qt-sqlite.i686 1:4.7.1-2.fc14
qt-webkit.i686 1:4.7.1-2.fc14 qt-x11.i686 1:4.7.1-2.fc14

Complete!

[root@mnpc /]# cd GNS3-0.7.2-src/ && python setup.py build && ./gns3
running build
running build_py
running build_scripts
Can't import Qt modules, PyQt is probably not installed ...
¨

Thanks anyway.

Last edited by mnabeel; 11-24-2010 at 02:12 AM.
 
Old 11-24-2010, 12:11 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Well, I may have to install Fedora 14, to see what's about.
( I only have Fedora 8 - 9 - 10 - 11 - 12 - 13 installed.)

? GNS3 v0.7.2 is updated in June - 2010, and shouldn't have any
problems with Python 2.7 etc. ? ..
..
 
Old 12-04-2010, 05:33 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
I finally got Fedora 14 installed.

... And sorry, it's the 'PyQt4' that is used by GNS3.
# 'yum install PyQt4' will do.

...

It is a little confusing :
qt , qt-devel is qt4. ( And qt3 : qt3 + qt3-devel ).

"Python-Qt" : Different naming.
PyQt4 , PyQt4-devel ( And PyQt3 is PyQt + PyQt-devel ).
..

Last edited by knudfl; 12-04-2010 at 12:26 PM.
 
1 members found this post helpful.
Old 12-13-2010, 12:40 AM   #6
mnabeel
LQ Newbie
 
Registered: Nov 2010
Location: Mumbai, India
Distribution: Fedora
Posts: 3

Original Poster
Rep: Reputation: 0
Smile At last...Thanks a lot dude.

All installations were smooth...but when I run the ./gns3 package, I get this message...

[root@mnpc GNS3-0.7.2-src]# gns3
Command not found. ./
[root@mnpc GNS3-0.7.2-src]# ./gns3
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)


Then I googled this error message and found a solution on the following site:
https://bugzilla.redhat.com/show_bug.cgi?id=638415

Since, I was in root, I was unable to start the application because I didn't have session access.

So, I logged in as another user and ran ./gns3 and success at last.

Thanks again knudfl

Quote:
Originally Posted by knudfl View Post
I finally got Fedora 14 installed.

... And sorry, it's the 'PyQt4' that is used by GNS3.
# 'yum install PyQt4' will do.

...

It is a little confusing :
qt , qt-devel is qt4. ( And qt3 : qt3 + qt3-devel ).

"Python-Qt" : Different naming.
PyQt4 , PyQt4-devel ( And PyQt3 is PyQt + PyQt-devel ).
..
 
  


Reply

Tags
gns3


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to reinstall winXP after instaling fedora 10 nkd Fedora 14 02-06-2009 11:20 PM
I have a problem instaling ubuntu 8.4 bergzan Linux - Newbie 4 08-13-2008 11:02 AM
Trouble Instaling Fedora 7 on PowerMac G4 flyinggeko Fedora 0 06-05-2007 08:45 PM
problem instaling new languages roee Linux - Software 2 06-09-2006 03:36 AM
instaling problem Q-Bert Linux - Software 2 07-01-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration