Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sir can u pls tell me the procedure to install ns-2.28 in ubuntu 10.04.actually i have already ns2.34 installation.but u wrote abt ns2.28 for video transmission.so pls tell me how i will install ns 2.28 in ubuntu 10.04
thanks a lot sir.i got 3 patches from your discussion page.
1.ns228-gcc40.patch
2.ns-2.28-gcc410.patch
3.and mympeg patch.
now my problem is where i will put these patches.so for that i will write commands that is given by you.
sir pls help me coz i am working alone.
and no one is there to help me.sir pls help me.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
Rep:
# 5
Very simple :
A patch is either gone to be placed in the folder where you do the command.
( If you have any doubt about your current location, the pwd command can used:
Type pwd in the terminal, and you will get a reply like "/home/biswa/" ).
Or you can type the path to the patch. Example :
a) pwd
b) tar xvf ns-allinone-2.28.tar.gz
c) patch -p0 < ../Downloads/ns228-gcc40.patch
... if the patch is in Downloads/ . And if Downloads/ is one level up.
Or c1) patch -p0 < /home/biswa/Downloads/ns228-gcc40.patch
and i put mympeg-patch-to-ns2.28.patch inside ns-2.28 folder then i have changed my directory to ns-2.28 as given then i typed in command window mympeg-patch-to-ns2.28.patch
then type cd. then typed export CC=gcc-4.1 CXX=g++-4.1.then i typed ./install.
it showed me :no such file or directory.
again i typed ./install by comming to ns-2.28 directory. the same sentence showed to me i.e no such file or directory.
what will i do now?pls guide me.
i have done all these things by following these lines:
cd ns-allinone-2.28/ns-2.28/ && patch -p1 < mympeg-patch-to-ns2.28.patch
cd ../ && export CC=gcc-4.1 CXX=g++-4.1 && ./install
sir after following u installation is successful.is not it necessary to validate that.because after completion of installation it is said that validate it in ns2.28 directory.and after typing ./validate this type of error came
ns:
[code omitted because of length]
: invalid command name "Agent/myUDP"
while executing
"Agent/myUDP set packetSize_ 1000"
Running test timersA3:
../../ns test-suite-tcp.tcl timersA3 QUIET
ns:
[code omitted because of length]
: invalid command name "Agent/myUDP"
while executing
"Agent/myUDP set packetSize_ 1000"
but i have done all other things like
cd ns-2.28/ && cp ns ns-mympeg
sudo cp ns-mympeg /usr/local/bin/
then what will i do? will i validate it or anything else.
Add myevalvid : cp -a myevalvid/ ns-allinone-2.28/ns-2.28/
Use the new Makefile.in : Attached as myevalvid-Makefile.in.txt :
Rename to Makefile.in, and : cp -a Makefile.in ns-allinone-2.28/ns-2.28/
cd ns-allinone-2.28/ns-2.28/ && make clean && ./configure && make
.
sir i have downloaded the evalvid-makefile.in.txt and myevalvid2.rar from your link given.
now what will i do exactly i could not get you.
pls tell me. will i extract myevalvid.rar and will rename the evalvid-makefile.in.text to only makefile.in
Last edited by biswa_feb15; 01-25-2013 at 10:55 AM.
Reason: some sentences left.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
Rep:
Ref. post #13 :
I managed to build the "mympeg" files : With g++ version 3.4.6 .
The patches mympeg and myevalvid conflict, two separate ns-2.28 were used.
You can install the packages with : sudo dpkg -i \
mympeg-ns-2.28-ubuntu10_i386.deb myevalvid-ns-2.28-ubuntu10_i386.deb
Providing /usr/local/bin/ ns-mympeg ns-myevalvid
Meaning : You do not have to build anything ..
So now it's up to you to find out how to use the ns-*** with the available files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.