Quote:
Originally Posted by knudfl
Ns-allinone-2.35 : Please use gcc / g++ version 4.4 ..
sudo apt-get install g++-4.4
cd ns-allinone-2.35/tclcl-1.20/ && make clean && rm Makefile &&
cd ../otcl-1.14/ && make clean &&
cd ../ns-2.35/ && make clean && rm Makefile &&
cd ../ && export CC=gcc-4.4 CXX=g++-4.4 && ./install
.
|
thanx one more time for your assistance
when am in ns-2.35 i cant remove the makefile, the following error appears
cl.o gen/ptypes.o common/win32.o emulate/net-ip.o emulate/net.o emulate/tap.o emulate/ether.o emulate/internet.o emulate/ping_responder.o emulate/arp.o emulate/icmp.o emulate/net-pcap.o emulate/nat.o emulate/iptap.o emulate/tcptap.o emulate/inet.o common/tclAppInit.o common/main-monolithic.o common/tkAppInit.o nstk gen/* ns.core core core.ns core.nsx core.nse common/ptypes2tcl common/ptypes2tcl.o
rm: cannot remove `gen/version.o': Permission denied
rm: cannot remove `gen/ns_tcl.o': Permission denied
rm: cannot remove `gen/ptypes.o': Permission denied
rm: cannot remove `gen/ns_tcl.cc': Permission denied
rm: cannot remove `gen/ns_tcl.o': Permission denied
rm: cannot remove `gen/ptypes.cc': Permission denied
rm: cannot remove `gen/ptypes.o': Permission denied
rm: cannot remove `gen/version.c': Permission denied
rm: cannot remove `gen/version.o': Permission denied
make: *** [clean] Error 1
====================
i typed makefile instead of Makefile, typos error now it has been removed
after the last step (export CC-gcc...) it gives me this error now
gcc-4.4 -O2 -pipe -Wl,--export-dynamic tclAppInit.o -L/home/williams/ns-allinone-2.35/tcl8.5.10/unix -ltcl8.5 -ldl -lieee -lm \
-Wl,-rpath,/home/williams/ns-allinone-2.35/lib -o tclsh
tcl8.5.10 make succeeded.
Installing libtcl8.5.a to /home/williams/ns-allinone-2.35/lib/
cp: cannot create regular file `/home/williams/ns-allinone-2.35/lib/#inst.15445#': Permission denied
rm: cannot remove `/home/williams/ns-allinone-2.35/lib/libtcl8.5.a': Permission denied
mv: cannot stat `/home/williams/ns-allinone-2.35/lib/#inst.15445#': No such file or directory
ranlib: could not create temporary file whilst writing archive: No more archived files
make: *** [install-binaries] Error 1
tcl8.5.10 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.