Have you got JPEG enabled in your USE flags?
If not, or if you're not sure -
Code: Select all
USE="jpeg" emerge -avuND feh x11-misc/nitrogen
If that offers to emerge a whole lot of packages with jpeg highlighted, accept and add jpeg to /etc/make.conf
Edited because I can't type - 3rd time lucky!