[SOLVED] Validation failed in NS2.34 in ubuntu 10.04 remix
Linux - NewbieThis 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
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.
hi
I have installed Ubuntu 10.04 remix in my new hp mini 110 netbook
and i have succeeded in installing NS2.34 after a so many trials
but now after running ./validate some of the tests have failed. wat does that mean?
is my ns2 installation not successful?
What should be done?
Pls help me
some non-portable tests also failed:
./test-all-srm ./test-all-smac-multihop ./test-all-hier-routing ./test-all-algo-routing ./test-all-mcast ./test-all-vc ./test-all-session ./test-all-mixmode ./test-all-simultaneous ./test-all-webcache ./test-all-mcache ./test-all-plm ./test-all-wireless-tdma ./test-all-satellite to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
And the 'tk-8.4-lastevent.patch' : cd ns-allinone-2.34/tk8.4.18
&& patch -p0 < tk-8.4-lastevent.patch && exit
cd ns-allinone-2.34/ && ./install && cd ns-2.34 && ./validate
""validate overall report: all tests passed"" : No, I get no errors.
( I have installed ns2 on most Ubuntus. This was a new 10.04 install,
so to be sure, everything worked, I did run all the above.)
Suggest : Start from scratch with a new ns-allinone-2.34.
hi thanks for the support
i tried this
i pasted the tk-8.4-lastevent.patch in ns-allinone-2.34/tk8.4.18
and tried
cd ns-allinone-2.34/tk8.4.18&& patch -p0 < tk-8.4-lastevent.patch && exit
but i got this!!
pavai@pavai-laptop:~/Documents$ cd ns-allinone-2.34/tk8.4.18 && patch -p0 < tk-8.4-lastevent.patch && exit
patching file generic/tk.h
Hunk #1 FAILED at 635.
1 out of 1 hunk FAILED -- saving rejects to file generic/tk.h.rej
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,300
Rep:
Post # 2, repeat : Other info : LQ Search → 'Tag Name' = ns2
""1 out of 1 hunk FAILED"" :
Has been answered before, is simply a message telling that a certain
line already was edited. I.e. the patch is for all versions of tk8.4.x(x),
later versions have been fixed for some of the issues.
..
Test output agrees with reference output
All test output agrees with reference output.
Thu Sep 9 13:38:36 IST 2010
These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode
And the 'tk-8.4-lastevent.patch' : cd ns-allinone-2.34/tk8.4.18
&& patch -p0 < tk-8.4-lastevent.patch && exit
cd ns-allinone-2.34/ && ./install && cd ns-2.34 && ./validate
""validate overall report: all tests passed"" : No, I get no errors.
( I have installed ns2 on most Ubuntus. This was a new 10.04 install,
so to be sure, everything worked, I did run all the above.)
Suggest : Start from scratch with a new ns-allinone-2.34.
Other info : LQ Search → 'Tag Name' = ns2
..
Good luck !
..
where can i find tk-8.4-lastevent.patch it says : No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.