Thursday, February 18, 2010

Installing Tracegraph in Ubuntu 9.10 with NS-2

Installation instructions on Linux:

1)Download tracegraph and mglinstaller from the webpage
Check Trace graph download page: http://www.tracegraph.com/download.html
Choose Linux version and download mglinstaller.
2) At the directory where you save the tracegraph and mglinstaller.
Command: tar -xvzf tracegraph202.linux.tar.gz
3) Command: gunzip mglinstaller.gz
4) Command: sh mglinstaller
5) When asking for location folder, set /home/user1/mgl as the location
6) set the environment path variable by
Command: gedit ~/.bashrc
In .bashrc file, add in the following:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user1/mgl/bin/glnx86
7) Check the environment,
Command: printenv LD_LIBRARY_PATH
8) Go to directory /home/user1/Tracegraph202 and run trgraph.
Command: ./trgraph


Errors encounter when installing:
1) ./trgraph: error while loading shared libraries: libmwcl.so: cannot open shared object file: No such file or directory

Solution: LD_LIBRARY_PATH is not defined properly. Check with printenv and set the environment again.

2) ./trgraph: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

solution: yum install libXp.so.6

2 comments:

  1. hello vinoth,,
    can u give tracegraph and mglinstaller source again?
    because http://www.tracegraph.com/download.html is expired maybe,, thanks..

    sekuichan@gmail.com

    ReplyDelete

Counter

blogger analytics