Hi Al,

using perl v5.9.1on solaris 8

Im trying to get a perl application working that required some modules,
these i download from cpan and deployed., 

see install below,

obemgn2# make install
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Head.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Tools.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Body.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Entity.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Words.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/WordDecoder.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Parser.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Field/ContDisp.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Field/ParamVal.pm
Installing
/usr/local/lib/perl5/site_perl/5.9.1/MIME/Field/ConTraEnc.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Field/ContType.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Parser/Results.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Parser/Filer.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Parser/Reader.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/Binary.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/UU.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/Base64.pm
Installing
/usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/QuotedPrint.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/Gzip64.pm
Installing /usr/local/lib/perl5/site_perl/5.9.1/MIME/Decoder/NBit.pm
Installing /usr/local/man/man3/MIME::Field::ContDisp.3
Installing /usr/local/man/man3/MIME::Parser::Results.3
Installing /usr/local/man/man3/MIME::Head.3
Installing /usr/local/man/man3/MIME::Field::ParamVal.3
Installing /usr/local/man/man3/MIME::Field::ConTraEnc.3
Installing /usr/local/man/man3/MIME::Tools.3
Installing /usr/local/man/man3/MIME::Body.3
Installing /usr/local/man/man3/MIME::Decoder::Binary.3
Installing /usr/local/man/man3/MIME::Decoder::UU.3
Installing /usr/local/man/man3/MIME::Decoder::QuotedPrint.3
Installing /usr/local/man/man3/MIME::Decoder::Base64.3
Installing /usr/local/man/man3/MIME::Decoder::Gzip64.3
Installing /usr/local/man/man3/MIME::Field::ContType.3
Installing /usr/local/man/man3/MIME::Entity.3
Installing /usr/local/man/man3/MIME::Decoder::NBit.3
Installing /usr/local/man/man3/MIME::Parser::Filer.3
Installing /usr/local/man/man3/MIME::Words.3
Installing /usr/local/man/man3/MIME::Decoder.3
Installing /usr/local/man/man3/MIME::WordDecoder.3
Installing /usr/local/man/man3/MIME::Parser::Reader.3
Installing /usr/local/man/man3/MIME::Parser.3
Writing
/usr/local/lib/perl5/site_perl/5.9.1/sun4-solaris/auto/MIME-tools/.packlist
Appending installation info to
/usr/local/lib/perl5/5.9.1/sun4-solaris/perllocal.pod


however when my perl run


i get 

ERROR: MISSING REQUIRED BASIC MODULES:
  MIME::Head
  MIME::Entity
  MIME::Parser


below the code,

package Amavis::Boot;
use strict;

# Fetch all required modules (or nicely report missing ones), and
compile them
# once-and-for-all at the parent process, so that forked children can
inherit
# and share already compiled code in memory. Children will still need
to 'use'
# modules if they want to inherit from their name space.
#
sub fetch_modules($$@) {
    my($reason,$required,@modules) = @_;
    my(@missing);
    for my $m (@modules) {
        local($_) = $m; $_ .= /^auto::/ ? '.al' : '.pm'; s[::][/]g;
        eval {require $_} or push(@missing,$m);
    }
    die "ERROR: MISSING $reason:\n" .
        join('', map {"  $_\n"} @missing)  if $required && @missing;
};

BEGIN {
    fetch_modules('REQUIRED BASIC MODULES', 1, qw(
        Exporter POSIX Fcntl Socket Errno Carp Carp::Heavy Time::HiRes
        IO::File IO::Socket IO::Socket::UNIX IO::Socket::INET
        IO::Handle IO::Wrap IO::Stringy
        Digest::MD5 Unix::Syslog File::Basename File::Copy
        Mail::Field Mail::Address Mail::Header Mail::Internet
        MIME::Base64 MIME::QuotedPrint MIME::Words
        MIME::Head MIME::Body MIME::Entity MIME::Parser
        Net::Cmd Net::SMTP Net::Server Net::Server::PreForkSimple
        MIME::Decoder::Base64 MIME::Decoder::Binary
MIME::Decoder::Gzip64
        MIME::Decoder::NBit MIME::Decoder::QuotedPrint
MIME::Decoder::UU
      ) );
      # auto::POSIX::setgid auto::POSIX::setuid
};


why can perl not see the MIME moduiles that i installed ?

im a complete perl newbie - is there a perl command to see all
installed modules ?




Thanks

Laurence


For low fares and great deals on hotels, car hire and travel insurance visit 
http://www.aerlingus.com
*******************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.  Any review, dissemination or other use of, or taking
of any action in reliance upon, this information by persons or entities
other than the intended recipient is prohibited.If you have received
this email in error please notify the sender immediately and delete
the material.
*******************************************************************************


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to