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

Support and queries relating to all previous versions of ZoneMinder
Post Reply
User avatar
l8nite4me
Posts: 36
Joined: Sun May 09, 2004 4:29 am
Location: US Alabama
Contact:

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

Post by l8nite4me » Thu Jun 17, 2004 8:56 pm

In my zmdc.log file I am receiving the following error:

Can't locate MIME/Entity.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl) at /usr/local/bin/zmfilter.pl line 87.
BEGIN failed--compilation aborted at /usr/local/bin/zmfilter.pl line 87.
'zmfilter.pl ' crashed at 04/06/17 15:47:11, exit status 2

at random intervals. Anywhere from 30 seconds to 15 minutes apart.

This may be some sort of email issue with my system, because I have been attempting to make the email portion (with no success I might add) to work. But obviously I have something mis-configured.

zmfilter.pl line 87 references the following.
85 if ( ZM_OPT_EMAIL )
86 {
87 use MIME::Entity;
88
89 ( $email_subject, $email_body ) = ZM_EMAIL_TEXT =~ /subject\s*=\s*"([^\n]*)".*body\s*=\s*"(.*)"/ms;
90 }
91
92 my $message_subject;
93 my $message_body;

Does anyone have any suggestions on cause or solution. If you need more detail please let me know.

My install consist of Fedora Core1 w/ ZM 1.19.4 configured w/ ffmpeg and lame. I have 2 network cams in my current building, 1 X11 type cam local, and 1 network cam at a remote site reporting via web.

Thanks
John

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

Post by zoneminder » Thu Jun 17, 2004 10:05 pm

Hi John,

This error is caused because the MIME::Entity perl module is missing from your system. The README briefly describes how to instal perl modules but basically you just type

perl -MCPAN -eshell

and if this is your first time go through the initial configuration, accepting the defaults in most cases. Don't accept any offer to install a new Bundle though for now. Then once the initial config is over just type

install MIME::Entity

and hit return. You might get a message about it needing to prepend other modules it depends on, just say yes to that.

That should just about do it so just then 'quit' and you should be sorted.

Phil,

User avatar
l8nite4me
Posts: 36
Joined: Sun May 09, 2004 4:29 am
Location: US Alabama
Contact:

Post by l8nite4me » Fri Jun 18, 2004 4:47 am

Thanks Philip.

Once again you are correct.

I am so excited about this product, the capabilities have far exceeded my expectations.

Keep up the good work and let me know if I can ever be of any assistance.

John

oskin
Posts: 84
Joined: Tue May 25, 2004 7:03 pm
Location: Moscow, Russia
Contact:

Post by oskin » Mon Jun 21, 2004 2:43 pm


Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests