http://www.perlmonks.org?node_id=663206


in reply to Help regarding a Perl Script

Hi, I'm the author of Imager::Screenshot

Makefile.PL looks for headers and libraries needed to work with whatever windowing system you're using, whether it's MS Windows or the X Window system.

If it can't find those libraries it's not going to work.

If you're using Windows (cygwin, mingw, VC++) you'll need the Windows SDK headers and libraries available.

If you're using a Unix box of some sort (not Mac OS X) you'll need the X libraries and headers available.