So many updates, so many packages, so many hit and trials, 5 days, 2 systems, one software: NS2.34 !!! Tried to installed the software on my lab computer with Ubuntu 8.10 and lappy with Ubuntu 9.10 but both failed with the error:
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.
The two standard methods given on the site:
http://www.isi.edu/nsnam/ns/ns-build.html
didn't work either... neither did! :(
Also the site:
http://www.mannasim.dcc.ufmg.br/index.htm
If these work for you right away, do tellme what did! :) thanks.
...then some issues came to light like
1. " you need to install the X libraries (to compile xgraph, nam, tk and otcl):
$ sudo apt-get install xlibs-dev
"
but "Package xlibs-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xlibs-dev has no installation candidate
"
2. " If your ubuntu version is 9.10, you must change the variable of environment CC
$ export CC=gcc-4.3
"
3. A blog wrote: " Firstly otcl doesn't compile with the latest gcc-4.4 (available with ubuntu 9.10). You need to compile it with gcc -4.3. If you get through this then also your problem is not solved, the ns-allinone-2.3x skips installing nam & xgraph as ubuntu 9.10 is not friendly with these packages available in ns-allinone-2.3x package.
Following are the simple steps to install ns2 on Ubuntu 9.10 through launchpad ppa.
A> Firstly remove all ns-allinone-2.3x directory (if you put it anywhere to install ns2) and revert back all the path changes you made in ~/.bashrc related to ns2.
B> Now export the Wouter Horré's ppa repository key by typing the following command on terminal and enter:
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B3F3334F
C> Now add the following ppa repository to source list [?]
deb http://ppa.launchpad.net/wouterh/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/wouterh/ppa/ubuntu karmic main
Reload repository information when prompted by "The information about available software is out-of-date" notification or reload it manually by following command on terminal:
$ sudo apt-get update
D> Now type the following command on terminal to install ns from the launchpad ppa repository:
$ sudo apt-get install ns nam xgraph
"
Don't know if that worked magic for me or not, though i doubt it could have as i got the message:
$ sudo apt-get install nam
[sudo] password for gurmeet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nam
May be the package xgraph did!!!?
4. Yet another hit and trial... during which i discovered
A)
$ yum install autoconf
can be used in ubuntu after
$ sudo apt-get install yum
but obviously not before that... i thought yum is for fedora!?!
B)
PATH variable is not defined in /etc/profile or .profile... its .bashrc ! :)
" STEP 1
From terminal login as super user and do the following.(internet must also be connected in order to install the package dependencies.
yum install autoconf
yum install automake
yum install gcc-c++
yum install libX11-devel
yum install xorg-x11-proto-devel
yum install libXt-devel
And for nam installation (optional):
yum install libXmu-devel
STEP 2
From terminal go to the folder where the ns-allinone patch is placed and type the following to extract
$ tar -xzf ns-allinone-2.31.tar.gz
$ cd ns-allinone-2.29
$. /install
STEP 3
Now go to /etc folder and type
gedit ~/.bashrc
Add the following lines to the end of it. Remember replace "/your/path" by something like "/home/kazim". And accordingly also change the version numbers. This is for ns 2.31.
"
I stopped after STEP 1 only to look for ns 2.3x package for fresh download as some of the tarred files i had showed:
"gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
"
Meanwhile i found:
5. Finally the saviour:
http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04
worked for me on 9.10 :)
Following this i immidiately had everything in place! :)
Monday, December 28, 2009
Victory over ns2
Posted by Gurmeet Singh at 12:48 AM 2 comments
Labels: Technical
Thursday, December 10, 2009
just ONE word
hey!
Its late at night, may be not for most of you guys, but surely for me...still i'm banging my head against the lappy, as i'm hardly able to get over the busy tiring day amidst which i had many a weird and oft repeated thoughts, some which can be mentioned here but are a taboo from my family and some, reading which even you guys might be shocked!!!
It was just the beginning of a long day shopping at the Lajpath Nagar Central Market (donno if its correctly called so) when the endless chain of anxiety, anger, frustration, irritation and so many other feelings which I don't even have words for, started... it was when i was getting ready for the BIG day... i was about to visit my grandma's place after the shopping, and expectedly I was supposed to wear a turban there...
Its not that I have never worn the Big one earlier in my life, its just that the very idea of flauting it on my head, in the crowd where not none are like me, but none like me (that's completely my own point of view...you may find me the smartest surd ever, but my eyes beg to differ) except expectedly my mom among other family members...
So finally with my eyes closed...yes... Literally closed and my dad haven decorated the so-called sacred piece of cloth on my little little head... and then tied my well gelled beard to a neat one!!! (well, if this much neatness is allowed, then why not to the extent i want?) we left the house without me being reassured by the answer of "Mirror mirror on the wall, who's the most HIDEOUS of them all"!
If all this was not enough, this guy had to enter the Koutons showroom with his father exactly the same time as our shopping there... naah... i dont't have a crush on the guy (really?)... the guy was actually a sikh with his hair cut and was clean shaven too... and thankfully unlike many other hair-cut sikh guys he was not wearing a cap to hide/cover/whatever his head!
How does it affect me??? i was already fighting myself through my innermost largely unacceptable feelings, and suddenly someone comes and yells out at my face "LOOK... I HAVE ALL YOU WANT!!!"
Not shopping a single thing for myself was just one part of the story, but facing my family with a looOOoong face the entire day, saying a NO to whatever they offer to buy me, and ultimately ending the day with no results, just a blog entry is what I gained!!! Once my toungue went over to the extent of blurting out "jo chahiye wo to milta nahi hai" which earned as skeptical ears as eyes does my face!
Its not that I never talked about this with my family, but its that they consider it to be a topic of "Teaching Gurmeet" rather than a topic of "gurmeet's happiness" that I didn't discuss it today, even when they were making wild guesses of my dull mood; note... not very much asking me the same, except at my grandma's place in front of half a dozen other people ready to alienate me and my family upon a mention of something like that from any of us... listening this end most of my discussions with my parents about my happiness and perhaps self-confidence!
Posted by Gurmeet Singh at 11:14 AM 4 comments
Tuesday, December 1, 2009
SO FAR
Much has changed since i last posted...
1) no tree as a background image, that lonely tree too found a good company and left me alone, but i think its only when we are all alone that we get most encouraging inner voices and most constructive feelings.
2) haven't brushed since morning, but ya, breakfast was good...when is the bathroom being vacated btw?
3) bathroom reminds me of soaps, yeah daily soaps on TV, man... they are so damn addictive!!! this addiction seems to be heredity to me... from my dadi to my mom and from my mom by trickle down effect to me too...
4) at the end of the day i have no choice but to watch Adult TV Show on Channel V... Dare 2 Date, where the most daring person would be the one who dares 2 date the host of the show... watch it to know more ;-)
5) the only thing adult in the show was perhaps mother of the guy... Abhishek who was made to interfere with the kids' date... when he and Sakshi were keenly (Abhishek not so keenly) talking about ex-BFs of the lady and their...
sex) life, which actually Mr. Delhi didn't have... oOOops...did i say lady, naah....she was a baby, wearing as small clothes as my maid's 3 month old...
7) finally, close-up in my mouth feels so better...bring on the breakfast once again :)
8) the show along with my house was screeming to donate some clothes to Sakshi in winter rather than my maid!
9) Intern Blues... IIT kind of forcing me to stay Googlish but who won't like to live life France way!!! now France needs some time to think about considering my application when my institute says it does not recommend me...more on that shortly
10) is google still interested in me? has my IIT asked google too to dump the not-so-loyal Gurmeet?
11) Academia.edu: someone just searched for you on Google!!!
Me: who is it?
Academia.edu: someone from the United Kingdom searched Gurmeet Singh IIT
Me: excuse me... what is Google? and where is France? i live life the UK way!!!
12) Weekly HT-City message: be sincere, not serious.... and i realize that i was missing this during my 1st year of IIT... too serious? must be Gurmeet....ye newspaper me tab kyu nahi aya???
13) is it actually an unlucky number? i didn't think so when both google and France offered me intern on Friday the 13th November, but now when both are virtually fighting over (read 'with') me, i realize that may be its got something to do with the Super Combo of Friday+13th...!!!
{14) 14 in hindi... after world AIDS day celebration with my GF yesterday (this reminds me of the 'bhabhiji' incident) i feel too sleepy today! }
15) wonder why the above point is in braces? well.. { XXX } is a condom!
16) 'bhabhiji' incident...no its not some savita bhabhi like incident... those are on my underground blog site, mail me to subscribe...
17) well, a freind of mine from insti scrapped me "gurmeet tu hume bataya nahi bhabhiji ke baare me? yahan sab tujhse kaafii naraz hain" i wonder how this spread at the insti...shayad sach hai... pyaar aur pimple chhupaye nahi chhupta... where's the my anti-pimple lotion btw?
Posted by Gurmeet Singh at 9:00 PM 2 comments
Blog Archive
About Me

- Gurmeet Singh
- Silent Spectator, Tolerant, Observant, Emo, Easy going, Boring to some, Shy, what do u think? Professional Sites: 1) http://iitg.academia.edu/GurmeetSingh 2) http://sites.google.com/site/gurmeetcv/curriculum-vitae