LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2021, 11:07 AM   #1
BSA kumaran
LQ Newbie
 
Registered: May 2021
Posts: 4

Rep: Reputation: Disabled
Unhappy 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?

Last edited by BSA kumaran; 05-03-2021 at 11:09 AM.
 
Old 05-03-2021, 11:23 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,406

Rep: Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611
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

Last edited by knudfl; 05-03-2021 at 11:51 AM.
 
Old 05-04-2021, 05:47 AM   #3
BSA kumaran
LQ Newbie
 
Registered: May 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Dear sir,
my sincere thanks for the quick reply. I installed the newest version.But the problem is still continuous.
 
Old Yesterday, 03:27 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2020 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,406

Rep: Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611Reputation: 3611
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
-
Attached Thumbnails
Click image for larger version

Name:	xgtest.xg.jpg
Views:	3
Size:	24.7 KB
ID:	36307  

Last edited by knudfl; Yesterday at 04:47 AM.
 
Old Yesterday, 05:22 AM   #5
BSA kumaran
LQ Newbie
 
Registered: May 2021
Posts: 4

Original Poster
Rep: Reputation: Disabled
Dear sir,
thank you so much. now it works fine. that's cool.
 
  


Reply

Tags
ns2, xgraph, xgraph-ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
in NS2 DOS and DDoS Simulation +Comparison and Analysis of Xgraph hinatariq Linux - General 31 09-07-2015 12:10 AM
[SOLVED] error in ./xgraph command deepakgarglife Linux - Newbie 10 05-01-2013 04:19 AM
problem in installing "xgraph 12.1" in ubuntu 9.1 for ns 2.34 neeraj.dwivedi Linux - Newbie 5 03-10-2010 08:01 AM
how to use "xgraph" in the scripts shells with ns2.33 in fc9 messy2010 Fedora 1 01-21-2009 03:56 AM
Problem on launching x11 graphical session of nam/ xgraph for NS-2 aboutjeab Linux - Newbie 5 04-21-2008 07:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration