Hello,

I had a script that uses Image::ThousandWords module, which has Image::Thumbnail as its prerequisite. However, when I ran my script, I got this error:

Can't locate Image/Thumbnail.pm in @INC (@INC contains: /usr/lib/perl5 +/5.8.1/i686-linux /usr/lib/perl5/5.8.1 /usr/lib/perl5/site_perl/5.8.1 +/i686-linux /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5 +.6.1 /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at /u +sr/lib/perl5/site_perl/5.8.1/Image/ThousandWords.pm line 77. BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.1/Im +age/ThousandWords.pm line 77. Compilation failed in require at temp3.cgi line 9. BEGIN failed--compilation aborted at temp3.cgi line 9.
My provider replied:

It was installed at: CPAN.pm: Going to build /LG/LGODDARD/Image-Thumbnail-0.42.tar.gz

Looking for Image::Magick ... ok Checking if your kit is complete... Looks good Writing Makefile for Image::Thumbnail /usr/bin/make -- OK Running make install Writing /usr/lib/perl5/site_perl/5.8.1/i686-linux/auto/Image/Thumbnail +/.packlist Appending installation info to /usr/lib/perl5/5.8.1/i686-linux/perlloc +al.pod /usr/bin/make install UNINST=1 -- OK perlmod--Install done
What could be the problem? What solution should I take?

Thanks, Jay Soon

Edit by tye, add CODE tags to wrap long tokens


In reply to Problem with Image::Thumbnail and Image::ThousandWords by soon_j

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.