For what I know of ubuntu, isn't the best distro for compiling things, any way, compiling isn't more than
Code:
./configure && make && make install
Now, you should check the README file in the source package or type
Code:
./configure --help
to see all the options avialable for the compile process.

However, you should be looking for .deb package for ubuntu, is more easiest to mantain updated, take a look at this post and you should be on way to get it working



Regards