Installing tracegraph in a 64 bit Linux Machine (Linux Mint or Ubuntu)

Since recent days, the 64 bit operating systems were deployed in many computers. Of late, we would like to use the older softwares that were compatible only to 32 bit OS. One such software is tracegraph that will be running comfortably on a 32 bit machine, but is lacks in running in 64 bit machine. This post will help you in understanding how to install tracegraph in a 64 bit machine.

so installing tracegraph in a 64 bit machine needs a special instruction like this

In Ubuntu and Linux Mint,

if you get error like this

bash: ./trgraph: No such file or directory

(this is mainly because you are trying to run in a 64 bit machine)

Issue the following command,

sudo apt-get install ia32-libs

(it may download nearly 80MB of software)


NS2 installation in Fedora 18

This post helps the developers to install NS-2.35 version in Fedora 18.

In my machine, I have used GNOME Desktop with all the options selected. A new type of installer is been designed from Fedora 18 onwards.

WP_000120

Fedora 18 has limitations unlike the previous distros is that, it does not install all the softwares that are needed for X Software development, so we need to download those softwares separately. May be you can issue a command in super user mode.

su

yum groupinstall “X Software Tools”

Installation of NS-2.35

tar zxvf ns-allinone-2.35.tar.gz

cd ns-allinone-2.35

./install (this is dot slash install)

  • You may possibly get one error during your installation is linkstate/ls.h error
  • If you get the above error, open the file (~ns-2.35/linkstate/ls.h) using gedit or any text editor
  • Go to line number 137 and change this line (void eraseAll() { erase(baseMap::begin(), baseMap::end()); })  to

 

void eraseAll() { this->erase(baseMap::begin(), baseMap::end()); }

  • again you try the command ./install and this time the installation will be successful.
  • Once installed the PATH information will be provided to you.
  • Copy the PATH and LD_LIBRARY_PATH Variable to /home/pradeep/.bash_profile (see a dot in the beginning)

    Input the path information in .bash_profile file like this

    export PATH=$PATH:<Place your paths here>

    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH: <place the LD_LIBRARY_PATHS> here.

    Once done, save the file and close

    execute the command

    source .bash_profile

    try ns or nam to see whether your installation succeeded.