05-16-04 03:34 PM
On Sun, 16 May 2004 02:27:55 GMT, "Robert Smith" <laclac01@yahoo.com>
wrote:
>I am trying to run a PERL script i have downloaded off the net and i get
>this error.
>
>Can't locate Image/Grab.pm in @INC (@INC contains:
>/usr/lib/perl5/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/5.8.0
>/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/site_perl/5.8.0
>/usr/lib/perl5/site_perl
>/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
>/usr/lib/perl5/vendor_perl/5.8.0
>/usr/lib/perl5/vendor_perl .) at ./carte.pl line 137.
>BEGIN failed--compilation aborted at ./carte.pl line 137.
>
>I don't know what Image/Grab.pm is.
>I am running redhat 8.0
>Can someone help me?
>
The other poster's advice about using the CPAN module
works well, but can be intimidating for someone totally
unfamiliar with CPAN.
There is also a slight security risk running the CPAN module
as root (very slight, yet not negligible).
You can also go to http://cpan.org and search for
Image::Grab. Then download the tgz package for it.
http://search.cpan.org/CPAN/authors...Grab-1.4.tar.gz
Then it's simple:
unpack the tarball
perl Makefile.PL
make
make test
make install (as root or you can install to your homedir as user)
--
I'm not really a human, but I play one on earth.
http://zentara.net/japh.html
[ Post a follow-up to this message ]
|