Hello,

Well as far as xgraph is concerned, go to the xgraph folder and try to
install it manually. Then you will come to know about getline function
error. Open the respective file and change that getline to any other name at
all places (there are only two places).

For nam, try to exit from the nam first and then execute the script, if in
the script you made a call to nam then it will automatically open else when
script finished, type nam <namfile>.nam, try the wireless-flooding.tcl, good
example.

Thanks and Regards,

Ashwini | www.wirelesscafe.wordpress.com

> Message: 2
> Date: Tue, 26 Oct 2010 20:40:09 -0700 (PDT)
> From: Dhara Buch <dharab...@yahoo.com>
> Subject: Re: [ns] errors in nam and xgraph in fedora
> To: ns-users@isi.edu
> Message-ID: <737105.31564...@web120716.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> Hello,
> ?? I have installed? ns-2.33 in Fedora 13.
>
> 1.??? While executing tcl script using xgraph, I get the following error
> message:
>
> ns: finish: couldn't execute "xgraph": no such file or directory
> while executing
> "exec xgraph out0.tr out1.tr out2.tr -geometry 800x400 &"
> (procedure "finish" line 8)
> invoked from within
> "finish"
>
> 2.??? For some of the tcl scripts, nam works properly, but for some
> scripts,
> especially which use wireless communication, I get the error message like:
>
> Cannot connect to existing nam instance. Starting a new one...
> nam: Unable to open the file "wireless-mitf.nam.nam"
> ?
> What can I do to solve these errors?
> ?
> Thank you,
> ?
> Dhara Buch
>
>

Reply via email to