I am running Ubuntu 11.04. Along with python 2.7 I have also 2.6 and 2.5. I am using 2.5 version to work and deploy my applications on App Engine. I have installed PIL (Python Image library) but despite I have all the dependencies covered it informs me that it cannot support jpeg and the rest of formats. How can I make the libjpeg-dev available to my custom python installation?