in reply to [OT?] Installing (configuring) Image::Magick
As well as the runtime libraries, you'll need header files to build against the libs. Look for a 'dev' or 'development' version of the package which contains your jpeg libs.
On debian/ubuntu it's called "libjpeg62-dev", if that helps.
But as someone else says, maybe just install image magic from your OS package, at least as a first step.
Good luck.
In Section
Seekers of Perl Wisdom