LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-15-2011, 05:40 PM   #1
anasnet
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Rep: Reputation: 0
How to solve [version conflict for package "Tcl"]


I have installed Ns-2.34 on Ubuntu 11.10, but when I tried to run

$ ns example1a.tcl

i got

nam:
[code omitted because of length]
: version conflict for package "Tcl": have 8.5.10, need exactly 8.4
while executing
"package require -exact Tcl 8.4"

Can you please help me to solve this problem
 
Old 10-15-2011, 06:25 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
gns 3 0.7.4-1 is available in the Ubuntu repositories.
 
Old 10-16-2011, 03:09 AM   #3
anasnet
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
how can I install

Thank you for your quick reply, but I'm new for unix, how can I install gns 3 0.7.4-1???
 
Old 10-16-2011, 03:22 AM   #4
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
In Ubuntu, run Ubuntu Software Center from the left panel, then type gns into the search box at the top right. Click more info, then Use this source. Click the button with the arrows in a circle to refresh, then click install.
 
Old 10-16-2011, 02:34 PM   #5
anasnet
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
I did, but it doesn't help me Sir!!!
 
Old 10-16-2011, 03:30 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
GNS 3 is a special simulator for Cisco files only.
Ns-2.34 is an "ns2 simulator". http://isi.edu/nsnam/ns/


Tcl issues : No tcl8.x-dev etc. should be installed at ns2 build time.
Please uninstall tcl, tk : sudo apt-get remove tcl8.5 tk8.5

.. And then start from scratch with ns-allinone-2.34 :
cd ns-allinone-2.34/ && ./install


P.S. : Ubuntu 11.10 is probably the worst choice for ns2.
Any other OS will make things easier. (Except 11.04 64bits.)

..

Last edited by knudfl; 10-16-2011 at 05:39 PM.
 
Old 10-17-2011, 01:11 AM   #7
anasnet
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thank you a lot for your response, I would like to ask you what version of ubuntu do you think is better for installing Ns-2??
 
Old 10-17-2011, 04:04 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
*

The long term supported version Ubuntu 10.04 should be preferred : 32bits.

Any 64bits OS provides a reduced result.


.

Last edited by knudfl; 10-17-2011 at 04:06 AM.
 
Old 10-18-2011, 01:22 AM   #9
anasnet
LQ Newbie
 
Registered: Jun 2006
Posts: 6

Original Poster
Rep: Reputation: 0
thax a lot for your response it's been so helpful , the problem has been solved
 
Old 11-04-2011, 11:30 AM   #10
kunalshdr
LQ Newbie
 
Registered: Nov 2011
Posts: 2

Rep: Reputation: Disabled
Hi anasnet,

I am facing the same problems. Can you tell how did you overcome the problem?

Regards,
Kunal
 
Old 11-10-2011, 02:49 AM   #11
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 10, @ kunalshdr.

Nam issues ? Use a binary 'nam'.
32bits https://docs.google.com/uc?id=0B7S25...nload&hl=en_US
64bits https://docs.google.com/uc?id=0B7S25...nload&hl=en_US

Unpack nam-1.14-<arch>.tar.gz, and : sudo cp nam /usr/local/bin/

..
 
Old 12-29-2011, 08:47 AM   #12
dyhdragonone
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Wink hello i face the problem of faced in ns2 ,can you share with me how to solve it ?

Quote:
Originally Posted by anasnet View Post
thax a lot for your response it's been so helpful , the problem has been solved
[code omitted because of length]
: version conflict for package "Tcl": have 8.5.10, need exactly 8.4
while executing
"package require -exact Tcl 8.4"
that`s my problem same with you ?
can you share with me how to solve it ?

Last edited by dyhdragonone; 12-29-2011 at 08:48 AM. Reason: wrong
 
  


Reply



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
How to solve "Couldn't find package compiz-fusion" amritpalpathak Linux - Software 1 02-28-2010 03:52 AM
tip on installing Virtualbox, "all distros" version: sh - the script, not the package newbiesforever Linux - Software 0 10-29-2008 03:46 PM
How do I solve: "TCL is not part of the NS project"? vld_apo Linux - Newbie 5 04-11-2007 04:04 AM
"...conflict with package..." mlamuli Linux - Newbie 4 01-16-2007 07:07 AM
how to solve missing "XFree86-DRI" on display ":0.0" digitX Linux - Software 13 03-05-2005 03:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:56 AM.

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