Baz has asked for the wisdom of the Perl Monks concerning the following question:
Software error: [Sat Jul 20 12:30:48 2002] Magick.pm: Can't locate Image/Magick.pm in +@INC (@INC contains: /home/baz/public_html /usr/libdata/perl/5.00503/ +mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i +386-freebsd /usr/local/lib/perl5/site_perl/5.005) at /home/baz/public +_html/surnames.cgi line 12. BEGIN failed--compilation aborted at /hom +e/baz/public_html/surnames.cgi line 12.
Magick.pm is in the directory: /home/baz/public_html/Image/ If I comment out the "use Image::Magick;" line, the program ccompiles correctly, (I have NBS.pm in the directory: /home/baz/public_html/GSM/SMS/) What am I doing wrong?? THanks.#!/usr/bin/perl -Tw use strict; $| = 1; use lib '/home/baz/public_html'; use CGI::Carp "fatalsToBrowser"; use CGI ":all"; use DBI; use GD; use Image::Magick; use GSM::SMS::NBS;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compiler Error I dont understand (use)
by dws (Chancellor) on Jul 20, 2002 at 16:56 UTC | |
by Baz (Friar) on Jul 20, 2002 at 17:08 UTC |