According to the error you posted you are missing libjpeg. I'd suggest sudo apt-get install libjpeg-dev and that should resolve it for you.
Probably should edit the wiki to include libjpeg-dev in addition to libtiff4-dev 

Try that and update the list if you have any further issues.

-- W