LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   could not install ns2 (https://www.linuxquestions.org/questions/linux-software-2/could-not-install-ns2-628261/)

salady86 03-15-2008 01:28 PM

could not install ns2
 
hello all
im trying to install ns-2.31 in fedora5
as per the procrdure given in one of the threads i tried the following
#cd ns allinone
./install

gedit ~/.bashrc
and added the following lines

PATH=$PATH:/home/salady/ns2new/ns-2.31/bin
export PATH
PATH=$PATH:/home/salady/ns2new/ns-2.31/tcl8.4.14/unix
export PATH
PATH=$PATH:/home/salady/ns2new/ns-2.31/tk8.4.18/unix
export PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/salady/ns2new/ns-2.31/otcl-1.13:/home/salady/ns2new/ns-2.31/lib
export LD_LIBRARY_PATH
TCL_LIBRARY=$TCL_LIBRARY:/home/salady/ns2new/ns-2.31/tcl8.4.14/library
export TCL_LIBRARY

then gave source ~/.bashrc

then tried ns
bash:ns command not found...

i have got tcl8.4.14,tk8.4.18,otcl-1.13,tclcl-1.19 all in ns2new/ns-2.31
then install is in ns2/ns-2.31/allinone

i am able tofigure out whats wrong...
will it work if i change the linux to fedora8 or ubuntu?

sumone please help!!!
thanks

Simon Bridge 03-16-2008 07:38 AM

Quote:

I'm trying to install ns-2.31 in fedora5
Fedora Core 5? But that is an obsolete system. You can expect to have problems with it.

From what you wrote, it looks like you altered the default install directory. You need to locate the executable, and add it's location to your PATH.


All times are GMT -5. The time now is 04:58 AM.