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.

--
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