#45
Quote:
Posting issues : Please do not use colored text. Is less readable. And : Please edit posts #41 and #43 ( #45 ) to use CODE Tags : Edit > Go Advanced, and use the # button. Or write [/code] at text end, and [code] at code text start. http://www.linuxquestions.org/questi....php?do=bbcode .. |
Yes it work , kndufl you are the best ... Thank you
|
2 Attachment(s)
knudfl im very sory i ask a lot of qustions...
this time new case im tried to install ieee802.11e patch , (i uploaded just rename and delet .txt) and i followed the installation steps in readme file but: in step 7,8 and 9 when im try to open the files (wireless-phy.h , wireless-phy.cc and packet.h) i get: Couldn't disply example for wireless-phy.h file Code:
Couldn't display "/home/shifa/simu/ns-allinone-2.28/ns-2.28/mac/wireless-phy.h". |
# 48
Quote:
Headers like wireless-phy.h are usually used for compiling only. |
installation &validation failed in ns2.31 on ubuntu 10.04 lucid
@ knudfl sir,
Actually me and my friends trying to install ns2.31 on ubuntu 10.04 since 1 month but not good results came yet.this is the error came when i install and validate.... error occur while ./install checking for XShmAttach in -lXext... yes checking for ranlib... ranlib checking for a BSD-compatible install... /usr/bin/install -c checking system version (for dynamic loading)... Linux-2.6.32-33-generic No explicit static compilation flag; setting V_STATIC to "" checking for dlopen in -ldl... yes checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile rm -f libotcl.so otcl.o so_locations gcc-4.3 -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/home/guna/ns-allinone-2.31/include -I/home/guna/ns-allinone-2.31/include -I/home/guna/ns-allinone-2.31/include -I/include otcl.c make: gcc-4.3: Command not found make: *** [libotcl.so] Error 127 otcl-1.13 make failed! Exiting ... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems guna@ubuntu:~/ns-allinone-2.31$ error occur while ./validate Running test full-asymmetric: ../../ns test-suite-delaybox.tcl full-asymmetric QUIET ./test-all-template1: 149: ../../ns: Too many levels of symbolic links Test not implemented All test output agrees with reference output. Fri Dec 30 12:22:30 IST 2011 These messages are NOT errors and can be ignored: warning: using backward compatibility mode This test is not implemented in backward compatibility mode validate overall report: some tests failed: ./test-all-simultaneous to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. guna@ubuntu:~/ns-allinone-2.31/ns-2.31$ source ~/.bashrc guna@ubuntu:~/ns-allinone-2.31/ns-2.31$ ns ns: command not found guna@ubuntu:~/ns-allinone-2.31/ns-2.31$ sir, i used so many different installation steps all is failed, currently i used this steps...... How to install NS2 with Ubuntu 10.04 By Noor Zaman This manual will work for NS2 allinone-2.34 with Ubuntu 10.4. As Ubuntus new version 10.04 needs following packages before any further installation, otherwise it will not work with it. Please follow the following steps: 1. Install necessary tools for building: sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3 2. It turns out that otcl does not like the version of gcc installed by default in Lucid. So go ahead and change ns-allinone-2.34/otcl-1.13/Makefile.in. Find the line that says: CC= @CC@ and change it to: CC= gcc-4.3 3. Now follow the following steps for installation of nsallinone 2.34 and it will work with your machine. (copy ns-allinone-2.34.tar.gz) Suppose that there is "ns-allinone-2.33.tar.gz" in current directory (e.g. "~/" for me is "/home/noor"). All steps are done in Terminal, so open a terminal in Accessories/Terminal.To extract the file: tar xvfz ./ns-allinone-2.33.tar.gz 4. Change your directory within terminal as following way $ cd /home/noor$ cd /home/noor/ns-allinone-2.34 5. Download & install some packages from repository if needed (Now its optional) $ sudo apt-get install build-essential autoconf automake libxmu-dev 6. Install the ns2 $ cd ns-allinone-2.34 $ ./install 7. Edit some paths $ gedit ~/.bashrc 8. Put these lines on that file in the last. Off course, you might change /home/noor for it depends on where you extract ns-allinone-2.34.tar. # LD_LIBRARY_PATHOTCL_LIB=/home/noor/ns-allinone-2.34/otcl-1.13NS2_LIB=/home/noor/ns-allinone-2.34/libX11_LIB=/usr/X11R6/libUSR_LOCAL_LIB=/usr/local/libexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB# TCL_LIBRARYTCL_LIB=/home/noor/ns-allinone-2.34/tcl8.4.18/libraryUSR_LIB=/usr/libexport TCL_LIBRARY=$TCL_LIB:$USR_LIB# PATHXGRAPH=/home/noor/ns-allinone-2.34/bin:/home/noor/ns-allinone-2.34/tcl8.4.18/unix:/home/noor/ns-allinone-2.34/tk8.4.18/unix:/home/noor/ns-allinone-2.34/xgraph-12.1/NS=/home/noor/ns-allinone-2.34/ns-2.34/NAM=/home/noor/ns-allinone-2.34/nam-1.13/export PATH=$PATH:$XGRAPH:$NS:$NAM 9. Validate it (take very long time compare to install process) $ cd ns-2.33$ ./validate 10. Let it take effect immediately $ source ~/.bashrc 11. Try to run it as following way, by just typing ns with terminal $ ns 12. If the installation is successful, then you will be able to see % at the command prompt. Type following command to exit % exit 13. Good luck and please keep remember me in your prays(Thanks in advance). Noor Zaman, King Faisal University, Saudi Arabia. sir pls help me...thanks in advance..... |
Problem with NS2.28 installation on CentOS 6
Hi all,
I am trying to install ns2 2.28 in CentOS 6. The procedure in posts #10 does not work for me. Trying to run the the script posted ("script_228.txt") but got error at the first stage: When executing the patch below: patch -p0 < ns228-gcc40.patch.txt Linux asks "File to patch:? " Please help, Thank you in advance, |
Quote:
|
Hi kh.bagi,
Thanks for your prompt response. I did as you suggested, the PATCH worked properly. But, for the rest of procedure, i got another error. at the point of: " cd tk8.4.18/ " the Error: bash: cd: tk8.4.18/: No such file or directory Please help! |
Installing NS2.28 on Linux CentOS 6 ?
Hi knudfl,
I am going to install NS2.28 on CentOS 6. Shall I follow all steps described in Post #10. However, when it reaches to : cd ../tk8.4.18/ i get this message: bash : cd: tk8.4.18/: No Such file or directory I have already installed ns2.35 and it works properly now. Am I required to have installed ns2.34 as well on my machine? Please help me. I am totally confused here! I don not know from which point should I start? Thank you in advance |
# 54 : Actually CentOS, Fedora can use the simplest install.
(The method in #10 was originally made up for Ubuntu.) tar xvf ns-allinone-2.28.tar.gz && patch -p0 < ns228-gcc40.patch && cd ns-allinone-2.28/tk8.4.5 && wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch && patch -p0 < tk-8.4-lastevent.patch && cd ../ && export CC=gcc34 CXX=g++34 && ./install Validate : A pefect result, only 2 tests failed : validate overall report: some tests failed: ./test-all-newreno ./test-all-red . |
Hi knudfl (#55),
Many thanks for your sincere help and continuous support on NS2.28 installation on Linux! It worked!! |
please help me on this problem......
i have installed ns-allinone-2.1b8a on red hat Linux 7.3. but after installing the NS version, i typed the ./validate and at the end of the validation, validate overall report: some tests failed; - - - Notice that some tests in webcache will fail on freebsd when -O is turned on. This is due to some event reordering, which will disappear when -g is turned on. i really don't no what is the problem. if this is the version problem please tell me what Linux version i should use to install the ns-allinone-2.1b8a. |
Post # 57, @harshanlinux : Welcome to LQ.
Quote:
|
problem with ns-allinone-2.28 on ubuntu 10.04
Quote:
Hello Mr.Knuduf Thank you for your help, I followed your steps for installation ns-2.28 on ubuntu 10.04 but i got the following error: make: g++-34: Command not found make: *** [tools/random.o] Error 127 Ns make failed! and i used the following link to solve the above error http://www.linuxquestions.org/questi...-found-936150/ post #1 but the error still not solved do you have any idea please Thank you |
# 59 : Ubuntu 10.04 and ns-2.28 : There are new instructions ...
Use both patches, ns228-gcc40.patch + ns-2.28-gcc410.patch, and the extra ns-2.34 files can be omitted : Post # 15 here .. http://www.linuxquestions.org/questi...4-a-842773/#15 ... The latest known results of 'validate' are very good. gcc / g++ : sudo apt-get install g++-4.1 Use this export line : export CC=gcc-4.1 CXX=g++-4.1 ( gcc34 , g++34 is for Fedora, CentOS.) . |
All times are GMT -5. The time now is 03:35 PM. |