Code:
Nam has been installed successfully. ps: after patching tk-8.4 and otcl-113, i made a change on Makefile.in at otcl-1.8 --> CC = gcc-3.3 then after that ./install |
Thanks
Thank you so much
using "export CC=gcc-3.3 CXX=g++-3.3" my ns2.27 installed successfully! but I have another problem now. before installing ns2.27 I had install ns2.34, and now i edit bashrc file as bellow: Code:
# LD_LIBRARY_PATH Code:
** glibc detected *** ns: realloc(): invalid next size: 0x00000000024d28f0 *** what i must do know?? |
Post # 47 @fahimeh_ak
Quote:
Will this work : 'cd ns/ns-allinone-2.27/ns-2.27/ && ./ns' ? The most easy way to have 'ns' in the PATH is : cd ns/ns-allinone-2.27/ns-2.27/ && sudo make install → → 'ns' will be copied to /usr/local/bin/ : And thus be in a system path. LD_LIBRARY_PATH settings : ns is statically compiled, and depends only on files in /usr/lib/ , which already are in the system LD_LIBRARY_PATH. (The suggestion to edit bashrc is an old text, required for older ns2 (=<2.26)). ... |
Post # 47 @fahimeh_ak
And by the way : Colored text is not appreciated : Please use the edit button and change red to black. The yellow can be deleted. Also : code tags must be used : I.e. [/code] at code end, and [code] at code text start. Please edit. .. |
Hello knudfl,
You've helped a lot of people here. I'm trying to install ns-2.27 on Ubuntu 10.04.1. The install goes fine until I get to Tclcl-1.15 and I get this: Code:
============================================================ |
Quote:
Code:
No .configure file found in current directory |
@ eheim602, post # 50 : Welcome to LQ.
Never seen an error like that. Assuming, you are following the method in post #3 : Tclcl/configure will look for otcl.h in "../otcl/" , which is a link to otcl-1.13/. ( In ns-allinone-2.34 ). Just make sure the link is present, or create it : ln -s otcl-1.13/ otcl |
Post # 51, @ eheim602 : You shouldn't need to fix errors in that way.
Please go back and check everything against post #3. It seems, you made some errors, when you linked to the ns-allinone-2.34 tcl, tk, otcl, tclcl. |
It seems like what you're doing is installing the various tcl components from ns-2.34. I have successfully installed ns-2.34, and thus the entire stack of programs that go with it. Is there a way to install ns-2.27 without having to install all of those components again? If you were wondering why I'd want both is because I'm trying to use pathChirp(http://www.spin.rice.edu/Software/pathChirp/), and it only seems to work with ns-2.27. Thanks again.
|
# 54 : Quite easy : You must have both ns-allinone-2.27 and ns-allinone-2.34 :
They are linked together so far concerns tcl tk otcl tclcl. I don't understand what you mean by ""install all of those components again"". It's a few files in ns-allinone-2.27/bin/, lib/, include/. Total 8.9 MB. Which is small compared to e.g. ns-2.34/tcl/test/: 39.4 MB. And it's no problem to have 2 to 5 different versions of ns-allinone installed at the same time. Just don't add any of them to the PATH, LD_LIBRARY_PATH. Usually not required since ns-2.26. |
I got it to work. Thanks. I made sure I exported CC=gcc-3.3 and CXX=g++-3.3, and I unzipped a new copy of ns-2.34 and linked to that. Worked like a charm. Thanks knudfl.
|
Hello everybody
I need some one to help to install ns2.27 and LEACH on ubuntu9.10 |
@ melokuhle, post # 57 : Welcome to LQ.
'ns-allinone-2.27' : post # 3. LEACH, ns-2.27 http://www.linuxquestions.org/questi...each-862835/#4 LEACH for ns-2.34 http://www.linuxquestions.org/questi...34-a-870368/#5 .. |
hell every body
I trying to add LEACH on ns2.34 and it giving me the following errors may you please help me to solve this errors. I don't find the cra.h file please help me Code:
|
Hello
I have been trying to install pmipv6 patch on ubuntu ns 2.29 on ubuntu 8.10 this is the site that i used to download the patch and followed the steps. http://commani.net/pmip6ns/download.html on installling these are the errors i have received....Plsssss help In file included from trace/trace.cc:39: ./common/packet.h: In constructor ‘p_info:_info()’: ./common/packet.h:215: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:216: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:217: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:218: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:219: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:220: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:221: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:222: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:223: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:224: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:225: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:226: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:227: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:228: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:229: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:230: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:231: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:232: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:233: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:234: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:236: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:237: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:238: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:239: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:240: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:241: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:243: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:244: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:245: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:246: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:247: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:248: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:249: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:250: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:251: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:252: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:253: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:254: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:255: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:256: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:258: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:259: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:261: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:262: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:263: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:266: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:269: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:272: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:275: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:278: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:281: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:285: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:288: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:289: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:290: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:291: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:292: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:293: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:295: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:296: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:297: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:301: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:302: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:304: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:305: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:308: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:311: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:313: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:316: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:318: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:319: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:320: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:323: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:324: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:325: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:326: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:327: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:328: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:329: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:330: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:332: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:333: warning: deprecated conversion from string constant to ‘char*’ ./common/packet.h:335: warning: deprecated conversion from string constant to ‘char*’ In file included from trace/trace.cc:42: ./sctp/sctp.h: At global scope: ./sctp/sctp.h:65: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:78: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:85: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:95: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:104: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:135: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:150: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:162: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:191: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:203: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:209: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:221: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:229: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:241: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:262: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:268: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:273: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:280: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:282: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:291: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:306: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:425: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:431: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:443: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:451: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:458: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:460: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:510: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:516: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:527: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:534: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:553: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:558: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:564: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:571: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:577: warning: ‘typedef’ was ignored in this declaration ./sctp/sctp.h:705: error: extra qualification ‘SctpAgent::’ on member ‘DumpSendBuffer’ trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’ trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’ trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’ trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’ trace/trace.cc:185: warning: deprecated conversion from string constant to ‘char*’ make: *** [trace/trace.o] Error 1 Ns make failed! Pllllsss help |
All times are GMT -5. The time now is 08:20 AM. |