LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-19-2010, 09:39 AM   #1
Siddhant2010
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
ns-2.29 installation problem on Ubuntu 9.04


Hi

I have installed ns-allinone-2.29 onto Ubuntu 9.04
Tcl 8.4.11 works perfectly but I am facing a problem with nam 1.11

I used the following commands

ns-allinone-2.29:~$patch -p1 <mannasim-patch.diff
ns-allinone-2.29/ns-2.29/mannasim:~$sudo gedit dataGenerator.h
ns-allinone-2.29/ns-2.29/mannasim:~$sudo gedit sensorNode.h
ns-allinone-2.29/ns-2.29/mannasim:~$sudo gedit sensedData.h
ns-allinone-2.29/ns-2.29/mannasim/diffusion:~$sudo gedit commonNodeDiffApp.h
ns-allinone-2.29/ns-2.29/mannasim/leach/rca:~$sudo gedit rca-ll.cc
ns-allinone-2.29/ns-2.29/mannasim/leach/app:~$sudo gedit leachApp.h

ns-allinone-2.29/tk8.4.11:~$patch -p0 <tk-8.4-lastevent.patch
ns-allinone-2.29/nam-1.11:~$nam


I got the following error:


: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120)*4}] units
}"

invoked from within
"if {[string equal [tk windowingsystem] "classic"]
|| [string equal [tk windowingsystem] "aqua"]}
{ bind Listbox <MouseWheel> {
%W yview scroll [expr {..."

I tried

$sudo make install

and again entered $nam

I got the same MouseWheel error

could you please help...If any other details are necessary to clear the picture i can provide them (i dont know how much to mention right now)
 
Old 10-19-2010, 11:04 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Assume ns-allinone-2.29.3

Solution :
cd ns-allinone-2.29/tk8.4.11/
patch -p0 < tk-8.4-lastevent.patch

http://www.linuxquestions.org/questi...ting-818634/#4
..
 
1 members found this post helpful.
Old 03-31-2012, 08:33 AM   #3
yotta15
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Rep: Reputation: Disabled
Error when installing NS-2.29 on ubuntu 9.10

Hello,

I have to install NS-2.29 with 'MIH' package on ubuntu 9.10.
When installing the NS2.29 I get this error: "Tcl.cc:566: error: invalid conversion from ‘const char*’ to ‘char*’"
I opened the Tcl.cc File -> line 556 = char *p = strchr(localName, '(');

Shoul I do some change on this line? How? ?
Can you Help me plz ??
It is the first time that I install this software .
Thanks,

Best Regards,
Yotta
 
Old 03-31-2012, 01:48 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
Post #3, @ yotta15 : Welcome to LQ.

There shouldn't be any problems with ns-2.29.3 in Ubuntu 9.10 .

But : You will have to use the right compiler.
cd ns-allinone-2.29/ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
Or : cd ns-allinone-2.29/ && export CC=gcc-3.4 CXX=g++-3.4 && ./install

( I don't remember which of "4.1" or "3.4" will produce the best result.)

.
 
Old 04-08-2012, 07:15 PM   #5
yotta15
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Rep: Reputation: Disabled
Unhappy Error when installing NS-2.29 on ubuntu 9.10

Hello knudfl

thanks for your help . The installation of NS-2.29 was successful.
But I should integrate the NIST mobility module .
I followed this link http://www.linuxquestions.org/questi...4/#post4307619
(post 10 wrote by abutre).
When i start ./install I got this error :
"./sctp/sctp.h:705: error: extra qualification ‘SctpAgent::’ on member ‘DumpSendBuffer’
make: *** [trace/trace.o] Erreur 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
"

can you help me plzz
I'm beginner and lost with this error

thanks,
best regards,
 
  


Reply

Tags
mannasim, ns2, ns229


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
[SOLVED] Ubuntu 10.04 installation problem edzams Linux - Newbie 1 07-31-2010 10:48 AM
g++ 3.4.4 installation problem in Ubuntu 9.04!!! Suranjit Linux - Software 9 10-09-2009 04:08 AM
Ubuntu installation problem jestinjoy Linux - Newbie 4 11-30-2008 12:21 PM
Problem during Ubuntu 6.10 installation impel123 Linux - Software 2 04-27-2007 12:26 AM
Ubuntu Installation Problem Norvegia Ubuntu 4 09-26-2005 02:25 PM


All times are GMT -5. The time now is 06:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration