Quote:
Originally Posted by knudfl
Welcome to LQ.
Prerequisites for ns2 / Ububtu 12.04 - i686 ...
( The 64bits (x86_64) version is not recommended for ns2.)
1) $ sudo apt-get install g++ autoconf automake libtool patch libxmu-dev xgraph
2) The gcc41/g++41 compilers, post #18 here :
http://www.linuxquestions.org/questi...022/page2.html
* Building ns-allinone-2.34 in Ubuntu 12.04 - i686 :
** Start from scratch in a new folder in /home/<name>/ :
$ cd ns-allinone-2.34/ && export CC=gcc41 CXX=g++41 && ./install
... Installing the executable 'ns' (and nam) to /usr/local/bin/ :
$ cd ns-2.34/ && sudo make install
$ cd ../nam-1.14/ && sudo make install
... That's it. Don't do anything more.
(Like adding something to .bashrc: Not required when you can do 'make install'.)
-
|
Hi Sir!
plz i need your help i have installed NS2.34 and a tried to add lte patch but when i tried to simulate enaya.tcl example there's a problem , than i reinstaled ns2.34 but this error is shown:
tcl8.4.18 make succeeded.
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
Installing libtcl8.4.a to /home/aziza/Bureau/ns-allinone-2.34/lib/
cp: cannot create regular file `/home/aziza/Bureau/ns-allinone-2.34/lib/#inst.20046#': Permission denied
rm: cannot remove `/home/aziza/Bureau/ns-allinone-2.34/lib/libtcl8.4.a': Permission denied
mv: cannot stat `/home/aziza/Bureau/ns-allinone-2.34/lib/#inst.20046#': No such file or directory
ranlib: could not create temporary file whilst writing archive: No more archived files
make: *** [install-binaries] Error 1
tcl8.4.18 installation failed.
Tcl is not part of the ns project. Please see
www.Scriptics.com
to see if they have a fix for your platform.
plz i need help