LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   NS2 installation in windows 7 using cygwin (https://www.linuxquestions.org/questions/linux-software-2/ns2-installation-in-windows-7-using-cygwin-868401/)

Yugesh Gowda 03-13-2011 11:39 PM

NS2 installation in windows 7 using cygwin
 
Hi i'm trying to install ns-allinone-2.29.2.tar in windows 7 by using cygwin installer..
At the starting i got this message
Code:

============================================================
* Testing for Cygwin environment
============================================================
Cygwin detected
Note: Cygwin install is still considered EXPERIMENTAL

Checking Cygwin version is >= 1.3.12... 1.7.8 (should be ok)
Checking filesystems are mounted as UNIX filetype... yes
Checking default mode is binmode... yes
Checking legitimate login name... ok
Checking legitimate path name... ok
Checking for gcc... ok
Checking for gcc-g++... ok
Checking for gawk... ok
Checking for tar... ok
Checking for gzip... ok
Checking for make... ok
Checking for patch... ok
Checking for perl... ok
Checking for w32api... ok
Checking for diff... ok
Checking for X... None found!

Neither Package xorg-x11-base nor XFree86-base is present on your system.

Please install one of it using Cygwin's setup.exe
before trying to install the ns-2 distribution.

The above test indicates that your installation of Cygwin
is probably NOT SUITABLE for installing ns-2 allinone.
(More details can be found in the specific error message above.)

Do you wish to proceed regardless? [y/N]


After continuing i got error message

Code:

In file included from trace/trace.cc:42:
./sctp/sctp.h: At global scope:
./sctp/sctp.h:65: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:78: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:85: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:95: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:104: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:135: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:150: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:162: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:191: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:203: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:209: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:221: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:229: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:241: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:262: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:268: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:273: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:280: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:282: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:291: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:306: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:425: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:431: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:443: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:451: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:458: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:460: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:510: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:516: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:527: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:534: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:553: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:558: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:564: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:571: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:577: warning: `typedef' was ignored in this declaration
./sctp/sctp.h:705: error: extra qualification `SctpAgent::' on member `DumpSendB
uffer'
trace/trace.cc:185: warning: deprecated conversion from string constant to `char
*'
trace/trace.cc:185: warning: deprecated conversion from string constant to `char
*'
trace/trace.cc:185: warning: deprecated conversion from string constant to `char
*'
trace/trace.cc:185: warning: deprecated conversion from string constant to `char
*'
trace/trace.cc:185: warning: deprecated conversion from string constant to `char
*'
make: *** [trace/trace.o] Error 1
Ns make failed!
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems

Anybody can help to install it properly..
Urgent..
Please help...

knudfl 03-14-2011 02:32 AM

Quote:

Package xorg-x11-base nor XFree86-base is present on your system
A complete x11 library is required for tcl(8.4.11) Please install that.


Quote:

I'm trying to install ns-allinone-2.29.2.tar
Why ? The versatile and bug fixed version is ns-allinone-2.29.3
http://sourceforge.net/projects/nsna...ar.gz/download

Yugesh Gowda 03-14-2011 03:57 AM

Quote:

Originally Posted by knudfl (Post 4289949)
A complete x11 library is required for tcl(8.4.11) Please install that.



Why ? The versatile and bug fixed version is ns-allinone-2.29.3
http://sourceforge.net/projects/nsna...ar.gz/download

I searched in the net i didnt get the package..
Is there any command like in linux to install package in cygwin..
Please help me from scratch..

knudfl 03-14-2011 05:49 AM

Much easier to help with Linux : LQ is a Linux Forum.

But Google can easily find something ..
http://www-cdf.fnal.gov/~cplager/cygwin.html
http://www.cygwin.com/ml/cygwin-xfre.../msg00005.html

Packages http://sourceware.org/cygwin/packages/
I.e. : You will have to use Google .. libx11 cygwin ..
to find more packages (later versions ? )
http://www.google.com/webhp#sclient=...5aa1d3f8dcd1fc

ns2 cygwin http://www.isi.edu/nsnam/ns/ns-cygwin.html
Please read all this : ""Requirements and Installation Tips"" :
xorg-x11-bin, xorg-x11-bin-dlls, xorg-x11-devel, xorg-x11-libs-data, and xorg-x11-etc
... and follow the links in that chapter.
...


All times are GMT -5. The time now is 07:56 PM.