sir
i want to use ns-2.34 in ubuntu 12.04 so, i need gcc 4.1.
i have read your several posts in which you suggested to install gcc41 & g++41. Therefore installed
gcc41-compat*1210 //https://docs.google.com/file/d/0B7S255p3kFXNTlNURldUenRyb3c/edit?pli=1
g++41-compat //https://docs.google.com/file/d/0B7S255p3kFXNODIyODhhNDctZTRhMy00MDk4LWEzZDAtMThjMjljN2M2MGU4/edit?pli=1
when i used command
shipra@ubuntu:~/Desktop/ns-allinone-2.34$ export CC=gcc41 CXX=g++41 && ./install
it gives following errors.
Build tcl8.4.18
============================================================
configure: WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc-4.1
checking whether the C compiler works... no
configure: error: in `/home/shipra/Desktop/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see
to see if they have a fix for your platform.
Please help..its urgent
Quote:
Originally Posted by knudfl
# 13
# 12
If sudo was used for any commands, you will have no access : Permission denied.
Delete everything, and do :
Code:
tar xvf ns-allinone-2.34.tar.gz && cd ns-allinone-2.34/ && tar xvf ns-2.34-bgp_2.0.tgz && patch -p0 < ns-2.34-bgp_2.0_patch && export CC=gcc41 CXX=g++41 && ./install
|