Welcome to LQ.
Quote:
Can't locate getopts.pl in @INC
|
Please install libperl4-corelibs-perl :
$ sudo apt-get install libperl4-corelibs-perl
... Provides /usr/share/perl5/getopts.pl .
Besides that : There is really no reason to run 'make test' (validate).
If some group tests are failing :
Nothing you can do. ( Except for using a more ns2 friendly OS.)
Note : "sudo ./validate" is a forbidden command.
No 'sudo' or root for any ns2 commands. ( Except for 'sudo make install'.)
* 'sudo' is for administrative tasks only ! Like installing / removing packages.
About the faulty 'nam' : $ sudo apt-get remove nam
I.e. the Ubuntu nam packages are buggy. There's a one year old bug report.
... Then find a nam package here, post #2
http://www.linuxquestions.org/questi...-4175524760/#2
Download the package. "Click" the package, and it will be installed.
Alternatively, if you have ns-2.35/, there's a chance you can do :
$ cd nam-1.15/ && sudo make install
-