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
 TclObjectHelperT::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] help to install ns-allinone-2.1b8a.tar.gz

2007-02-13 Thread roger juan huanca sevilla

Hi everyone
I need to install ns-allinone-2.1b8a but when I executed the install
script I obtain this errors:

./install
...
...
...
tclcl-mappings.h: In static member function ‘static int
TclObjectHelperT::dispatch_(void*, Tcl_Interp*, int, char**)’:
tclcl-mappings.h:51: error: se utilizó el tipo incompleto ‘Tcl’ en un
especificador de nombre anidado
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: *** [Tcl.o] Error 1

when the application is trying to build the tclcl something is wrong.

Regards



[ns] help to install ns-allinone-2.1b8a.tar.gz

2007-02-12 Thread roger juan huanca sevilla

Hi

I trying to executed a simulation of Prophet routing protocol from
http://www.sm.luth.se/~dugdale/index/software.shtml. So I need to install
ns-allinone-2.1b8a.tar.gz ... after I apply the patch over this version
patch -p0  pcf_support-2.1b8.patch, I excecuted the install script but
does not work maybe someone have experience with this can help me thanks.

./install
...
...
...


* Build tcl8.3.2

...
...
...

checking for gethostbyname... yes
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... ./configure: line 5718:
syntax error near unexpected token `)'
./configure: line 5718: `   OSF*)'
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project.  Please see www.Scriptics.com
to see if they have a fix for your platform.





regards.