Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GNS3 symlink fun
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message

Joined: 14 May 2008
Posts: 3

PostPosted: Sun May 18, 2008 1:53 pm    Post subject: GNS3 symlink fun Reply with quote


This is my first time using gentoo or linux seriously, that said I have just done my best to install GNS3 which is not available through portage. Initially I contemplated opting for using an overlay but decided against it and chose to download the tar files and run it from pre-compiled binaries. It works!

Here's what I've done so far
emerge --verbose PyQt4
emerge --verbose sip

tar -zxvpf GNS3-0.5-src.tar.gz -C /usr/bin
rm GNS3-0.5-src.tar.gz
cd /usr/bin/GNS3-0.5-src
chmod +x dynamips-0.2.8-RC2-x86.bin
cd /usr/bin
ln GNS3-0.5-src/gns3 /usr/bin/gns3
ln GNS3-0.5-src/dynamips-0.2.8-RC2-x86.bin dynamips

I can run dynamips from the command line which is neat (I haven't tested the functionality. it may not actually "work" but it hasn't complained yet)

Here's my question...



---------Traceback lines (saved in exception.log)----------
Traceback (most recent call last):

  File "/usr/bin/gns3", line 56, in ?
    import GNS3.Main

ImportError: No module named GNS3.Main


Its not the end of the world, I'm using KDE and the link is in the K Menu and although I've not yet added any IOS images, I have setup the link to dynamips that it asks for during its first run configuration and after clicking the "test" button i got a nice green message telling me everything appears okay.

I just wondered if anyone might know how to fix my links (btw I did try both sym and hard links)

I'd like to be able to type 'gns3' at the console and launch the program immediately whichever directory I'm currently in.

Is there any way to do it without changing the source code of GNS? ...Or should I dive in and take a look under the hood? (its python script)
Back to top
View user's profile Send private message

Joined: 28 Jan 2007
Posts: 21

PostPosted: Mon May 19, 2008 3:09 am    Post subject: Reply with quote

It works on my system. I used the portage overlay and installed version 0.3 since 0.4 was giving me a checksum error.

I ran:
# find / -name GNS3


#ls -l /usr/lib/python2.4/site-packages/GNS3

I would check permissions as everything in /usr is owned by root on my system except /usr/portage/


$sudo gns3
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum