Error while installing ns-2

17 views
Skip to first unread message

Roopini Goli

unread,
Nov 15, 2022, 4:20:40 AM11/15/22
to ns-u...@googlegroups.com

Hello Everyone,


Getting this while installing ns-2,can anyone help me out



Build OTCl-1.14

  • /install: 474: cd: can't cd to •/otcl-1.14
  • /install: 489: •/install: j/configure: not found otcl-1.14 configuration fatled! Exiting ...

Please check http: //www.ist.edu/nsnam/ns/ns-problems.html

for common problems and bug fixes. project@roopint:~/ns-allinone-2.35$

knudfl

unread,
Nov 15, 2022, 8:21:43 AM11/15/22
to Network Simulator 2 (NS2)
Hi.


The "build prerequisites" for ns2 must be installed :
sudo apt install g++ g++-4.8 autoconf libtool libxmu-dev

Unpack a new ns-allinone into a new folder in /home/name/
tar xvf ns-allinone-2.35_gcc5.tar.gz                   ## 2014 - 2017 update
cd ns-allinone-2.35/
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns-2.35/
sudo make install       ## will copy the executable ns to /usr/local/bin/
cp ns ns-orig      ## this is your backup of the stock ns / the unmodified executable
sudo cp ns-orig /usr/local/bin/
.......... so default simulations can be run with  ns file.tcl or ns-orig file.tcl

Any questions ?   Then please specify  OS name and version : $ cat  /etc/issue
Reply all
Reply to author
Forward
0 new messages