Tux paint

Tux Paint experience


The experience i got while working on tux paint was awesome! Tux paint is a painting program for kids. It is build using c programing. It took a long 4 weeks for me to install tux paint from source. I have already posted how to install tux paint from source code (see : Tux paint installation ). I have fixed 5 bugs in tux paint. Well no-one reviewed till date. I hope it will be reviewed soon. I fixed similar types of 5 bugs which include the full screen mode of chalk, emboss, cartoon tools etc. There are a lot of opportunities waiting for the newbies. Just beat around with such very small applications to get a smart kick off into contributions. When i was contributing for the 1st time, it was really hard for me to get a good start and concentration to work on it. Arvind, my friend was always there for any support any time. The pleasure i got when i fixed first bug cannot be expressed in words. Then it took only 2 days for me to fix the next 4 bugs. Making the right contributions at the right time will make a break through in every one’s career.

Easiest way to install Tux paint from source


After  long 6 months i have logged into my blog to post about installation of the Tux paint from source. It took more than 10 days for me to install Tux paint from the the source. I encountered a lot of unknown errors during the installation and i used ubuntu 10.10 amd 64 bit version.

1st step: download source from the Tux Paint repositories. Copy this sample code to get a CVS(Concurrent Version System) key, into a terminal. You may be a super user, to do these two actions. To access the CVS-repo of Tux paint, it is very essential to have a key. Please make a new folder and then follow the procedure given below.

$ sudo cvs -d:pserver:anonymous@tuxpaint.cvs.sourceforge.net:/cvsroot/tuxpaint login

There are several folders inside the Tux Paint repo, to acquire them you have to use this code snip.

$ sudo cvs -z3 -d:pserver:anonymous@tuxpaint.cvs.sourceforge.net:/cvsroot/tuxpaint co -P modulename

modulename can be tuxpaint, tuxpaint-config, tuxpaint-stamps, music-magic, drawtext, tuxpaint-website.

2nd step: Installing dependencies was one of the toughest challenge and also time consuming. Then i came to know about the magic word – “build-dep”. Build-dep (building dependencies). It consists of all the free libraries. Just copy the code snip, and execute it in a terminal.

$ sudo apt-get build-dep tuxpaint

But still there is one dependency called gperf, which is used to generate hashing function, and been used by Tuxpaint from the version .0.9.21.

To install gperf:

$ sudo apt-get install gperf

3rd Step Installation: Change your directory to tuxpaint (one of the module described above) in shell “$” (ordinary user : not root user), Type:

$ make

This will compile Tux Paint.

There will be errors encountered during the installation, even if you have installed all the dependencies, don’t worry its pretty simple. Its due to the temporary objects which cannot be overwritten during compilation and it occurs only if you had failed in compilation (i.e $ make) before. To overcome this – delete all the temporary object, for that just type.

$ make clean

And again do the “$ make“.

After compiling successfully, it will display this message: compiled successfully now you can install the Tux paint using

$ sudo make install

Then there wont be any problem with the installation. Tux paint is there at your mouse click.

Enjoy!!