Hello,
As you mentioned in the previous post, I tried installing ns2.27 on ubuntu10.04 version. I followed the same instructions (
http://www.linuxquestions.org/questi...10-a-782356/#3). In that link, I presume that I have installed g++-3.3 and the other steps correctly.
Am trying to apply the below patches. Following are the response at the terminal:
>Apply the tk-8.4-lastevent.patch in tk8.4.14.
>Apply the otcl-113-configure.in.patch in otcl-1.13. (it says HUNK failed at this point)
chithra@ubuntu:~/ns-allinone-2.27/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patch.txt
The program 'patch' is currently not installed. You can install it by typing:
sudo apt-get install patch
chithra@ubuntu:~/ns-allinone-2.27/tk8.4.18$ sudo apt-get install patch
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-2.6.32-33-generic linux-headers-2.6.32-33
Use 'apt-get autoremove' to remove them.
Suggested packages:
diffutils-doc
The following NEW packages will be installed:
patch
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 123kB of archives.
After this operation, 254kB of additional disk space will be used.
Get:1
http://us.archive.ubuntu.com/ubuntu/ lucid/main patch 2.6-2ubuntu1 [123kB]
Fetched 123kB in 1s (70.7kB/s)
Selecting previously deselected package patch.
(Reading database ... 149021 files and directories currently installed.)
Unpacking patch (from .../patch_2.6-2ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up patch (2.6-2ubuntu1) ...
chithra@ubuntu:~/ns-allinone-2.27/tk8.4.18$ cd ..
chithra@ubuntu:~/ns-allinone-2.27$ patch -p1 < otcl-113-configure.in.patch.txt
bash: otcl-113-configure.in.patch.txt: No such file or directory
chithra@ubuntu:~/ns-allinone-2.27$ cd ..
chithra@ubuntu:~$ patch -p1 < otcl-113-configure.in.patch.txt
patching file configure.in
Hunk #1 FAILED at 74.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
I couldn't make it out from the response i get. Can you please tell me how to resolve this issue?
Thanks for your constant support and patience.
Thanks!