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) |
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 .. |
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 |
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.) . |
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, |
All times are GMT -5. The time now is 08:55 AM. |