Monday, July 30, 2007

Linux is indeed tough...

I agree that linux is really great, but, doing stuff is a real pain for Windows people like me. As linix is free in every aspects, I wanted to be acquainted with the technologies under linux. Like everyone likes GUI, I wanted to write GUI programs and started learning GTK+.
I had a misconception that everything would be there in the "Synaptic Package Manager" but I was not able to find GTK in that. Anyway, sources are a free download. Downloaded them and their dependencies from their website.
Dependencies! It was the main problem for me. The dependencies had other dependencies, i.e. Nested dependencies. Somehow, managed to find and install then with three magical commands "./configure", "make" and "make install".
Well, these magical words, however, needed some small changes in between.
One of the dependency I'd little problems was the "gLib" (gnome Library). Although it got installed easily, there was an older version installed which caused problems. Thought of removing it from "Synaptic Package Manager", but removing that would cause, literaly, remove everything on the system. As always, google is there to help with lots of information. Thanks to ubuntu forums as well, I somehow managed to install everything.
At last, after about 5 hours, GTK+ is successfully setup on my machine. I'm able to write GTK+ programs using the Anjuta IDE, which is pretty good.
All's well that end's well. I'm enjoying linux!!!

3 comments:

Anonymous said...

There was a simpler way though - the apt-get install. gtk+ is there in the Ubuntu repository. :)

You would want to try out Qt too, but that's for KDE.
All of it in the Ubuntu repository, you just need the right name for it. I think gtk+ is called libgtk or something. One million forums around to find that out. :)

Anonymous said...

Hey Sattvik is the Alternate VTU results page designed by u...

Biplav said...

Hey Sattvik is the Alternate VTU results page designed by u... plzz reply