As some of you may know when u install Debian(most likely Ubuntu too) you will not get many thing in the first place if you did a net install. So as a developer one of the most important thins is that u need man pages which are unfortunately not avialable. To install man pages... try
#apt-get install manpages-dev
Also if you want to see where man pages are located issue
Hope this will help others out as I found it very difficult to get that fixed.