perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@tuxteam.de
Subject Re: Making .pm files run.
Date Wed, 17 Jan 2007 07:22:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Jan 16, 2007 at 11:06:54AM -0800, iNetForce wrote:
> 
> I installed Image Magick, but now im getting this error:

Hi, Force

just to repeat what has been said elsewhere in slightly different terms
when you see this:

> http# apachectl restart
> /usr/local/sbin/apachectl restart: httpd not running, trying to start
> Syntax error on line 691 of /usr/local/etc/apache/httpd.conf:
> Can't locate Mail/Sendmail.pm
               ^^^^^^^^^^^^^^^^

that means that Perl is looking for a module Mail::Sendmail, which it
expects to be in one file Mail/Sendmail.pm. It is looking in the
following  directories (I edited for clarity):

>                                   in @INC (@INC contains:
>  /usr/home/httpd/domains/www.ehunter.com/ehunter_perl/Handlers
>  /usr/local/lib/perl5/5.8.8/BSDPAN
>  /usr/local/lib/perl5/site_perl/5.8.8/mach
>  /usr/local/lib/perl5/site_perl/5.8.8
>  /usr/local/lib/perl5/site_perl
>  /usr/local/lib/perl5/5.8.8/mach
>  /usr/local/lib/perl5/5.8.8
>  .
>  /usr/local/ /usr/local/lib/perl) at

So to remedy this, you can go to CPAN and install the missing module
(which will probably go to /usr/local/lib/perl5 or ...site_perl). You
might try to use the "standard" Perl modules in your OS (if there are
any), but guessing from the paths in your @INC it looks like a homegrown
Perl installation (the "local" bit). So CPAN looks like the better
approach.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFrc6jBcgs9XrR2kYRApg9AJ9Q527Wc6gM6ImVKEM3OyUj4YsD6QCaApJR
cB58h8/+7tXijWz/YCiSBiE=
=29h/
-----END PGP SIGNATURE-----


Mime
View raw message