Hi,

On Mon, 4 Jun 2018 07:55:16 +0100
Gary Stainburn <gary.stainb...@ringways.co.uk> wrote:

> I've juts built a new Centos 7 email server and all has gone well.
> 
> I have used RPM's where possible, but for some modules I have had to use
> CPAN. One such module was MIME::Parser, which installed without errors.
> 
> If I check my program it now says that it's fine.  If I try to re-install the 
> module it says it's up to date.
> 
> however, when I try to run the program (as a pipe via exim) it complains that 
> it cannot locate the module.
> 
>  Does anyone have any ideas?
> 
> 
> cpan[1]> install MIME::Parser  
> Reading '/root/.cpan/Metadata'
>   Database was generated on Sun, 03 Jun 2018 04:17:03 GMT
> MIME::Parser is up to date (5.509).
> 
> cpan[2]> Lockfile removed.  
> [root@ollie2 ~]# perl -c /etc/exim/bin/admin_doc_gateway4
> /etc/exim/bin/admin_doc_gateway4 syntax OK
> [root@ollie2 ~]# 
> 
> 
> ------ pipe to |/etc/exim/bin/admin_doc_gateway4 -e >>/var/log/faxgateway 2>&1
>        generated by dealpa...@ringways.co.uk ------
> 
> Can't locate MIME/Parser.pm in @INC (@INC 
> contains: /usr/local/lib64/perl5 /usr/local/share/perl5 
> /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 
> /usr/share/perl5 .) 
> at /etc/exim/bin/admin_doc_gateway4 line 9.
> BEGIN failed--compilation aborted at /etc/exim/bin/admin_doc_gateway4 line 9.
> 

what does "perldoc -l MIME::Parser" say? Also see http://perl-begin.org/FAQs/
and http://perl-begin.org/topics/cpan/ .

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
http://youtu.be/KxGRhd_iWuE - Never Give Up!!

What's the point of claiming your code is illegal?
I might anger a few, but I just wanna sue
    — http://www.shlomifish.org/humour/bits/Can-I-SCO-Now/

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to