(Tutorial) How To Install GNS3 on Centos/Redhat/Fedora .


You won't find detailed instructions for GNS3 installation on Centos/Redhat/Fedora over the net, So I decided to make one for our certcollection members. Installing GNS3 on Centos/Redhat/Fedora can be very tedious task. But If you follow my Steps given below you can setup and run GNS3 without any difficulty. Since Qt 4.5.1 binary which is required for GNS3 is not available for these OS's, we'll have to compile it from the source.

Centos Users, Please scroll down to see updated steps.
IMP:: Installation of all this packages will take a lot of time. So do it in the free time.

OK lets roll

First we'll have to install dependencies

[user@admin ~]$ su

Password: (Type in your root password here)

[root@admin /]# yum install python python-devel xorg-x11-proto-devel libXext-devel

[root@admin /]# yum install gcc-c++



Now we'll download and install Qt4

[root@admin /]#cd /tmp

[root@admin tmp#wget ftp://ftp.qt.nokia.com/qt/source/qt-x11-opensource-src-4.5.1.tar.gz

[root@admin tmp]#tar xzf qt-x11-opensource-src-4.5.1.tar.gz

[root@admin tmp]# cd qt-x11-opensource-src-4.5.1

[root@admin qt-x11-opensource-src-4.5.1]#./configure -nomake examples -nomake demos -qt-gif -no-exceptions -debug -qt3support

[root@admin qt-x11-opensource-src-4.5.1]#gmake <====This might take 2-3 hrs.

[root@admin qt-x11-opensource-src-4.5.1]#gmake install <====Another 30 mins or so

[root@admin qt-x11-opensource-src-4.5.1]#PATH=/usr/local/Trolltech/Qt-4.5.1/bin:$PATH

[root@admin qt-x11-opensource-src-4.5.1]#export PATH


Next we'll install SIP

[root@admin qt-x11-opensource-src-4.5.1]#cd ..

[root@admin tmp]#wget http://code.enthought.com/src/sip-4.8.1.tar.gz

[root@admin tmp]#tar xzf sip-4.8.1.tar.gz

[root@admin tmp]#cd sip-4.8.1

[root@admin sip-4.8.1]#python configure.py

[root@admin sip-4.8.1]#make

[root@admin sip-4.8.1]#make install


Next we'll Install PyQt4

[root@admin sip-4.8.1]#cd ..

[root@admin tmp]#wget http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.5.2.tar.gz


[root@admin tmp]#tar xzf PyQt-x11-gpl-4.5.2.tar.gz

[root@admin tmp]#cd PyQt-x11-gpl-4.5.2

[root@admin PyQt-x11-gpl-4.5.2]#python configure.py

[root@admin PyQt-x11-gpl-4.5.2]#make <=====This will take 30-60 mins

[root@admin PyQt-x11-gpl-4.5.2]#make install


We are done with compiling part, now lets download GNS3 source files

[root@admin tmp]#cd /opt

[root@admin opt]#wget http://nchc.dl.sourceforge.net/project/gns-3/GNS3/0.7.4/GNS3-0.7.4-src.tar.bz2

[root@admin opt]#tar -xjvf GNS3-0.7.4-src.tar.bz2 && rm GNS3-0.7.4-src.tar.bz2

[root@admin opt]#mv GNS3-0.7.4-src /opt/GNS3


Create the following directories:
These directories will be used by GNS3 – such as projects – where your working projects will be stored, cache, temp, IOS images, etc.

[root@admin opt]#cd /opt/GNS3
[root@admin GNS3]#mkdir Dynamips
[root@admin GNS3]#mkdir IOS
[root@admin GNS3]#mkdir Project
[root@admin GNS3]#mkdir Cache
[root@admin GNS3]#mkdir tmp
[root@admin GNS3]#chmod o+rw -R ./Project
[root@admin GNS3]#chmod o+rw -R ./tmp

[root@admin GNS3]#chmod o+rw -R ./IOS

Download binary of dynamips and make it executable

[root@admin GNS3]#cd Dynamips

[root@admin Dynamips ]#wget http://www.opendrive.com/files/25226584_Cmocn_9400/dynamips-0.2.8-RC3-x86.bin

[root@admin Dynamips ]#chmod +x ./dynamips-0.2.8-RC3-x86.bin


IMP:: For 64-bit users (I don't have Dynamips 0.2.8 RC3 for 64 bit, if you have it please share it with me)
[root@admin Dynamips ]#wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin
[root@admin Dynamips ]#chmod +x ./dynamips-0.2.8-RC2-amd64.bin

You can create a desktop shortcut by right-clicking on the desktop and select “Create Launcher..”, Name it GNS3 and in the command section type in


python "/opt/GNS3/gns3"

Double click to open GNS3 and we will edit the default settings. If you don’t want to use desktop icons you can create a launcher from your programs menu by right clicking on the Main Menu, selecting Edit Menu. Select New Item on the right and you will be presented with the same window where you type in the above. From there you can move the launcher into any menu section of your choice.

Fire up GNS3

* Go to edit | preferences and in the ‘Terminal command:’ section type in:
gnome-terminal -t %d -e 'telnet %h %p' > /dev/null 2>&1 &

* Under ‘Paths’ change the ‘Project directory:’ to
/opt/GNS3/Project
and the ‘IOS/PIX directory:’ to
/opt/GNS3/IOS

* Click on Dynamips tab on the left
For the ‘Executable path:’ type in
/opt/GNS3/Dynamips/dynamips-0.2.8-RC3-x86.bin

* Change the ‘Working directory:’ to
/opt/GNS3/tmp
Click on the Capture tab on the left

* For the ‘Working directory for capture files:’ change it to
/opt/GNS3/Project

Imp:: When you want to stop the router, use right click stop on the router.

After you have done all that, you will be able to Open and Save your GNS3 projects properly and have an efficient setup for GNS3. In order to use the devices in GNS3 you must obtain our own IOS images from Cisco or http://networkingtips-tricks.blogspot.com/2010/03/cisco-ios-collection-for-gns3-and.html

Update for Centos: 
Users of Centos get this error "Need Python 2.6 or higher" after following the above steps. The problem is, there is no way to upgrade Python 2.4 to 2.6. Because upgrading to 2.6 will break the OS.The solution is to install Python 2.6 alongside 2.4. So here are the steps to install Python 2.6 from the source

[user@admin ~]$ su

Password: (Type in your root password here)

[root@admin /]#wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz tar -zxvf Python-2.6.6.tgz cd Python-2.6.6 ./config && make && make install

Add the install path (/usr/local/bin/python : by default) to ~/.bash_profile as follow :

PATH=$PATH:$HOME/bin:/usr/local/bin/python2.6

Now follow the steps given at the top page,
Change python configure.py to python2.6 configure.py under Next we'll install SIP and Next we'll Install PyQt4.



Hope this tutorial will help you guys to setup and run GNS3 on your Linux system.

Just the right place to find a schadenfreude

Happy Learning




Share your views...

68 Respones to "(Tutorial) How To Install GNS3 on Centos/Redhat/Fedora ."

Yipikaia said...

hi naresh,
thanks for the guidance above, but i got a small problem and hopefully you can help me.
i'm using centos as well and followed your instruction exactly without any errors.

i'm able to run gns3 but the problem is I always got "failed to start Dynamips" when i clicked the Test button on GNS3's Dynamips.
fyi, if i run dynamips manually from CLI ($ dynamips -H 7200), it worked.
any idea how to solve this problem? I couldn't find any similar solution from google/hacki, mostly for windows and it's only the path problem but i'm hundred percent sure that the path is correct and also the permission is open/granted for the user.

thanks in advance


September 20, 2010 at 10:39 PM
cyberwiz2010 said...

Please recall if you had made dynamips executable by executing this command chmod +x ./dynamips-0.2.8-RC2-x86.bin, if not do it now. Also try running gns3 as root. If you still face problem please let me know.


September 20, 2010 at 11:25 PM
Sbrodeur63 said...

Hi,

This is the most accurate tutorial that I have seen on this subject.

Just want to know if somebody have seen this error when installing on Centos 5.5

[root@samba PyQt-x11-gpl-4.5.2]# python configure.py
Determining the layout of your Qt installation...
Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q
argument to explicitly specify a working Qt v4 qmake.

Does somebody knows how to fix this?

Thanks
Stephane


September 21, 2010 at 12:58 AM
Yipikaia said...

hi cyberwiz,

yes i did that (chmod +x), here's the list:
[root@zimbra Dynamips]# ls -l
total 928
-rwxr-xr-x 1 tara users 943340 Sep 20 23:29 dynamips-0.2.8-RC2-x86.bin

i also tried running gns3 as root but still got the "failed to start dynamips" status.
if i directly drag the c3600 icon, i got this error: "Can't connect to the hypervisor on port 7200: (-2, 'Name or service not known')". is that error because the dynamips failed to run?
thank u, appreciate your help.


September 21, 2010 at 4:45 AM
cyberwiz2010 said...

Yes this error relates to dynamips, Please check If you are using centos 64 bit, if yes, you'll need http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-amd64.bin. Also try disabling selinux and firewall before running gns3. One more solution is to check that you don't have multiple python installed by running rpm -qa | grep python, if so uninstall the older version. If you still have face problem please let me know.


September 21, 2010 at 10:37 AM
cyberwiz2010 said...

Mate, if you are getting that error, you haven't followed my steps properly, You'll need qt-x11-opensource-src-4.5.1 package. Please check the installation steps under the heading Now we'll download and install Qt4. If you still face any problem let me know.


September 21, 2010 at 10:42 AM
Yipikaia said...

hi again,

i'm using 32 bit and firewall and selinux is already disabled since the beginning of OS installation.
regarding the python.. :
[root@zimbra ~]# rpm -qa | grep python
python-virtinst-0.400.3-9.el5
gnome-python2-bonobo-2.16.0-1.fc6
gnome-python2-extras-2.14.2-7.el5
gnome-python2-gnomekeyring-2.16.0-3.el5
notify-python-0.1.0-3.fc6
python-elementtree-1.2.6-5
gnome-python2-canvas-2.16.0-1.fc6
gnome-python2-libegg-2.14.2-7.el5
python-sqlite-1.1.7-1.2.1
python-ldap-2.2.0-2.1
libvirt-python-0.6.3-33.el5_5.1
python-2.4.3-27.el5
python-devel-2.4.3-27.el5
gnome-python2-desktop-2.16.0-3.el5
gnome-python2-gnomeprint-2.16.0-3.el5
python-iniparse-0.2.3-4.el5
MySQL-python-1.2.1-1
python-imaging-1.1.6-2.el5.rf
audit-libs-python-1.7.17-3.el5
libxslt-python-1.1.17-2.el5_2.2
gnome-python2-gtksourceview-2.16.0-3.el5
gamin-python-0.1.7-8.el5
mod_python-3.2.8-3.1
gnome-python2-2.16.0-1.fc6
gnome-python2-gconf-2.16.0-1.fc6
libxml2-python-2.6.26-2.1.2.8
python-numeric-23.7-2.2.2
gnome-python2-gnomevfs-2.16.0-1.fc6
libselinux-python-1.33.4-5.5.el5
dbus-python-0.70-9.el5_4
rpm-python-4.4.2.3-18.el5
gnome-python2-applet-2.16.0-3.el5
gtk-vnc-python-0.3.8-3.el5
gnome-python2-gtkhtml2-2.14.2-7.el5
python-urlgrabber-3.1.0-5.el5
[root@zimbra ~]#

could that be one of the python conflict?
thanks bro!


September 21, 2010 at 2:54 PM
cyberwiz2010 said...

python installation seems to be OK. Can you send me screen-shot of GNS3 Preference/Dynamips @ cyberwiz2010@yahoo.com


September 21, 2010 at 3:50 PM
Yipikaia said...

sent. thx.


September 21, 2010 at 8:47 PM
LB said...

Thank you very much it works like a magic on first go Awesome


September 26, 2010 at 4:04 PM
vickcis2005 said...

I am running Centos 5.5 on vmware player which is set up with an expandable size but when I run the gmake i get the following error:


{standard input}: Assembler messages:
{standard input}:65413: Fatal error: can't write .obj/debug-shared/qsignalmapper.o: No space left on device
{standard input}:65413: Fatal error: can't close .obj/debug-shared/qsignalmapper.o: No space left on device
gmake[1]: *** [.obj/debug-shared/qsignalmapper.o] Error 1
gmake[1]: Leaving directory `/tmp/qt-x11-opensource-src-4.5.1/src/corelib'
gmake: *** [sub-corelib-make_default-ordered] Error 2

Any suggestions?


October 26, 2010 at 8:59 AM
Anonymous said...

I am installing it on Centos 5.5 running on vmware player; which is set up with an expandable harddrive but when i run the gmake i get the following error:

{standard input}: Assembler messages:
{standard input}:65413: Fatal error: can't write .obj/debug-shared/qsignalmapper.o: No space left on device
{standard input}:65413: Fatal error: can't close .obj/debug-shared/qsignalmapper.o: No space left on device
gmake[1]: *** [.obj/debug-shared/qsignalmapper.o] Error 1
gmake[1]: Leaving directory `/tmp/qt-x11-opensource-src-4.5.1/src/corelib'
gmake: *** [sub-corelib-make_default-ordered] Error 2


Any suggestions?


October 26, 2010 at 9:08 AM
Stefb1973 said...

Thanks a ton for sharing this - very useful and well documented - worked perfectly for me on a brand new Centos5.5


October 28, 2010 at 9:45 PM
Imadwo said...

excellent


November 4, 2010 at 1:27 AM
hammer said...

Good job. It went flawlessly. You save me a lot of work.


November 16, 2010 at 10:50 PM
robteh said...

If i double click the desktop shortcut, gns3 starts but i'm unable to save a project and the message i get is

Dynagen management console for Dynamips (adapted for GNS3)
Copyright (c) 2008 GNS3 Project

=> Warning: cannot create directory: /opt/GNS3/Project /fa_working: Permission denied
Warning: cannot create directory: /opt/GNS3/Project /fa_configs: Permission denied
---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):

File "/opt/GNS3/src/GNS3/ProjectDialog.py", line 111, in accept
globals.GApp.mainWindow.createProject(settings)

File "/opt/GNS3/src/GNS3/Workspace.py", line 817, in createProject
self.__action_Save()

File "/opt/GNS3/src/GNS3/Workspace.py", line 940, in __action_Save
net.export_net_file(self.projectFile)

File "/opt/GNS3/src/GNS3/NETFile.py", line 1075, in export_net_file
unicode(device.name) + ': ' + translate("NETFile", "IOError"), unicode(translate("NETFile", "%s: IO Error: %s")) % (path, unicode(e)))

UnboundLocalError: local variable 'device' referenced before assignment

-----------------------------------------------------------

when i try to run as root i get the error message below

[root@robin robin]# /opt/GNS3/gns3
QGtkStyle cannot be used together with the GTK_Qt engine.

Even though the error comes, gns3 still starts but the problem comes when I try to start the console for R1 I get the following message:

Cannot start gnome-terminal -t R1 -e 'telnet 127.0.0.1 2000' >/dev/null 2>&1 &: No such file or directory

What did I do wrong? Please help.


November 18, 2010 at 10:43 PM
Pra Net061 said...

Dear Anonymous,
It's clearly saying that "NO SPACE LEFT ON THE DEVICE"

Please free some memory and try again.All the best


November 25, 2010 at 10:35 AM
Pranesh said...

Superb Dude...I just did it without knowing anything...Awesome Job..


November 25, 2010 at 10:36 AM
Pranesh said...

robtech,
I don't know about working as root.But as a user,make sure that the
1.project directory
2.tmp directory
3.Dynamips directory

has permissions to access the directories..Change the owner to user instead of root.It may work.


November 26, 2010 at 12:51 PM
Guillermo Candia said...

Thanks men!!!! fabously work!!!!


December 13, 2010 at 2:40 AM
Guillermo Candia said...

thanks men!!!!! fabously work!!!!! it's work!!!!! :)


December 13, 2010 at 2:40 AM
Victor said...

Thanks a lot for this outstanding explanation

Victor


December 16, 2010 at 2:47 AM
bigbee said...

best tutorial ever!!


December 28, 2010 at 4:28 AM
dr@ke said...

heyah,
tutorial is perfect :)) thx a lot.

But :)
I've got one problem, my gns3 dosent: write a to nvram and export router conf.
- when i type new projcect and ticks nvram and export, nothing heppend,
- directory are created name_nvram, name_works, and only way to go on is cancel.
(window with new project dosent want disapire:) )
-then ive got 2 empty derictory and 1 file name.net
- porject is chmod 777
- chown -R user:user

regrads,
dr@ke centos5.5


January 3, 2011 at 11:30 PM
Naresh said...

try running GNS3 as root.


January 4, 2011 at 10:31 PM
David Tsulaia said...

Naresh the uludag links area dead. I tried to search web for qt-x11 sadly no real results i used qt-everywhere-opensource-src-4.7.1 from qt-nokia it isntalled with following errors:
/usr/bin/ld: cannot find -lXrender
collect2: ld returned 1 exit status
gmake[1]: *** [../../../../lib/libQtWebKit.so.4.7.1] Error 1
gmake[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.7.1/src/3rdparty/webkit/WebCore'
gmake: *** [sub-webkit-make_default-ordered] Error 2

and then I got
[root@localhost tmp]# cd PyQt-x11-gpl-4.8.3
[root@localhost PyQt-x11-gpl-4.8.3]# python configure.py
Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q
argument to explicitly specify a working Qt v4 qmake.
[root@localhost PyQt-x11-gpl-4.8.3]# python configure.py
Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q

please can u help me resolve the issue or post an update here my mail is d_tsulaia@gmail.com or yahoo


February 25, 2011 at 5:56 PM
Naresh said...

I have updated my tutorial with new links. Please go through it, If you still face any problem , let me know. :)


February 25, 2011 at 7:19 PM
David Tsulaia said...

Thank You, YOU ARE AWSOOOME =D it worked perfectly only small problem though: I get error dynamips error:206-unable to extract config from VM "R1". I don't think it will be to mych of a prob to solve I'll try to work my way around it,but if u can help on this one too it would be great.
thanks again for updating links, I'll be praising ur name for years to come =))) thanks a lot


February 26, 2011 at 8:04 PM
David Tsulaia said...

Already fixed the problem with Dynamips error: unable to extract config. I just needed to config the baseconfig.txt file in IOS config. You just need to make shure that file exsits at all u can leave it empty or put some config. for example:
!privilege level 15 ( if u'r too lasy to type enable all the time router starts =)) )

thank u again =)


February 26, 2011 at 8:22 PM
David Tsulaia said...

hi again, =))) me with my problems. Although I did try my best to work out this on my own I FAILED. anyways.
GNS3 works perfect, I have ASA (Qemu if i get lucky) and crapload of routers ( like 15 or so ) anyway. after I complete my work I save. and after I restart GNS3 and try to load, it fails. With dynamips erroe message that
Following errors occured: (and the space here indicates nothng, it's empty . no errors.)
every time I start GNS3 I have to go in options and press Test to start dynamips and Qemu, otherwise nothing works. I have no problem doing that but I do have problem with my project not loading.
Once again I place my hopes with u =)) currently I am back on windows. no similar problem there but hell it can barely load 3 routers without lagging. and the CPU flies sky-high.


March 6, 2011 at 11:56 PM
Naresh said...

Try starting GNS3 as a root.


March 9, 2011 at 11:01 AM
Polo said...

Dear,

I'm using CentOS 2.6.18-194.32.1.el5xen and I went through all steps (Seems OK). However, I can't start GNS3 by "/opt/GNS3/gns3". It warmed me the message as below:

******************************************
[root@localhost ~]# python "/opt/GNS3/gns3"
Traceback (most recent call last):
File "/opt/GNS3/gns3", line 41, in ?
raise RuntimeError, "Need Python 2.6 or higher"
RuntimeError: Need Python 2.6 or higher
*******************************************

And here is the installed python package version (From yum install python)
*******************************************
Installed Packages
Name : python
Arch : x86_64
Version : 2.4.3
Release : 27.el5_5.3
Size : 21 M
Repo : installed
****************************************

What should I do? I tried to upgrade the python version by "yum update python", but there is no update.
Please help! Many Thanks!

Polo


March 10, 2011 at 8:33 AM
Naresh said...

Try anyone of the given links

http://stackoverflow.com/questions/1465036/install-python-2-6-in-centos

http://blog.boxedice.com/2010/01/19/updating-python-on-rhelcentos/


March 10, 2011 at 6:55 PM
Naresh said...

Right way to do it.

wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz tar -zxvf Python-2.6.6.tgz cd Python-2.6.6 ./config && make && make install

Add the install path (/usr/local/bin/python : by default) to ~/.bash_profile

It will not break yum or any other things which are dependent on python24.

Next follow my tutorial again , I have provided new links. Don't mix it with qt everywhere package. Apply my steps as it is.


March 13, 2011 at 7:48 PM
Neohal said...

I follow the instructions ... but I got the error:
Can't import Qt modules, PyQt is probably not installed ...

Pls Help ....


March 15, 2011 at 6:12 PM
Goldeneagle432 said...

that is very very good
thanks


April 4, 2011 at 6:51 AM
jeauxbleaux said...

re: the Right way to install python 2.6:



Apologies, but I'm having trouble getting past the PyQt not found.

Centos 5.5 on an AMD64 box

I've compiled python 2.6.6 using ./configure && make && make install

question, does the make need an altinstall option?

>> Add the install path (/usr/local/bin/python : by default) to ~/.bash_profile

/usr/local/bin/python is the python 2.6.6 executable. How does this go in the path?

>> Don't mix it with qt everywhere package

I'm not sure what this means?

Thank you.


April 7, 2011 at 7:01 AM
Breadmakerca said...

Installing GNS3 on a VM CentOS 5.6
Followed the tutorial step by step and everything went fine.
Couldn't fire GNS3 by double clicking the shortcut created.
In CLI python /opt/GNS3/gns3 gives me the error message:
"Traceback (most recent call last):
File "/opt/GNS3/gns3", line 41, in ?
raise RuntimeError, "Need Python 2.6 or higher"
RuntimeError: Need Python 2.6 or higher"
Added python 2.6 as you suggested got the error:
"[root@localhost ~]# python2.6 /opt/GNS3/gns3
Can't import Qt modules, PyQt is probably not installed ...".
Tried to follow your tutorial again but don't know where to start.
any help would be much appreciated.


April 22, 2011 at 7:49 PM
SEAN said...

please help me when trying to install sip on fedora 14 it gives me a timeout error because cvs.fedoraproject.org has been taken down, where else can i look for it ??? thanks in advance


May 1, 2011 at 5:50 PM
Naresh said...

Done. New links added.


May 1, 2011 at 11:14 PM
ShaneM2 said...

Hi. I've installed a fresh Centos 5.5. The PyQt4 4.5.2 is no longer available. I have found a later version at riverbankcomputing (4.8.3) but this required a later version of SIP also. I installed 4.12.1 of SIP. Installed GNS3 but now when I go to start GNS3 it requires Python 2.6 or greater. I've installed Python 2.6 but when I run GNS3 with Python 2.6 I get 'Can't import Qt modules, PyQt is probably not installed ...'

Does anyone have fresh install instructions to get GNS3 loaded on Centos 5.5 (or 5.6)?


May 2, 2011 at 4:42 PM
ShaneM2 said...

Naresh, where are the updated steps? the links in the steps above no longer work. i have found new packages at riverbankcomputing but haven't got the install to work correctly yet. any help would be very much appreciated.


May 2, 2011 at 5:18 PM
Naresh said...

Please check the tutorial again, I've updated it with new links and steps to install python 2.6 is also added at the end of the tutorial.


May 2, 2011 at 11:17 PM
Kanchanab said...

HI DAvid Tsulaia

I have the same error which is

gmake[1]: *** [../../../../lib/libQtWebKit.so.4.5.1] Error 1
gmake[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-4.5.1/src/3rdparty/webkit/WebCore'
gmake: *** [sub-webkit-make_default-ordered] Error 2

---------------
Please let me know the steps to recover it I have through the steps posted by Naresh because I am new to linux. I have installing it to fedora 8.....

waiting for reply ,,,, by the way thanks for you ( Naresh & David ) posting this new things.



kanchanab@gmail.com


May 4, 2011 at 11:10 AM
ShaneM2 said...

Hi Naresh, thanks for the updated comments. I've installed a fresh Centos 5.6 and followed your steps. The ./confg for Python didn't seem to work. I installed Python 2.6 a different way but when doing the make in SIP i get;
siplib.c:9189: error: expected ')' before '*' token
If I use Python 2.4 there is no issue.


May 10, 2011 at 8:06 AM
genadmin said...

@4195923f5f3faffde16b9dfab807d85f



I'm receiving the same error on Fedora 14. Please advise


[root@localhost PyQt-x11-gpl-4.5.2]# python configure.py

Determining the layout of your Qt installation...

Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q

argument to explicitly specify a working Qt v4 qmake.


May 10, 2011 at 7:09 PM
genadmin said...

Naresh


I'm receiving the same error on Fedora 14. Please advise





[root@localhost PyQt-x11-gpl-4.5.2]# python configure.py


Determining the layout of your Qt installation...


Error: Make sure you have a working Qt v4 qmake on your PATH or use the -q


argument to explicitly specify a working Qt v4 qmake.


May 10, 2011 at 7:10 PM
mark said...

Great post.  One note:  CentOS 5.4 installs only support glibc2.5, while dynamips_0.2.8RC3 requires glibc2_7.  You can't easily upgrade glibc, and although hacking some soft links may work (i've been known to do that in a pinch), i'd recommend just using dynamips_0.2.7 instead.

http://www.ipflow.utc.fr/dynamips/dynamips-0.2.7-x86.bin

thx
mark


June 3, 2011 at 10:30 AM
Afraz said...

hey.. everything went fine but after the installation.. when i hit test at the Dynamips tab...it says "Failed to start Dynamips"

done everything as root


June 15, 2011 at 7:19 AM
Dilvampire said...

Please help!
I keep on getting the error mseeage " working directory seems to not exist or be witable, please check
i check it is writable
i ran it as root same thing


July 1, 2011 at 3:03 AM
Noah Beach said...

Great post. Just so you know though, the extra steps are no longer required for CentOS 6 (or RHEL 6), correct version of Python is in the repositories so everything installs fine. Might want to update your "Update for CentOS" to be "Update for CentOS 5.X"

Again thanks for the post!


July 23, 2011 at 9:37 PM
Janus said...

I got this error messages.

[root@BCO001SIS14 GNS3]# ./gns3
Traceback (most recent call last):
  File "./gns3", line 34, in
    if QtCore.QT_VERSION < 0x040501:
AttributeError: 'module' object has no attribute 'QT_VERSION'


July 31, 2011 at 1:04 AM
Dzung T Nguyen said...

Great !
I've installed CENT OS6, it's already had Python 2.6, and I have no problems at all.
Thanks a lot.
P/s: if you have Dynamips 64bits version, please share !


October 31, 2011 at 12:40 PM
Yunnchyuanchan said...

Wao, thanks for tutorial..


November 8, 2011 at 7:37 AM
Yunn chyuan said...

Hi, I facing problem when build qt-4.5.1, its running fine when I running ./configure, but when I running gmake command, its throw me error like :
/../src/corelib/tools/qstring.h:1007: internal compiler error: Segmentation fault

For your information, I using operating system, RHEL 5.4, and CentOS 5.7, I being install library following procedure you provide above, appreciate if you can tell me what being I missed out..


November 9, 2011 at 10:06 AM
sgt said...

i try to install gns3 on centos 5.7, and use your tutorial, but when i install qt4, when i running command gmake ia got error messages: ../../include/QtCore/../../src/corelib/tools/qstring.h:1007: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
gmake[1]: *** [.obj/debug-shared/qlibraryinfo.o] Error 1
gmake[1]: Leaving directory `/etc/downloads/qt-x11-opensource-src-4.5.3/src/corelib'
gmake: *** [sub-corelib-make_default-ordered] Error 2

what mistkae about the messages?i try to find in google.com by references error messages but i not found answer
thx

regards


November 25, 2011 at 3:34 PM
Usuee said...

Everything seemed to work fine.  When I start GNS3, I get the project dialog box.  I type "test" to start a project and I get this...

Traceback (most recent call last):

  File "/opt/GNS3/src/GNS3/ProjectDialog.py", line 116, in accept
    globals.GApp.mainWindow.createProject(settings)

  File "/opt/GNS3/src/GNS3/Workspace.py", line 935, in createProject
    self.__action_Save(auto=True)

  File "/opt/GNS3/src/GNS3/Workspace.py", line 1099, in __action_Save
    net.export_net_file(self.projectFile, auto)

  File "/opt/GNS3/src/GNS3/NETFile.py", line 1118, in export_net_file
    unicode(device.name) + ': ' + translate("NETFile", "IOError"), unicode(translate("NETFile", "%s: IO Error: %s")) % (path, unicode(e)))

UnboundLocalError: local variable 'device' referenced before assignment
Traceback (most recent call last):

  File "/opt/GNS3/src/GNS3/ProjectDialog.py", line 116, in accept
    globals.GApp.mainWindow.createProject(settings)

  File "/opt/GNS3/src/GNS3/Workspace.py", line 935, in createProject
    self.__action_Save(auto=True)

  File "/opt/GNS3/src/GNS3/Workspace.py", line 1099, in __action_Save
    net.export_net_file(self.projectFile, auto)

  File "/opt/GNS3/src/GNS3/NETFile.py", line 1118, in export_net_file
    unicode(device.name) + ': ' + translate("NETFile", "IOError"), unicode(translate("NETFile", "%s: IO Error: %s")) % (path, unicode(e)))

UnboundLocalError: local variable 'device' referenced before assignment

What in the world is this problem?  I don't have a clue how to fix this.

Install under a brand new Fedora 15 load running on a VM under ESXi 5.0.


December 12, 2011 at 6:22 AM
Sean Treschen Pillay said...

Naresh please help i am getting a error on Fedora 15 64bit when doing the "make command" for qt4
 
error ssl/qsslsocket_openssl_symbols_p.h:257:16: error: Variable or field 'q_sk_free' declare void


January 5, 2012 at 4:25 PM
Sikandarrouf said...

hello brother i m new user plz tel me who can i install Gn3 on fedora 16 plz plz plz
 tell me all command plz i m w8ing your reply plz help me 


February 11, 2012 at 1:24 AM
Sikandar Rouf said...

hello brother i m new user plz tel me who can i install Gn3 on fedora 16 32bit  plz plz plz
 tell me all command plz i m w8ing your reply plz help m


February 11, 2012 at 1:26 AM
Sikandar Rouf said...

plz help me in GNS3 for fedora 16 32bit3


February 11, 2012 at 1:32 AM
tharchaw said...

Thanks you very much, i am complete installed my fedora 14.
 


May 21, 2012 at 1:51 PM
Ryanschreiber said...

ABSOLUTLY AMAZING !! Thank you very much. worked flawlessly... kinda.. it gave an error after gmake and another error after make install, but havent had any issues. using fedora core17!! thank you soooo much ! VERY GOOD JOB!!


August 8, 2012 at 7:37 PM
Sandip Nanda said...

Does the python2.6 issue also apply to Redhat 5.8
I tried on Redhat 5.8 which has python2.4 but it doesn't work

I tried installing on Redhat 6.3 with python 2.6 but on 6.3 gmake fails for qt4.

Did anybody had luck following these instructions on Redhat 5.x or Redhat 6.3?


August 10, 2012 at 2:12 AM
Vamsi Krishna said...

hai

upto "install SIP" it is wrking fine
when am trying to intstall below

http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.5.2.tar.gz

its dispalying trying to connect

time out i tried several times please help me in this if it posible send me any link

vaaamsi@gmail.com

please help me
thank you


October 26, 2013 at 12:37 PM
Vamsi Krishna said...

hi

please help me up to sip it is wrking fine

after that http://ftp.pardus.org.tr/pub/source/2009/PyQt-x11-gpl-4.5.2.tar.gz
it is not wrking can u please help me in this


October 26, 2013 at 12:39 PM
Jason Procell said...

In file included from ../JavaScriptCore/wtf/HashFunctions.h:24:0,
from ../JavaScriptCore/wtf/HashTraits.h:25,
from ../JavaScriptCore/wtf/HashTable.h:26,
from ../WebKit/qt/WebKit_pch.h:53:
../JavaScriptCore/wtf/RefPtr.h: In instantiation of ‘WTF::PassRefPtr WTF::RefPtr::release() [with T = JSC::UString::Rep]’:
../JavaScriptCore/runtime/UString.h:294:48: required from here
../JavaScriptCore/wtf/RefPtr.h:57:69: error: ‘adoptRef’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
PassRefPtr release() { PassRefPtr tmp = adoptRef(m_ptr); m_ptr = 0; return tmp; }
^
In file included from ../WebKit/qt/WebKit_pch.h:63:0:
../JavaScriptCore/wtf/PassRefPtr.h:168:48: note: ‘template WTF::PassRefPtr WTF::adoptRef(T*)’ declared here, later in the translation unit
template inline PassRefPtr adoptRef(T* p)
^
gmake[1]: *** [.obj/debug-shared/pcre_compile.o] Error 1
gmake[1]: Leaving directory `/tmp/qt-x11-opensource-src-4.5.1/src/3rdparty/webkit/WebCore'
gmake: *** [sub-webkit-install_subtargets-ordered] Error 2


June 17, 2014 at 6:10 AM
Makayla Oxley said...

please help me when trying to set up sip on fedora 14 it gives me a timeout mistake because cvs.fedoraproject.org has been taken down, where else can i look for it ??? thanks in advance



Incinerador de Grasa


November 22, 2014 at 6:24 AM

Post a Comment

 

Contributors

Our Partners

DISCLAIMER: This site does not store any files on its server. I only index and link to content provided by other sites. All the files are from internet. In case of any query/objection regarding copyright or privacy, please inform me at Contact me and leave your comment here. I will immediately respond to you.