> Dear All,
>
> I have installed NS-2.33 on VM RHat Linux 4 and tried to run exp script
> wireless.tcl and got following error:
>
> could't read file "../lib/ns-bsnode.tcl": no such file or directory while
> executing -----> I have checked there is such file
> source.orig ../lib/ns-bsnode.tcl
> ("uplevel" body line 1)
> invoked from within
> " if [$instance_ is_http_url $fileName] {
> set buffer [$instance_ read_url $fileName]
> uplevel eval $buffer
> } else {
> uplevel source.orig [list $fileName]
> ..."
> (procedure "source" line 8)
> invoked from within
> "source ../lib/ns-bsnode.tcl"
> (file "wireless.tcl" line 191)
> ============================
> If someone knows or faced this problem before could you pls give me
> suggestion on how to solve this problem or URL for my further study.
This problem is due to the wrong path given to the source file that you want to
refer...the path that you wrote is
source ../lib/ns-bsnode.tcl ...which is wrong and you should put the full path
to that source file.....example of the correct way:
source /home/ns-allinone2.33/ns2.33/lib/ns-bsnode.tcl .....check first the
correct location of ns-bsnode.tcl in your ns-2 directory....