If you are installing ns2 allinone package in fedora or ubuntu or any other linux, all the packages will be installed successfully. Occasionally the recent distributions of Linux flavors failed to install xgraph.
Problem:
The possible error you may get is [dialog.o] error,
Solution:
- Open the file dialog.c which is available under the folder xgraph-12.1/ (this is in my case)
- Find out the function getline() (will be at two places), usually line number 780 and 891 or 889, replace getline() function to newgetline() (at the both the places)
- save the file and at the prompt give ./configure
- give the command make If there are no errors, xgraph will work now..
hello sir, i have installed ns2.34 on fedora 14. while executing xgraph an error occured :command not found.
ReplyDeletei have implemented above mentioned solution but m not able to understand where to give ./configure command on prompt either in folder ns2.34 or xgraph folder..plz help me out
hello sir, i have installed ns2 allinone package successfully, but while executing xgraph command it is showing "xgraph command not found" error.
ReplyDeletei m not getting where is the error. please help me on this ...
have you tried correcting this (dialog.c) error. if not do it, else tell me which OS, which ns2 version you tried.
Deletesir iam having ubuntu 18 OS,
Deleteand iam uanble to open dialog.o file,
Please suggest me how to open
hello sir
ReplyDeleteiam getting the error for graph installation as
~/Desktop/ns-allinone-2.35/xgraph-12.2$ ./xgraph
Segmentation fault (core dumped)
please help me
same to me as well
DeleteBro.. same error to me as well, did get any working solution?
Delete