Re: [ns] ns-allinone-2.26 installation problem - Plz Help

2007-02-22 Thread roger juan huanca sevilla

Hi

it's a compiler problem if you compile vith g++ 2.95 for example you can
do it but i don't know if you have more problems for the rest of the
packages in theory it's work well for linux versions like (RED HAT 7.2
...) why don't you try to install ns -2.30 it's work without problems.

Pd.: if comeone knows how to solve the proble using the patch, tell us.

bye

>
> Hi all,
>
> I've tried to install ns-allinone-2.26 and I got an error while building
> Tclcl-1.0b13.
>
> -
> configure: creating ./config.status
> config.status: creating Makefile
> rm -f embedded-tcl.cc
> ./tcl2c++ et_tcl ../lib/tcl8.3/init.tcl ../lib/tcl8.3/history.tcl
> ../lib/tcl8.3/word.tcl ../lib/tcl8.3/http2.3/http.tcl > embedded-tcl.cc
> g++ -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H
> -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H
> -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1
> -DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
> -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1
> -DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1
> -DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1  -I.
> -I/home/irini/ns/ns-allinone-2.26/otcl-1.0a8
> -I/home/irini/ns/ns-allinone-2.26/include
> -I/home/irini/ns/ns-allinone-2.26/include -o embedded-tcl.o
> embedded-tcl.cc
> tclcl-mappings.h: In static member function 'static int
> TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)':
> tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name
> specifier
> tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
> tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
> tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
> tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
> make: *** [embedded-tcl.o] Error 1
> tclcl-1.0b13 make failed! Exiting ..
> -
>
> In the ns-2: Installation Problems, Bug Fixes, and Help webpage I found
> this:
>
> -
> Tclcl-1.0b13
> * Problem: Tclcl doesn't build against gcc-3.4 (as in Fedora Core 3).
> *  Solution: Fixed in current CVS. Apply this patch:
>
> --- tclcl.h~2003-07-29 11:24:50.0 -0700
> +++ tclcl.h2004-12-10 08:55:34.692584936 -0800
> @@ -45,8 +45,8 @@
>  }
>
>  #include "tclcl-config.h"
> -#include "tclcl-mappings.h"
>  #include "tracedvar.h"
> +// tclcl-mappings.h included below, AFTER definition of class Tcl
>
>  struct Tk_Window_;
>
> @@ -158,6 +158,8 @@
>  Tcl_HashTable objs_;
>  };
>
> +#include "tclcl-mappings.h"
> +
>  class InstVar;
>
>  class TclObject {
> -
>
> How do I apply this patch?? I would appreciate if you can help me
> (or even send me the correct tclcl.h header file)
>
> Thanks in advance.
>
> Regards,
> Eirini
>



[ns] ns-allinone-2.26 installation problem - Plz Help

2007-02-22 Thread Eirini Karapistoli

Hi all,

I've tried to install ns-allinone-2.26 and I got an error while building 
Tclcl-1.0b13.

-
configure: creating ./config.status
config.status: creating Makefile
rm -f embedded-tcl.cc
./tcl2c++ et_tcl ../lib/tcl8.3/init.tcl ../lib/tcl8.3/history.tcl 
../lib/tcl8.3/word.tcl ../lib/tcl8.3/http2.3/http.tcl > embedded-tcl.cc
g++ -c  -DNO_TK  -DNDEBUG -DUSE_SHM -DHAVE_LIBOTCL1_0A8 -DHAVE_OTCL_H 
-DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H  
-DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_SNPRINTF=1 -DSTDC_HEADERS=1 
-DHAVE_STRTOQ=1 -DHAVE_STRTOLL=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_LONG=4 -DHAVE_INT64=1 
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_3=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_3=1 
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A8=1  -I. 
-I/home/irini/ns/ns-allinone-2.26/otcl-1.0a8 
-I/home/irini/ns/ns-allinone-2.26/include 
-I/home/irini/ns/ns-allinone-2.26/include -o embedded-tcl.o embedded-tcl.cc
tclcl-mappings.h: In static member function 'static int 
TclObjectHelper::dispatch_(void*, Tcl_Interp*, int, char**)':
tclcl-mappings.h:51: error: incomplete type 'Tcl' used in nested name 
specifier
tclcl-mappings.h:52: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
tclcl-mappings.h:57: error: invalid use of undefined type 'struct Tcl'
tclcl-mappings.h:41: error: forward declaration of 'struct Tcl'
make: *** [embedded-tcl.o] Error 1
tclcl-1.0b13 make failed! Exiting ..
-

In the ns-2: Installation Problems, Bug Fixes, and Help webpage I found 
this:

-
Tclcl-1.0b13
* Problem: Tclcl doesn't build against gcc-3.4 (as in Fedora Core 3).
*  Solution: Fixed in current CVS. Apply this patch:

--- tclcl.h~2003-07-29 11:24:50.0 -0700
+++ tclcl.h2004-12-10 08:55:34.692584936 -0800
@@ -45,8 +45,8 @@
 }
 
 #include "tclcl-config.h"
-#include "tclcl-mappings.h"
 #include "tracedvar.h"
+// tclcl-mappings.h included below, AFTER definition of class Tcl
 
 struct Tk_Window_;
 
@@ -158,6 +158,8 @@
 Tcl_HashTable objs_;
 };
 
+#include "tclcl-mappings.h"
+
 class InstVar;
 
 class TclObject {
-

How do I apply this patch?? I would appreciate if you can help me
(or even send me the correct tclcl.h header file)

Thanks in advance.

Regards,
Eirini



Re: [ns] ns-allinone-2.26 installation

2006-12-18 Thread Pedro Vale Estrela

http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667338

 

 

 

-Original Message-
From: Anjali Arora [mailto:[EMAIL PROTECTED] 
Sent: sábado, 16 de Dezembro de 2006 6:25
To: [EMAIL PROTECTED]
Subject: RE: [ns] ns-allinone-2.26 installation

 

thanx & please make it more clear

Pedro Vale Estrela <[EMAIL PROTECTED]> wrote: 

Use older version of your distribution


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Anjali Arora
> Sent: quinta-feira, 14 de Dezembro de 2006 13:35
> To: ns-users@ISI.EDU
> Subject: [ns] ns-allinone-2.26 installation
> 
> 
> hello everyone
> i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux
> red-hat enterprise edition.but its not working,giving error tk 8.3.2 make
> failed.what is the solution or whats another option?
> please help me out
> anjali
> 
> 
> -
> Find out what India is talking about on - Yahoo! Answers India
> Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
> Get it NOW

 

 Send free SMS to your Friends on Mobile from your Yahoo! Messenger.
Download Now! http://messenger.yahoo.com/download.php



Re: [ns] ns-allinone-2.26 installation

2006-12-14 Thread Pedro Vale Estrela

Use older version of your distribution


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Anjali Arora
> Sent: quinta-feira, 14 de Dezembro de 2006 13:35
> To: ns-users@ISI.EDU
> Subject: [ns] ns-allinone-2.26 installation
> 
> 
> hello everyone
>   i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux
> red-hat enterprise edition.but its not working,giving error tk 8.3.2 make
> failed.what is the solution or whats another option?
>   please help me out
>   anjali
> 
> 
> -
>  Find out what India is talking about on  - Yahoo! Answers India
>  Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8.
> Get it NOW




[ns] ns-allinone-2.26 installation

2006-12-14 Thread Anjali Arora

hello everyone
  i have ns-allinone-2.26 and mns-for-2.26.i want to install it on linux 
red-hat enterprise edition.but its not working,giving error tk 8.3.2 make 
failed.what is the solution or whats another option?
  please help me out
  anjali


-
 Find out what India is talking about on  - Yahoo! Answers India 
 Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it 
NOW