[ns] Problem installing NS-2

2007-04-14 Thread manpreet grewal


Dear all,
I am trying to install ns-allinone-2.1b9a under cygwin
I have  downloaded ns-allinone-2.1b9a from
http://www.isi.edu/nsnam/dist/ns-allinone-2.1b9a-gcc32.tar.gz
i have fully installed cygwin on my system
But while installing ns-allinone-2.1b9a using ./install command 
,it gives the following error when it comes to Bilding 
Otcl-1.0a8

checking for libtcl8.3... -L../lib -ltcl8.3
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... no
checking for tclsh8.3... ../bin/tclsh8.3
checking for tk.h... -I../include
checking for libtk8.3... -L../lib -ltk8.3
checking for tk.tcl... ../lib/tk8.3
checking for X11 header files
checking for X11 library archive
checking for XOpenDisplay in -lX11... no
can't find X library
otcl-1.0a8 configuration failed! Exiting ...

please tell me where the problem is.
please help me
Regards,
Manpreet...





Re: [ns] Problem installing NS-2

2007-04-14 Thread Faisal Aslam

Dear Manpreet,
Your cygwin installation is not complete. While installing cygwin you need
to install different thing for NS for example perl, X11 etc. They are not
installed when you just press defaults. I think in your case X11 or
someother similar component is missing. Read this
http://www.isi.edu/nsnam/ns/ns-cygwin.html and install everything required
in cygwin before installing Ns2. Otherwise it is easier to use unix
machine.

Faisal Aslam


 Dear all,
 I am trying to install ns-allinone-2.1b9a under cygwin
 I have  downloaded ns-allinone-2.1b9a from
 http://www.isi.edu/nsnam/dist/ns-allinone-2.1b9a-gcc32.tar.gz
 i have fully installed cygwin on my system
 But while installing ns-allinone-2.1b9a using ./install command
 ,it gives the following error when it comes to Bilding
 Otcl-1.0a8

 checking for libtcl8.3... -L../lib -ltcl8.3
 checking for init.tcl... ../lib/tcl8.3
 checking for tclsh8.3.2... no
 checking for tclsh8.3... ../bin/tclsh8.3
 checking for tk.h... -I../include
 checking for libtk8.3... -L../lib -ltk8.3
 checking for tk.tcl... ../lib/tk8.3
 checking for X11 header files
 checking for X11 library archive
 checking for XOpenDisplay in -lX11... no
 can't find X library
 otcl-1.0a8 configuration failed! Exiting ...

 please tell me where the problem is.
 please help me
 Regards,
 Manpreet...