Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

a) How to correct it? What is the gcc version needed for ns-2.31? For ns-2.28, I had used gcc410. Does it work with ns-2.31 also or is it different?
b) And why is that wimax 1.02 / ns-2.28 is not working with the tcl examples? Is it like this combination does not work on Ubuntu 11.04 or irrespective to any platform it'll not work?
c) Also let me know about "ns231-wimax203-i686" that you have provided for download. How am I supposed to install it with ns-2.31 after ns-allinone-2.31 is installed successfully?

Thanks.

Quote:

Originally Posted by knudfl

# 29.

That's right, wimax 1.02 / ns-2.28 doesn't work with the two tcl examples.
Wimax version 2.03 for ns-2.31 : OK.

Ns-allinone-2.31 : gcc / g++ version 4.1 will work.
The reason to show the "ns231-wimax203-i686" :
I used a 'dirty trick' to compile it : ns-2.31/packmime/* failed,
so I copied the five packmime/<file>.o from an unpatched ns-2.31.

The binary will work as a standalone, when you have /home/<name>/lib/,
where "lib/" is the lib/ folder from a compiled ns-allinone-2.31/lib/.
Tested OK with the two example*.tcl on an OS with no other ns2 than "lib/"

P.S. : How did you make / get a gcc410, that works on Ubuntu 11.04 ?
(I used the home made g++41-compat-4.1.2_i386.deb, gcc41-compat-4.1.2_i386.deb
once created on a clean install of Ubuntu 11.04 with no updates.)

Can you please provide me the steps that I need to carry out? g++41-compat-4.1.2_i386.deb, gcc41-compat-4.1.2_i386.deb should be installed first is it? Before even ns-2.28 is installed on Ubuntu 11.04?
The link which I referred for gcc compilers is "http://www.linuxquestions.org/questions/linux-software-2/how-to-integrate-the-resource-energy-leach-class-into-ns-2-34-a-870368/page13.html". The downloadable given there are to be used no?

Quote:

Originally Posted by knudfl

# 31.

Ns-allinone-2.31 : gcc / g++ version 4.1 will work.

P.S. : How did you make / get a gcc410, that works on Ubuntu 11.04 ?
(I used the home made g++41-compat-4.1.2_i386.deb, gcc41-compat-4.1.2_i386.deb
once created on a clean install of Ubuntu 11.04 with no updates.)

Yes, those two packages have been available for about a year.
( Google will find them easily too.)
Will work with ns-allinone, versions 2.26, 2.27, 2.28, 2.29, 2.30, 2.31, 2.33, 2.34.
( 2.26, 2.27, 2.28 with a "gcc410-patch" ).

Hello everyone. I am facing a problem in running the Network Animator (nam package) when installing ns2. While I run "./configure" it says that "failed to open shared file libotcl.so". And so if i enter the "make" and "make install" it doesn't work. That means my nam is not installed. I don't know how to recover this problem. I have successfully installed ns2 in my Red Hat Enterprise 6 and i can simulate and get an output file(like .tr). But the tcl files that are written to run the nam i. e. network animator also, it doesn't run. But it is compiled and gives the output file(in .tr). Can anyone please help me in this case? I really need to install nam package. I am a bit new user in RedHat Enterprise 6. I have installed the required and optional packages except Xgraph. Because installing Xgraph also shows some errors. But first can anybody help me installing nam-1.14.i386.rpm this package please? I would be grateful.