LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unknown xgraph command (https://www.linuxquestions.org/questions/linux-newbie-8/unknown-xgraph-command-4175694652/)

BSA kumaran 05-03-2021 11:07 AM

unknown xgraph command
 
i have installed ns2.35 in ubuntu 20.04 version.
i am using xgraph 4.38 version. while executing .xgr files i am receiving an error (unkown xgraph command 'set' '$ns' 'proc' 'global' etc....
how can i solve this?

knudfl 05-03-2021 11:23 AM

Welcome to LQ.

The ns2 xgraph is the "VINT release of xgraph"
https://www.isi.edu/nsnam/xgraph/
... currently at version 12.1 (12.2).
See ns-allinone-2.35/xgraph-12.2/CHANGES.html

Ubuntu 20.04 : Please use "xgraph_12.1-17_amd64.deb"
https://drive.google.com/file/d/1idX...ew?usp=sharing

Download, and install:
Code:

$ sudo gdebi Downloads/xgraph_12.1-17_amd64.deb

BSA kumaran 05-04-2021 05:47 AM

Dear sir,
my sincere thanks for the quick reply. I installed the newest version.But the problem is still continuous.

knudfl 05-05-2021 03:27 AM

1 Attachment(s)
Re #3.
Quote:

I installed the newest version
? Which version was that ?
Only an old version of xgraph-12.1 will work with 20.04 !
I.e. the (Ubuntu 14.04) xgraph_12.1-17_amd64.deb
http://old-releases.ubuntu.com/ubunt...erse/x/xgraph/
http://old-releases.ubuntu.com/ubunt...1-17_amd64.deb
... created 2013-10-22.

"xgraph_12.1-17_amd64.deb" was tested OK 'May 03' on a rather new install of Ubuntu 20.04 :
Code:

cd ns-allinone-2.35/xgraph-12.2/examples/
xgraph xgtest.xg

You will of course have to uninstall / remove / delete the alien xgraph_4.38
-

BSA kumaran 05-05-2021 05:22 AM

Dear sir,
thank you so much. now it works fine. that's cool.


All times are GMT -5. The time now is 10:12 PM.