|
![]() |
#1 |
Registered User
Datum registracije: Jul 2008
Lokacija: Osijek
Postovi: 11
|
(riješeno) NS2 problem
Zanima me dal je netko imao kakvih iskustava sa instaliranjem gore navedenog programa? pokusavam ga instalirati na Ubuntu 9.04, ali nikako da uspijem. Dakle, prvo sam skinio allinone aplikaciju i izbaci mi error Code:
/home/ubuntu/programmer/ns-allinone-2.34/tk8.4.18/unix/../generic/tk3d.c:1405: error: ‘TkBorder’ has no member named ‘objRefCount’ make: *** [tk3d.o] Error 1 tk8.4.18 make failed! Exiting ... For problems with Tcl/Tk see http://www.scriptics.com Code:
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... no checking for tclInt.h... no checking for libtcl8.4... no checking for init.tcl... no checking for http.tcl... no checking Tcl http.tcl library... configure: error: Couldn't find http.tcl in /http /http2.4 /http2.3 /http2.1 /http2.0 /http1.0 Nadam se da ce mi netko uspiti pomoci kako ga instalirati :-). p.s. pokusao sam ga instalirati i na windowsima, ali isto 0 bodova. |
![]() |
![]() |
![]() |
#2 | |
Guest
Datum registracije: Jun 2008
Lokacija: Splity
Postovi: 3,003
|
Da ne ostane neodgovoreno… Osim ako nije posebno važno baš riješit problem, možda je lakše potražit pripremljene VMware images? Citiraj:
|
|
![]() |
![]() |
|
|
Oglas
|
|
![]() |
#3 |
Registered User
Datum registracije: Jul 2008
Lokacija: Osijek
Postovi: 11
|
da, nije bas "obican" problem i nadam se da nisam fulao sto sam ovdje postao. uglavnom uspio sam rijesiti problem i evo ako se netko bude jednog dana bavio sa ns2 i imao ovakav problem da zna sto treba napraviti. 1. napraviti update ubuntu-a 2. sudo apt-get install libx11-dev kdebase-dev 3. instalirati ns2 (ja sam radio sa ns-allinone-2.34) 4. u bashrc staviti # LD_LIBRARY_PATH OTCL_LIB=/your/path/ns-allinone-2.32/otcl-1.13 NS2_LIB=/your/path/ns-allinone-2.32/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/your/path/ns-allinone-2.32/tcl8.4.15/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/your/path/ns-allinone-2.32/bin:/your/path/ns-allinone-2.32/tcl8.4.15/unix:/your/path/ns-allinone-2.32/tk8.4.14/unix NS=/your/path/ns-allinone-2.32/ns-2.32/ NAM=/your/path/ns-allinone-2.32/nam-1.13/ PATH=$PATH:$XGRAPH:$NS:$NAM i to je to :-). |
![]() |
![]() |
|
|
Oglas
|
|
![]() |
|
|