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:firstname.lastname@example.org:/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:email@example.com:/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:
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 “$
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.