LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error while installing ns2.33 in ubuntu 10.04 (https://www.linuxquestions.org/questions/linux-newbie-8/error-while-installing-ns2-33-in-ubuntu-10-04-a-4175532122/)

neha# 01-26-2015 05:57 AM

error while installing ns2.33 in ubuntu 10.04
 
hello sir,
i was trying to install ns2.33 in ubuntu10.04. i have followed the procedure. in which after the validation there was a command to creat a symlink. the command was, $sudo ln -s/home/neha/ns-allinone-2.33/ns-2.33/ns/usr/bin/ns.
i m tried this command all the way asa much asa possible. but an error has been arrived. the error is "ln: invalid option '/' ". please help me to solve this problem.

knudfl 01-26-2015 06:40 AM

Welcome to LQ.
Quote:

I have followed the procedure
Looks like a faulty procedure.
The mentioned command is bad advice. And wrong.

This is what you should do :
$ cd ns-allinone-2.33/ns-2.33/
$ sudo make install ('make install' will copy 'ns' to /usr/local/bin/)
Make a backup : $ cp ns ns233-orig
$ sudo cp ns233-orig /usr/local/bin/
.. Then you still have an original 'ns*',
if you make any changes to ns-2.33/.
I.e. default simulations may require "ns-orig".


About "procedure´s" you can find on the Internet :
Remember that most of those tutorials are written by young students.
Who are using ns2 and a `Linux OS´ for the first time.


-


All times are GMT -5. The time now is 09:49 PM.