Friday 1 April 2016

Problems found and Solutions
1. how to rectify this error in make install command?
for d in /usr/local/man/man1; do \
if [ ! -d $d ]; then \
mkdir -p $d ;\
fi;\
done
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install: cannot remove `/usr/local/bin/ns': Permission denied
make: *** [install-ns] Error 1

2. i am getting following error on giving ./configure in ns2.35
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
arshad@arshad-VPCEG2AEN:~/ns-allinone-2.35/ns-2.35$ make clean
Makefile.in is newer than Makefile.
You need to re-run configure.
false
Makefile:439: recipe for target 'Makefile' failed
make: *** [Makefile] Error 1
plz help
Solutions 
Try doing this:

make clean

and then give:

make

Hope it helps.

Regards,
3. 

i tried installing patch file then got the error:
Hunk #1 failed at 82
Hunk #2 failed at 144
...
2 out of 5 hunks failed .

Sir how to remove this error.
4. 
am trying to follow the steps mentioned but on running the "patch -p1 -t ..." command i get an error saying program "patch" not installed .
what does it mean ?
should i install the patch ? will it hinder ns2 installation ? 

 Solution : Yes, you can directly change the .cc and .h files of AODV. After your changes are done, re-compile ns-2. If you don't re-compile - changes that you made will not be visible in the results.

Hope it helps.

Regards,
Mohit P. Tahiliani

No comments:

Post a Comment