[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem running ns-2.1b2




Greetings,

	Now I compiled ns-2.1b2, after a long struggle. Now in my ns-2.1b2
directory ns file is created. Its size is 3231062 bytes, and I type 

bash$ file ns
ns: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked,
not stripped 

But the strange thing is that it does not execute , if I say ./ns
bash$ ./ns
sh: ./ns: No such file or directory

What is the problem ??
I am running linux 2.0.30 with builtin tcl/tk ver 7.6/4.2
of course test-all gives same error

bash$ ./test-all 
tahoe1 tahoe2 tahoe3 tahoe4 no_bug bug reno1 reno renoA reno2 reno3 reno4
reno4a reno5 telnet delayed phase phase1 phase2 timers stats

Running test tahoe1
./test-all: ./ns: No such file or directory
next?

Please note I had following problems while compiling otcl, tclcl and ns

otcl:	
	I did not had tcl/tk source, but libtcl7.6.so and libtk4.2.so were
there. The reqiured file tclInt.h and tclRegexp.h were downloaded and
copied to /usr/include. Only after this I was able to compile otcl
sucessfully.

tclcl:
	I could not find history.tcl and word.tcl file in /usr/tcl7.6/
I just commented these lines in the Makefile and then was able to compile
sucessfully.

ns:
	The linkes was not able to accept shared library of libtcl libtk
and libdl, I mean it was not looking for *.so files. I just created a link
to each of this files to a *.a file and I was able to compile without any
error. But the end was not able to run ns.

Please helpme 

with thanks
Chetan Kumar S