installing ns2.27
my friend iam installing ns-2.34 which is needed to install ns-2.27 by follow the steps in post #3 for knudif until i reach patching step i faced this probelm
foad@foad-laptop:~$ cd ns-allinone-2.27 foad@foad-laptop:~/ns-allinone-2.27$ cd tk8.4.18 foad@foad-laptop:~/ns-allinone-2.27/tk8.4.18$ patch -p0 < tk-8.4-lastevent.patchbash: tk-8.4-lastevent.patch: No such file or directory foad@foad-laptop:~/ns-allinone-2.27/tk8.4.18$ it seems that tk8.4.18 does not found and iam sure its exist. iam waiting response please |
It can't find the patch file. Is the patch file in the tk8.4.18 directory? The command that is failing is written as if the patch file is in the tk8.4.18 directory.
|
Easier this way :
cd ns-allinone-2.27/tk8.4.18/ && wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch && patch -p0 < tk-8.4-lastevent.patch .. Then you are sure that "tk-8.4-lastevent.patch" is in the current directory. . |
iam still suffring from this problem "patching".
iam fellow the last step but is still found the same error please knudfi iam waiting... also in patching with otcl-1.13 this error bash: otcl-113-configure.in.patch: No such file or directory now suggest any method to patch. |
here are the output when i perform the last post.
oad@foad-laptop:~$ cd ns-allinone-2.27/tk8.4.18/ && > wget ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch --2012-03-24 12:00:05-- ftp://ftp.swin.edu.au/gentoo-portage...astevent.patch => `gentoo-portage...astevent.patch' Resolving ftp.swin.edu.au... 136.186.1.76, 2001:388:6080:64::dc41:1cf Connecting to ftp.swin.edu.au|136.186.1.76|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD not needed. ==> SIZE gentoo-portage...astevent.patch ... done. ==> PASV ... done. ==> RETR gentoo-portage...astevent.patch ... No such file `gentoo-portage...astevent.patch'. foad@foad-laptop:~/ns-allinone-2.27/tk8.4.18$ && patch -p0 < tk-8.4-lastevent.patch bash: syntax error near unexpected token `&&' foad@foad-laptop:~/ns-allinone-2.27/tk8.4.18$ |
The && types are used, when you have more than one command in one line.
The "single command" is : patch -p0 < tk-8.4-lastevent.patch ( The command can be cd ns-allinone-2.27/tk8.4.18 && patch -p0 < tk-8.4-lastevent.patch ... if the patch is present in tk8.4.18/ ). About the link : Stopped working. New link : wget http://sources.gentoo.org/cgi-bin/vi...astevent.patch . |
All times are GMT -5. The time now is 04:42 AM. |