#14...means i have to install ns2.26???
|
# 16
Yes. And please install to /home/<your-username>/ for best convenience. |
one more question.....we have to installl ns evrytime a new file is copied and it consumes much time....if we want ti installl ony ns ant not all..then make will work??
or some othet procedure??? |
#18.
That's why we have the 'ns-allinone' packages : You will also get the versions of tcl8* tk8* otcl tclcl, that work with the particular version of ns-2.xx. Some ns versions can (sometimes with advantage) use later versions of tcl etc. NS-2.26 can only use the versions in the ns-allinone-2.26 package. . |
thanks...@ knudfl....downloaded ns-allinone2.26....now installing on ubuntu 10.10..lets see now it will work or not..fingers crossed...
|
insatlling steps???there are some ???
|
while insatlling ns2.26 on ubuntu 10.10....the error is:--
tk8.3.2 installation succeeded. ============================================================ * Build OTcl-1.0a8 ============================================================ No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ 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 g++ can handle -O2... no checking standard STL is available... no checking for tcl.h... -I../include 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... yes checking for XShmAttach in -lXext... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking system version (for dynamic loading)... Linux-2.6.35-22-generic No explicit static compilation flag; setting V_STATIC to "" checking for dlopen in -ldl... yes checking for a BSD compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile rm -f libotcl.a otcl.o gcc -c -g -O2 -DNDEBUG -DUSE_SHM -I. -I/usr/local/ns-allinone-2.26/include -I/usr/local/ns-allinone-2.26/include -I/include otcl.c ar cq libotcl.a otcl.o ranlib libotcl.a rm -f libotcl.so otcl.o so_locations gcc -c -g -O2 -DNDEBUG -DUSE_SHM -fpic -I. -I/usr/local/ns-allinone-2.26/include -I/usr/local/ns-allinone-2.26/include -I/include otcl.c ld -shared -o libotcl.so otcl.o otcl.o: In function `OTclDispatch': /usr/local/ns-allinone-2.26/otcl-1.0a8/otcl.c:481: undefined reference to `__stack_chk_fail_local' otcl.o: In function `Otcl_Init': /usr/local/ns-allinone-2.26/otcl-1.0a8/otcl.c:2266: undefined reference to `__stack_chk_fail_local' ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined ld: final link failed: Nonrepresentable section on output make: *** [libotcl.so] Error 1 otcl-1.0a8 make failed! Exiting ... See http://www.isi.edu/nsnam/ns/ns-problems.html for problems neone can help resolve it??? |
patching done..gcc-4.1 installed...the y??
|
what about...export CC=gcc34 CXX=g++34 <Enter>..whats this???
|
used ...export CC=gcc34 CXX=g++34 <Enter> and then ./install....again error...
tk8.3.2 installation succeeded. ============================================================ * Build OTcl-1.0a8 ============================================================ No .configure file found in current directory Continuing with default options... checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for gcc... gcc34 checking for C compiler default output... configure: error: C compiler cannot create executables otcl-1.0a8 configuration failed! Exiting ... Please check http://www.isi.edu/nsnam/ns/ns-problems.html for common problems and bug fixes. do resolve this..... |
# 22, # 23
Quote:
And : The Ubuntu gcc-4.1 may not work. (Not yet tested with ns-2.26.) Please go back and read post # 14 about Ubuntu 10.10 : Download and use the described gcc41-compat / g++41-compat. And : The install command is not './install', but export CC=gcc41 CXX=g++41 && ./install # 25 Quote:
. |
iss.......OTcl 1.0a3 doesn't compile with tcl 8.0.3 and 8.0.4????then what??
|
now tell me what i have to do???
which gcc ti instllland how??? |
# 27
Quote:
Please use http://www.isi.edu/nsnam/dist/ns-allinone-2.26.tar.gz → → ns-allinone-2.26.tar.gz Contains tcl8.3.2, tk8.3.2, otcl-1.0a8, tclcl-1.0b3 . |
ns2.26 is same..patch is there and g++41 and gcc41-compat-4.1 is there..now what steps to follow??
|
All times are GMT -5. The time now is 01:29 AM. |