Can't locate MIME/Entity.pm in @INC

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Can't locate MIME/Entity.pm in @INC

Post by tony »

I am getting the above error in zmdc.log when trying to start zm. I have run zm previously and it has worked fine but I have had to re-install redhat 9 and I am now getting this error. can anyone give me a few clues as to what to check?
thanks
tony
snakebyte
Posts: 45
Joined: Sun Dec 07, 2003 1:51 am

Re: Can't locate MIME/Entity.pm in @INC

Post by snakebyte »

This location will have the extra rpms you require:
http://dag.wieers.com/packages/

In particular:
http://dag.wieers.com/packages/perl-MIM ... noarch.rpm

You'll probaby also need these:
perl-MailTools
perl-IO-stringy
perl-Archive-Zip
perl-MIME-tools

Btw, there are rpms for all versions of redhat from 7.3 up to Fedora Core 1 here. No need to use CPAN.
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Re: Can't locate MIME/Entity.pm in @INC

Post by tony »

thanks, tried installing the rpm and it failed on loads of dependancies, (thats what i really dislike about linux) I'll have another go tommorrow

tony
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Can't locate MIME/Entity.pm in @INC

Post by zoneminder »

The really easy way to install perl modules is just using

<i>perl -MCPAN -eshell</i>

as detailed in the README. It will (if you configure it thus) automatically follow and resolve any dependencies and once you've done the initial one-off config installing the module you need would just involve you typing

<i>install MIME::Entity</i>

It's definately worth a try.

Phil,
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Re: Can't locate MIME/Entity.pm in @INC

Post by tony »

thanks phil, i dont know if i have messed anything else up but i tried cspan for MIME::Entity and it said it was already installed, i then got a few more perl errors so i installed the missing modules but now i just get the following:

Malformed UTF-8 character (unexpected non-continuation byte 0x74, immediately after start byte 0xe9) at /usr/lib/perl5/vendor_perl/5.8.0/Date/Manip.pm line 6476.

any ideas?

thanks

tony
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Re: Can't locate MIME/Entity.pm in @INC

Post by zoneminder »

Hi Tony,

You can find a FAQ on this issue <a href="http://www.zoneminder.com/index.php?id= ... 6">here</a>

Phil,
User avatar
tony
Posts: 29
Joined: Mon Dec 29, 2003 8:30 pm

Re: Can't locate MIME/Entity.pm in @INC

Post by tony »

thanks that tip did it, I thought I had messed it up but it appears to be running now.

tony
Locked