dbirch n00b
Joined: 14 May 2008 Posts: 3
|
Posted: Sun May 18, 2008 1:53 pm Post subject: GNS3 symlink fun |
|
|
Hey,
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
Code: |
emerge --verbose PyQt4
emerge --verbose sip
wget http://pfe.epitech.net/frs/download.php/818/GNS3-0.5-src.tar.bz2
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
wget http://www.ipflow.utc.fr/dynamips/dynamips-0.2.8-RC2-x86.bin
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...
Code: |
#gns3
---------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) |
|