Hi
I want to install ns2.29-nist-mobility on ubunto11.04
according to your last guides I do so:
Code:
Add 'hardy' to /etc/apt/sources.list ( sudo gedit /etc/apt/sources.list )
deb http://76.73.4.58/ubuntu/ hardy-updates main
deb http://76.73.4.58/ubuntu/ hardy universe
deb http://security.ubuntu.com/ubuntu hardy-security main
deb http://security.ubuntu.com/ubuntu hardy-security universe
And : sudo apt-get update && sudo apt-get install g++-3.4
I guess, you already have the other prerequisites ?
They are : sudo apt-get install g++ make autoconf automake libtool \
libx11-dev libxmu-dev libxmu-headers libxt-dev xgraph
cd ns-allinone-2.29/tk8.4.11/ &&
patch -p0 < tk-8.4-lastevent.patch && cd ../ &&
export CC=gcc-3.4 CXX=g++-3.4 && ./install
but the installationstops withthis error:
Code:
============================================================
* Build tcl8.4.11
============================================================
loading cache ./config.cache
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... gcc3.4
checking whether the C compiler (gcc3.4 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
Then I used from the guide below:
Code:
ns-2.29 installation problem #10:
1) Download and extract the original ns.
http://sourceforge.net/projects/nsna...ar.gz/download
2)download and extract the mobility package (ns-2.29-nist-mob-022707.tgz.) inside the ns-allinone directory
3)Follow the Instructions here:
http://www.linuxquestions.org/questi...4/#post4007465
4)Apply this patch:
http://all-time-ns-2.blogspot.com/20...m-in-ns-2.html
5)Apply the patch attached:
6)./install in the ns-allinone directory.
but still I have this error:
Code:
============================================================
* Build tcl8.4.11
============================================================
loading cache ./config.cache
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... gcc4.1
checking whether the C compiler (gcc4.1 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
tcl8.3.2 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
what I must do now?
please help me!