No such file or directory error after ./install command

Asked by farzan

 in installing NS2 after write sudo apt-get update and sudo apt-get install build-essential autoconf automake libxmu.dev
I write ./install in ns-allinone2035 directory.but find error:no such file or directory
I write sudo gedit ns-allinone-2.35/ns-2.35/linkstate/ls.h but open a empty ls.h file. I opened ls.h file and ghange line 137 and save this.
after execute ./install I face no such file or directory error again:(
what do I do?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Read the README or INSTALL files please. Maybe a ./configure or a script needs to be run first.

Regards
 NikTh

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#2

I think you are using the wrong procedure.

ns2 is in the Ubuntu repositories:

$ apt-cache show ns2
Package: ns2
Priority: optional
Section: universe/net
Installed-Size: 12424
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Network Simulators Team <email address hidden>
Architecture: i386
Version: 2.35+dfsg-1
Depends: libc6 (>= 2.15), libgcc1 (>= 1:4.1.1), libotcl1 (>= 1.14), libpcap0.8 (>= 0.9.8), libstdc++6 (>= 4.6), libtclcl1 (>= 1.20), tcl8.5 (>= 8.5.0), tk8.5 (>= 8.5.0)
Suggests: gnuplot
Filename: pool/universe/n/ns2/ns2_2.35+dfsg-1_i386.deb
Size: 4924352
MD5sum: e504d7991afa8d753d1e5e65da9a2ccf
SHA1: 400bd4ef0cd4ddd06cc6023802f3ddcef863e42b
SHA256: 3ba4239dacccd41cfc8ae5208e7305a64d5bb3dd208a78c7ac9c373939509d81
Description-en: Discrete event simulator targeted at networking research
 Provides substantial support for simulation of TCP, routing,
 and multicast protocols over wired and wireless (local and satellite)
 networks.
 Ns-2 is written in C++ and an Object oriented version of Tcl called OTcl.
 .
 Ns began as a variant of the REAL network simulator in 1989 and has
 evolved substantially over the past few years. In 1995 ns development
 was supported by DARPA through the VINT project at LBL, Xerox PARC,
 UCB, and USC/ISI. Currently ns development is support through DARPA
 with SAMAN and through NSF with CONSER, both in collaboration with
 other researchers including ACIRI. Ns has always included substantal
 contributions from other researchers, including wireless code from the
 UCB Daedelus and CMU Monarch projects and Sun Microsystems.
Homepage: http://www.isi.edu/nsnam/ns/
Description-md5: 0ddfce2763a7238c29114e99a3b0b557
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Simply run this command in a Terminal to install ns2:

sudo apt-get update && sudo apt-get install ns2

Can you help with this problem?

Provide an answer of your own, or ask farzan for more information if necessary.

To post a message you must log in.