Quote:
Originally Posted by Jjanel
Welcome to Linux. It's a 'PATH' issue: . (dot) is your 'current' dir (`pwd`)
but the ns program isn't there.
( ./anyname trys to run anyname executable in current directory)
I'm not sure where the install put it. You could try: (IF its name is exactly ns)
find / -name ns -ls
Then put the appropriate in line 2 of your test.sh
This web-search may help: ns ubuntu linux path
If you still can't find ns, please post details of exactly how it was installed.
Best wishes...
|
Actually, i use the btsim.tgz
and it is the patch one
BitTorrent and ns2
the guide have been given so i just extract the btsim file
and run the test.sh to test whether it works or not
The guide given also ask to recompile the ns2 if the test fail
when recompile, have an error like this :
============================================================
* Build Tk8.4.11
============================================================
make: *** No rule to make target `/users/profs/info/dario.rossi/ns-allinone-2.29/tk8.4.11/unix/Makefile.in', needed by `Makefile'. Stop.
loading cache ./config.cache
checking for Tcl configuration... (cached) found /users/profs/info/dario.rossi/ns-allinone-2.29/tcl8.4.11/unix/tclConfig.sh
checking for existence of /users/profs/info/dario.rossi/ns-allinone-2.29/tcl8.4.11/unix/tclConfig.sh... file not found
configure: error: /users/profs/info/dario.rossi/ns-allinone-2.29/tcl8.4.11/unix/tclConfig.sh is for Tcl .
Tk 8.4.11 needs Tcl 8.4.
Use --with-tcl= option to indicate location of tclConfig.sh file for Tcl 8.4.
tk8.3.2 configuration failed! Exiting ...
Tk is not part of the ns project. Please see
www.Scriptics.com
to see if they have a fix for your platform.
What is it about?
Is it related?
Im sorry
Im so new to this