Re: [ns] xgraph (urgent)
Hi, If you do steps follow Amit that still met this error. Maybe you not installed xgraph yet. Hope it helps, regards, phathienhung. On Thu, Apr 14, 2011 at 11:25 AM, s s parvazt...@yahoo.com wrote: In the name of God Dear friends Hi when we want to run xgraph in our tests, we write in stop proc the bellow commands: exec xgraph out.tr and we have ERROR: couldn't execute xgraph:no such file or directory. would you please help me? Best Regards Sarah
Re: [ns] xgraph (urgent)
On 04/15/2011 05:30 AM, ns-users-requ...@isi.edu wrote: [ns] xgraph (urgent) Go to the xgraph folder run ./configure and then run make , it will give you one error related to getline() function, open the respective file and change the occurrance of getline to my_getline() (there are two instances of the function) and then re run ./configure and make , it should get compiled correctly now run a make clean in ns2 folder and re install it by writing make. It will install ns2 with xgrpah. With the evolution of compilers there are many functions which are now in built in gcc like getline. -- Thanks and Regards, *Ashwini Shankar Patankar* www.wirelesscafe.wordpress.com
Re: [ns] xgraph (urgent)
Try one of these 1. Add location of xgraph in PATH variable. 2. Create a link to xgraph in the directory from which you run your script. 3. Give full path of xgraph in exec like : exec /path/to/xgraph out.tr Regards Amit Khanna On Thu, Apr 14, 2011 at 9:55 AM, s s parvazt...@yahoo.com wrote: In the name of God Dear friends Hi when we want to run xgraph in our tests, we write in stop proc the bellow commands: exec xgraph out.tr and we have ERROR: couldn't execute xgraph:no such file or directory. would you please help me? Best Regards Sarah