[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...










[ns] Problem Installing ns-allinone-2.1b9a

2007-04-12 Thread manpreet grewal


hello Sir/Madam,
  I am following Nicolas Christin's instructions to install 
ns-allinone-2.1b9a.
Everything goes fine until  ns-allinone-2.1b9a/install gets to 
Build OTcl-1.0a8... and
The error that I received is given below:
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 help me...its urgent...

Best Regards,
Manpreet.



Re: [ns] Problem installing NS

2007-01-26 Thread Matteo Milita

Hi Brenda,
could you tell me which Linux distribution do you use?

I had the same porble related to the tcl libraries. I solved it installing 
on my Ubuntu Linux the tcl8.4 and tk8.4 packet using the Synaptic manager.

check if your linux has correctly installed tcl and tk libraries.

regards

Matteo

- Original Message - 
From: Brenda Lindsay Williams [EMAIL PROTECTED]
To: ns-users@ISI.EDU
Sent: Saturday, January 20, 2007 12:30 PM
Subject: [ns] Problem installing NS



 I want to use ns 2.1b7 cos the version I got has an ATM patch already 
 which
 I need for my thesis.I try to configure it and I get the error message
 below.
 __ __
 ___
 [EMAIL PROTECTED] Desktop]# cd ns-2-snapshot-20010224/
 [EMAIL PROTECTED] ns-2-snapshot-20010224]# ./configure
 loading cache ./config.cache
 No .configure file found in current directory
 Continuing with default options...
 checking host system type... i686-pc-linux-gnu
 checking target system type... i686-pc-linux-gnu
 checking build system type... i686-pc-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler (gcc  ) works... yes
 checking whether the C compiler (gcc  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether gcc accepts -g... yes
 checking for c++... c++
 checking whether the C++ compiler (c++  ) works... yes
 checking whether the C++ compiler (c++  ) is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether c++ accepts -g... yes
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for string.h... yes
 checking for main in -lXbsd... no
 checking for socket in -lsocket... no
 checking for gethostbyname in -lnsl... yes
 checking for dcgettext in -lintl... no
 checking for getnodebyname in -ldnet_stub... no
 checking that c++ can handle -O2... no
 checking standard STL is available... no
 checking for tcl.h... -I../tcl8.3.2/generic
 checking for libtcl8.3... -L/usr/local/lib -ltcl8.3
 checking for init.tcl... ../tcl8.3.2/library
 checking for tclsh8.3.2... no
 checking for tclsh8.3... /usr/local/bin/tclsh8.3
 checking for tk.h... no
 checking for libtk8.3... no
 checking for tk.tcl... no
 checking for otcl.h... -I../otcl-1.0a6
 checking for libotcl1.0a6... no
 configure: error: Installation of otcl seems incomplete or can't be found
 automatically.
 Please correct the problem by telling configure where otcl is
 using the argument --with-otcl=/path/to/package
 (perhaps after installing it),
 or the package is not required, disable it with --with-otcl=no.
 ___

 Even when I use the arguments specified in the last 4 lines I still get 
 the
 same problem.Someone pls help.I'm getting behind schedule.Thanks a lot.

 Best regards,

 Brenda 



[ns] Problem installing NS

2007-01-20 Thread Brenda Lindsay Williams

I want to use ns 2.1b7 cos the version I got has an ATM patch already which
I need for my thesis.I try to configure it and I get the error message
below.
__ __
___
[EMAIL PROTECTED] Desktop]# cd ns-2-snapshot-20010224/
[EMAIL PROTECTED] ns-2-snapshot-20010224]# ./configure
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that c++ can handle -O2... no
checking standard STL is available... no
checking for tcl.h... -I../tcl8.3.2/generic
checking for libtcl8.3... -L/usr/local/lib -ltcl8.3
checking for init.tcl... ../tcl8.3.2/library
checking for tclsh8.3.2... no
checking for tclsh8.3... /usr/local/bin/tclsh8.3
checking for tk.h... no
checking for libtk8.3... no
checking for tk.tcl... no
checking for otcl.h... -I../otcl-1.0a6
checking for libotcl1.0a6... no
configure: error: Installation of otcl seems incomplete or can't be found
automatically.
Please correct the problem by telling configure where otcl is
using the argument --with-otcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-otcl=no.
___

Even when I use the arguments specified in the last 4 lines I still get the
same problem.Someone pls help.I'm getting behind schedule.Thanks a lot.

Best regards,

Brenda


[ns] Problem installing NS

2007-01-19 Thread Brenda Lindsay Williams

I want to use ns 2.1b7 cos the version I got has an ATM patch already which
I need for my thesis.I try to configure it and I get the error message
below.
__ __
___
[EMAIL PROTECTED] Desktop]# cd ns-2-snapshot-20010224/
[EMAIL PROTECTED] ns-2-snapshot-20010224]# ./configure
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for string.h... yes
checking for main in -lXbsd... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
checking for dcgettext in -lintl... no
checking for getnodebyname in -ldnet_stub... no
checking that c++ can handle -O2... no
checking standard STL is available... no
checking for tcl.h... -I../tcl8.3.2/generic
checking for libtcl8.3... -L/usr/local/lib -ltcl8.3
checking for init.tcl... ../tcl8.3.2/library
checking for tclsh8.3.2... no
checking for tclsh8.3... /usr/local/bin/tclsh8.3
checking for tk.h... no
checking for libtk8.3... no
checking for tk.tcl... no
checking for otcl.h... -I../otcl-1.0a6
checking for libotcl1.0a6... no
configure: error: Installation of otcl seems incomplete or can't be found
automatically.
Please correct the problem by telling configure where otcl is
using the argument --with-otcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-otcl=no.
___

Even when I use the arguments specified in the last 4 lines I still get the
same problem.Someone pls help.I'm getting behind schedule.Thanks a lot.

Best regards,

Brenda