Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm using ubuntu 13.10, and now I have problem with the ns2.34+leach installation. If I only install ns2.34,it's very easy, but I find it difficult to
install leach.I have read a lot of the threads but couldn't find a solution. I deleted ns2.34 and hope someone can tell me how to install ns2.34+leach.
(1) Could anyone tell me the full steps to install them? Thanks a lot!
(2) I want to know what are the 'prerequisites' in 'First : Install the ns-allinone-2.34 prerequisites → → '
knudfl had made a explation but when I execute '3) export CC=gcc41 CXX=g++41 && ./install',the error shows the gcc41 couldn't be found but I had installed the gcc41 and reboot my computer as instruction.
(3) Can anyone tell me why the gcc41 counldn't be installed as instruction?
Quote:
Quote from knudfl:
Well, then delete ns-allinone-2.34/ , and do things in a right way :
First : Install the ns-allinone-2.34 prerequisites → →
The compilers gcc41-compat / g++41-compat for the 32bits (i686) Ubuntu 13.10 :
gcc41.. https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41.. https://drive.google.com/file/d/0B7S...it?usp=sharing
$ sudo dpkg -i gcc41-compat-4.1.2-ubuntu1210_i386.deb g++41-compat-4.1.2_i386.deb
... Then reboot, and the new compilers are ready for use.
Building ns-2.34 with LEACH :
1) tar xvf ns-allinone-2.34.tar.gz
2) cd ns-allinone-2.34/ && tar xvf leach+pegasis-ns234-files-2.tar.gz https://drive.google.com/file/d/0B7S...it?usp=sharing
3) export CC=gcc41 CXX=g++41 && ./install
4) cd ns-2.34/
5) sudo make install
... That's it :
Don't do anything else, like adding some *PATH text to .bashrc : Never required.
Last edited by fusionzhang; 06-25-2014 at 03:30 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.