[ns] couldn't execute "nam": no such file or directory "Cygwin - winxp"
Guogang Hua
greghua at gmail.com
Wed Sep 28 07:16:55 PDT 2005
I found my problem now. When the program install nam-1.11, there is a bug
which somebody else already reported-"replacing the 'NULL' in line 73 of
file agent.h in nam-1.11 with '0'. After I did that and compiled again, it
works ok now.
The ns.exe and nam.exe should be in /ns-allinone-2.28/bin/, so you need to
add this directory into your path by modifying file /etc/profile, add
export PATH=/usr/ns-allinone-2.28/bin:$PATH
or you can inpur the sentence into you terminal. but you need do this
everytime you open a new terminal. So modifying the file profile is
encouraged.
On 9/27/05, Project Team IT <fci_it_cairo at yahoo.com> wrote:
>
>
> Hi all
>
> i'm new user to NS2, i have installed the NS2 "ns-allinone-2.28" package
> under the shell of Cygwin over windows xp and there is no problem appeared
> in the installation
>
> but when i try to run a ns program this error appear
>
> $ ns ns-simple.tcl
> CBR packet size = 1000
> CBR interval = 0.0080000000000000002
> ns: finish: couldn't execute "nam": no such file or directory
> while executing
> "exec nam out.nam &"
> (procedure "finish" line 7)
> invoked from within
> "finish"
>
> when i checked the directory of nam-1.11 i didn't find nam.exe and also
> other missing files
>
> where is the problem? is the problem from the source of "ns-allinone-2.28"
> or the problem in the installation of the NS "ns-allinone-2.28" package or
> the package is not complete
> and how can i solve this problem
>
>
> I have installed the Cygwin and NS2 3 times and it took along time :'( so
> please help me
>
> thanx for your help
>
>
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
More information about the Ns-users
mailing list