LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2015, 04:35 AM   #1
manikandan.h
LQ Newbie
 
Registered: Sep 2012
Location: Mayiladuthurai, TN, INDIA
Posts: 13

Rep: Reputation: Disabled
Post ns2 in cygwin


I installed ns2 under windows using cygwin. In this I run my tcl file. It executed correctly. while running nam out.nam it shows the following error
ACER@ACER-PC /home/sample
$ nam: no display name and no $DISPLAY environment variable

How i can execute nam animations under cygwin.
I have set the path in .bashrc file.

$ echo $PATH
/home/ns-allinone-2.35/nam-1.15:/home/ns-allinone-2.35/tcl8.5.10/unix:/home/ns-allinone-2.35/tk8.5.10/unix:/home/ns-allinone-2.35/bin:/home/ns-allinone-2.35/nam-1.15:/home/ns-allinone-2.35/tcl8.5.10/unix:/home/ns-allinone-2.35/tk8.5.10/unix:/home/ns-allinone-2.35/bin:/home/ns-allinone-2.35/nam-1.15:/home/ns-allinone-2.35/tcl8.5.10/unix:/home/ns-allinone-2.35/tk8.5.10/unix:/home/ns-allinone-2.35/bin:/home/ns-allinone-2.35/nam-1.15:/home/ns-allinone-2.35/tcl8.5.10/unix:/home/ns-allinone-2.35/tk8.5.10/unix:/home/ns-allinone-2.35/bin:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
 
Old 09-24-2015, 05:54 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
I don't think you can get the nam-1.15 to work with Windows / Cygwin.
If you want nam : Find an old nam.exe on the internet,
.. and copy "nam.exe" to /usr/local/bin/


There is generally no help to get with { Cygwin + ns2 }.
? Why not install a Linux OS into a virtual machine in Windows ? (VirtualBox).

*** You succeeded with an ns2 install in a Linux OS three years ago :
#14 http://www.linuxquestions.org/questi...4175429285/#14


-
 
  


Reply

Tags
ns2



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
APTEEN routing protocol for ns2.34 under CYGWIN reem10 Linux - Software 0 01-15-2014 09:44 PM
Re-compile NS2 under Cygwin MichaelYoung Programming 3 07-27-2013 10:52 AM
NS2 installation in windows 7 using cygwin Yugesh Gowda Linux - Software 3 03-14-2011 05:49 AM
problem in installing ns2 in cygwin on windows l0pht Linux - Software 1 03-11-2010 05:21 PM
URGENT- Having problems with tcl,ns2 in cygwin ritoban87 Linux - Newbie 2 01-22-2010 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:49 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