Pages

Sunday, January 30, 2011

Installing ns-2.31 on Ubuntu 10.10 for novice, from a novice

Here are the errors I encountered while installing ns-2.31 on Ubuntu 10.10 
1. Make sure the packages libxt-dev, libx11-dev and libxmu-dev are installed. Synaptic Package Manager is the best place to start - just mark these packages and say apply.

2.
/home/sri/NS_2/ns-allinone-2.31/otcl-1.13/otcl.c:495: undefined reference to `__stack_chk_fail_local'
otcl.o: In function `Otcl_Init':
/home/sri/NS_2/ns-allinone-2.31/otcl-1.13/otcl.c:2284: undefined reference to `__stack_chk_fail_local'
ld: libotcl.so: hidden symbol `__stack_chk_fail_local' isn't defined
ld: final link failed: Nonrepresentable section on output
make: *** [libotcl.so] Error 1
otcl-1.13 make failed! Exiting ...
See http://www.isi.edu/nsnam/ns/ns-problems.html for problems
sri@sri-Studio-1458:~/NS_2/ns-allinone-2.31$ ^C
sri@sri-Studio-1458:~/NS_2/ns-allinone-2.31$ 

 do this :

edit the configure.in file ( in folder otcl-1.13) at 
Linux*)
         SHLIB_CFLAGS="-fpic"
         SHLIB_LD="gcc -shared"
         SHLIB_SUFFIX=".so"
         DL_LIBS="-ldl"
         SHLD_FLAGS=""
 
 and just save it .
 
do not forget to 
...otcl-1.13$ autoconf -f
 
3.
make sure the command
XGRAPH=/your/path/ns-allinone-2.34/bin:/your/path/ns-allinone-2.34/tcl8.4.18
/unix:/your/path/ns-allinone-2.34/tk8.4.18/unix

is on a single line. Otherwise it throws an error saying "path not found" or something like that, I do not remember...


Finally, after your ns2.31 is successfully installed you get a a message  
Please put /home/sri/NS_2/ns-allinone-2.31/bin:/home/sri/NS_2/ns-allinone-2.31/tcl8.4.14/unix:/home/sri/NS_2/ns-allinone-2.31/tk8.4.14/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put /home/sri/NS_2/ns-allinone-2.31/otcl-1.13, /home/sri/NS_2/ns-allinone-2.31/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH (paths)
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=paths

(2) You MUST put /home/sri/NS_2/ns-allinone-2.31/tcl8.4.14/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.


After these steps, you can now run the ns validation suite with
cd ns-2.31; ./validate
sri@sri-Studio-1458:~/NS_2/ns-allinone-2.31$ cd NS_2/ns-allinone-2.31/ns-2.31/

Before doing anything, just check the environment variables i.e., echo $variable_name
Most probably the environment variables would have been updated automatically. You wouldn't need to set up separately. 


Then, smile and relax!

Current Thought :
How did they teach us Digital Communication without teaching us Stocahstics in Undergrad??? The first lecture of about two hours Prof. Masoud Salehi gave, covered the entire DC we were supposed to study in UG. And I finally understood complex numbers and communication engineering!

Current Song:

Dil Haare by Jal from the album Aadat
"hoh hooo hooo
hoh hooo hooo
hoh hooo hooo.."

Saturday, January 29, 2011

My favourites

Mom is the best cook.
Best friends are all in Bangalore.
Corner House is where you get the finest ice cream.
Tastiest pastries are from Sweet Chariot.
Coffe Day is the most convenient place where you sit and chat with friends.
Rohit Barker is the best Radio Jockey.
Deccan Herald is one sensible newspaper (only the hard copy. e-version is a bit sad).
My terrace room is THE BEST palce to recline, relax and watch the rains falling on the huge green cap of the army area three lanes away from our house. It is also decorated with beautiful red flowers of Butea monosperma (aka flame of the forest).
Flowers on the trees that line the streets of Bangalore are the prettiest. Way to go, BBMP!

Fruits that taste the best -
Guava from the vendor at the Ganesha Temple, Kalyan Nagar, Bangalore.
Sugarcane from our garden.
Papaya from hometown.
Varieties of grapes from the Hop-Coms during the drakshi-mela.
Chikku from a relative's (who I don't really like) native place.

Fruits and vegetables in the most technologically advanced nation taste "artificial" and "engineered"! Aarrhh!

Current Thought :
Why do I feel like blogging when a notorious assignment is due less than 35 hours??

Current Song:
Feel the rain on your skin By Natasha Bedingfield

"Feel the rain on your skin
No one else can feel it for you
Only you can let it in
No one else, no one else.."

Wednesday, January 26, 2011

What everyone can learn from the Americans

Respect others' space.
When you are learning something, learn completely. No half measures. Understand thoroughly.
No pretensions.
Do not speak ill of people around.
Be straight-forward.
Do what you love to do.
Every country has a set of rules. People here truly follow them. That's what makes a discipled nation.
Courtesy on road; follow traffic rules; yield to pedestrians.
*
You will not find traffic moving in either direction when a school bus has pulled over to drop kids off and the kids have crossed the road.
They drive very carefully. This shows their value for a life.
*
Do not work on Friday and Saturday Nights :D

***
The citizens of the US enjoy the true sense of liberty. What a word "Liberty" is!
I'm happy posting this early morning. This is going to be one good day.

*****
Current Song:
Stuck in a Moment by U2

"You've got stuck in a moment
And now you can't get out of it..."

Saturday, January 22, 2011

She cried, they hugged and they spoke in Tamil

Location : Logan International Airport, Boston
Time : circa 8 pm

She is blushing. She's been blushing since quite a few days. She can't wait to see him. All that she wanted was to be with him. She's finally going to see him tonight. There's still about an hour and a half for the plane to land. Looks like she wants to fast-forward time to the point when Krish's flight lands.

I step out to talk to Dad over phone. My conversations with Dad can be really lengthy at times. I'm talking. She calls me. "Ubuntu, can you check if the flight is landing on time?", she asks me. I find out and and tell her that there's no delay.

I resume talking. She calls again. "Ubuntu, find out what gate Krish exits through. There are so many gates at this terminal", she asks. I inquire at the help-desk. There are two possible gates, one for the passengers that have checked in their baggage and the other gate for those that have not. Since we do not know if Krish has checked in his baggage or not, she asks me to wait at one gate while she waited at the other.

She calls again. I walk up to the information desk again, third time. Again a query. The lady at the desk is now smiling. I tell this mad girl that it's only a matter of some minutes now; he'll be here.

I get back to my seat. "Ubuntu, you can identify him, right?", she asks this time. I said I would. I'm sitting alone, looking at the exit.

***

"yeh ladki toh poori pagal hain, yaar!" ("this girl is totally mad!") was my thought on my first day with her. The only thing she wanted was my laptop to talk to Krish over skype. The Skype application is installed on my laptop; ironically I did not have a Skype account! Still not.

Krish was supposed to study here in the US. Unfortunately, his visa was not approved while this madly-in-love 's was and it's been almost four months into her Master's program. There was not a single day she was completely happy here. She'd always talk to him. I wondered - when does she sleep? when does she study? when does she take some time off for herself? how can anyone talk to just one person the entire day? Doesn't she want to go out, at least for a walk? "Get a life!", I would tell her. "He's my life", she would reply.

***

She'll be happy tonight. He's traveling from another part of the country just to see her, right after a day since he came to the US. Since a long time I've been imagining the reaction on her face when she sees him - she's standing there with a bunch of flowers; she'd blush, tears would well up her eyes. What else, I wanted to see.

Well, I would be able to see that if Krish exits through the gate I am waiting at. I'm looking at the direction he would walk in. "Ubuntu, Krish...", she says walking up with him from the opposite direction!



***

I could not see the first reaction on her face when she saw him. All that I could catch was - she cried, they hugged and spoke in Tamil, which I do not understand.

A thing of past

Not too long ago I knew how to text on my cell phone. Thanks to inexpensive charges for messages, we would send out tons of messages to friends everyday during college.


I was introduced to the concept of messaging quite late compared to my peers. That was because I had a BSNL connection, which somehow disabled the option of texting, when I was gifted with a cool phone first time. Persistent complaints to the customer service never yielded any solution. So, I never sent out a text message until I was in third year of engineering when I switched to another service provider.


Funny forwards made us smile. All of us friends stayed connected 24X7 through texting each other. I would share practically each moment with my best friends. Be it complaining about weird people, unhappy incidents, sharing thought provoking quotations or 'cloud-nine' moments, my friends were just a text away.

On some rare days when there were no messages in my Inbox, I'd check if my phone is turned on or not!

Now in a foreign land, where texting costs more than I am willing to spend, texting has become a thing of past for me. Moreover, nobody here seems to use the texting service.

The other day, when I was noting down a sequence thoughts on my phone after a long time, I realized that I was finding it difficult to type!


PostScript
The only reason I stuck to BSNL for a long time was that it was a PSU. It was not worth doing so...

*****
Current thought:
Your first priority is your own self and you have no right to hurt yourself.

***

Current Song:
Behind Blue Eyes by Limp Bizkit

***

Quote of the post:
“Borrow trouble, if that’s your nature, but don’t lend it to your neighbours.”
- RUDYARD KIPLING

Borrowing trouble is so very me! When will I stop doing that! God!

Monday, January 10, 2011

IPL - A disgraceful event

The big news in the papers these days is that of the cricketers not chosen for the overrated IPL. I particularly do not like the words the media is using liberally – players auctioned, costliest, sold, unsold etc. As if the cricketers are commodities that can be bought by untalented movie “stars” and arrogant business magnates.

Lot of ignominious columns are being written about Brian Lara and Sourav Ganguly among others. Have they forgotten that these players hold several incredible records, playing for their countries? The articles the newspapers carry seem to wane the respect the players deserve.

The glamour version of cricket may have attracted a huge attention. But it has earned no respect.

***

In school we were grouped into four teams – red, blue, green and yellow. Every year we would have to join a different team. Since we did not stay in a single team too long, we never felt a sense of belonging toward our current team.

Now that many of the IPL cricketers play for a different team than last year, do they go out on the ground and play with passion for their team or just for the lure of big money? And who is the audience going to cheer – its home team or the “home players” that are on the rival team?

*
IPL - Indian Premier League
*****
Current thought :

It takes only a while to land yourself in trouble. But it takes ages to get out of the mess.

*****
Current Track:

Widescreen by Vanessa Mae

Monday, January 3, 2011

The Yardsticks


I have been trying out varieties of tea at various tearooms since the day I had this awesome lemon tea at the Vellore Institute of Technology last July. Unfortunately, no cup of tea has even come close to the tangy tea I’ve relished at VIT. Cafes in Bangalore and Boston, you really need to know what tea tastes like. 

I used to religiously watch the TV show Megastrucures on National Geographic Channel. After this, structures that most people marvel at do not impress me unless I learn the design and engineering, challenges faced during its construction, innovative solutions  behind the “good-looking” buildings.

People say you cannot always expect the best of everything; be satisfied with what you have. But I can’t seem to be. I cannot seem to appreciate anything that's not at least close to the object of reference that I hold close to me.

When I have experienced the best of something, or come across really awesome persons, I always consciously measure other things and people by their standards (and of course, mine). Very few leave a good impression which means I’m seldom delighted.


*
I cannot have enough of what I like and that's so little available! Huh...

***


I remember reading this quote long back "When everyone around you is happy, you are bound to be happy". I think Sir M Vishweshwaraiah said this. I was just thinking about it. What I feel is - when people around you are sad, it will definitely make you sad!

*****

Current  Song:
Do dil from the movie Pardes.
“Kahin kabhi lag jaaye dil toh
Kahin phir dil na lage”


Sunday, January 2, 2011

They are not you

Do you know that I used to wake up early just to see you? No moment is more beautiful than seeing you early morning. Your radiating vibrant smile assures me of a fine day.

Why are you hiding now? There is no fun without you. It’s not that life does not go on without you; I still study, eat well, and do all my work. But, I feel good when you are out with all your vigour. I do not like to see you being gloomy.

There are substitutes to make up for your extended absence. But they are not YOU! Do you get me?

*

When will this spring season get over? The days are so gloomy and the Sun starts to set by 4! The electric bulbs are always there, but nothing matches the natural sunlight. I look forward to the bright sunny days.

*****

Current Song:

You Rock My World by Michael Jackson
Related Posts Plugin for WordPress, Blogger...