Click here to get back home

Problem Installing Module (Email::MIME::Modifier)

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Problem Installing Module (Email::MIME::Modifier) wadi 07-31-2007
Posted by wadi on July 31, 2007, 11:41 pm
Please log in for more thread options


Hi There I am trying to setup BugZilla, and
I have this needed module that I have to install before
I can proceed to having BugZilla on my system (and I still
have to deal with MySql), anyway

By using perl and the CPAN Network,
Perl tries to install
Email::MIME::Modifier ver 1.442
but it requires
Email::MIME ver 1.860
and this requires
Encode 2.23
which fails to test I am using perl 5.8.0

do you think I should update my perl? if so,

how do I do that ? I downloaded the source for
5.8.8 compiled, installed, but perl -v is still giving
me 5.8.0

thanks in advance


Posted by Sisyphus on August 1, 2007, 12:21 am
Please log in for more thread options



.
.
> and this requires
> Encode 2.23
> which fails to test I am using perl 5.8.0

It tests ok for me on perl-5.8.0. Some of the tests require perl-5.8.1 (or
later) and are therefore skipped. Otherwise, all tests passed for me.

>
> do you think I should update my perl?

Probably not a bad idea to update - given that Encode-2.23 is apparently
making use of features not available in perl-5.8.0.

> if so,
>
> how do I do that ? I downloaded the source for
> 5.8.8 compiled, installed, but perl -v is still giving
> me 5.8.0
>

I can only think that you've installed perl-5.8.8 to somewhere other than
where perl-5.8.0 is located. You can probably find the location of
perl-5.8.0 by querying $^X. Then compare that to where 5.8.8 was installed.

Cheers,
Rob


Posted by wadi on August 1, 2007, 8:05 pm
Please log in for more thread options


Thanks for the reply Bob,
I still have the problem :(

mine is a fresh installation of RH Linux Enterprise WS 3
with Apache 2.0.36
and Perl 5.8.0

this is the error I get when Installing Encode module

thanks for any more help.

======================begin====================================
t/enc_module...............# Failed test (t/enc_module.t at line
50)
# got: '1'
# expected: '0'
# Failed test (t/enc_module.t at line 58)
# got: ' '
# expected: '
# '
# Failed test (t/enc_module.t at line 58)
# got: ' '
# expected: '
# '
t/enc_module...............NOK 3# Looks like you failed 3 tests of 3.
t/enc_module...............dubious
Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/enc_utf8.................ok
t/Encode...................ok
t/Encoder..................ok
t/encoding.................ok
t/fallback.................ok
t/from_to..................ok
t/grow.....................ok
t/gsm0338..................ok
t/guess....................ok
t/jperl....................ok
t/mime-header..............ok
t/mime_header_iso2022jp....ok
t/perlio...................ok
6/38 skipped: PerlIO::encoding->VERSION = 0.06 <= 0.07
t/Unicode..................ok
t/utf8strict...............skipped
all skipped: Perl 5.8.1 or later required
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/enc_module.t 3 768 3 3 100.00% 1-3
3 tests and 6 subtests skipped.
Failed 1/22 test scripts, 95.45% okay. 3/4993 subtests failed, 99.94%
okay.
make: *** [test_dynamic] Error 29
==============================end===============================


Posted by Sisyphus on August 2, 2007, 12:38 am
Please log in for more thread options



.
.
> t/enc_module...............# Failed test (t/enc_module.t at line
> 50)
> # got: '1'
> # expected: '0'
> # Failed test (t/enc_module.t at line 58)
> # got: ' '
> # expected: '
> # '
> # Failed test (t/enc_module.t at line 58)
> # got: ' '
> # expected: '
> # '
> t/enc_module...............NOK 3# Looks like you failed 3 tests of 3.
> t/enc_module...............dubious
> Test returned status 3 (wstat 768, 0x300)
> DIED. FAILED tests 1-3
> Failed 3/3 tests, 0.00% okay

The first of the three tests generates a file called t/$$.enc (where $$ is
the pid of the process that's running the test script) and compares it to
t/enc_module.enc (which ships with the source). They should be the same, but
in your case that's not so. You need to compare those 2 files (in a text
editor or hex editor) to see how they differ. Maybe it's a just the line
endings that are different, or maybe it's something more serious.

Sorting that first failure out may well help with the second and third.
It looks to me that, for the 2nd and 3rd tests, the only difference between
"got" and "expected" is that "expected" finishes with a newline that's
missing in "got". However, I think that both "got" and "expected" are
incorrect. For me, I find that the 2nd test produces a "got" that looks like
this (copy'n'paste - I've no idea whether it will be rendered accurately):
ÕêØµ£fµûçÕ¡ùÕêù

and the 3rd test produces a "got" that looks like this:
ÒâåÒé?ÒâêµûçÕ¡ùÕêù

One other thing you could do, if need be, is to check the bug reports at
http://rt.cpan.org/Public/Dist/Display.html?Name=Encode to see if there's
anything there that's relevant.

If you satisfy yourself that there's nothing going wrong there that will
bite you, then you can, of course, just install the module anyway (without
having to fix the problem with that test).

Cheers,
Rob


Posted by wadi on August 2, 2007, 9:01 pm
Please log in for more thread options




Thanks Bob.

I just did that. I am about to set up BugZilla... running into
some problems, but that's for another forum

-Wadi


Similar ThreadsPosted
Problem installing module Email-Send December 4, 2007, 8:39 pm
Having trouble installing MIME::Lite module July 6, 2006, 4:25 pm
how to display html in email message body with mime:: entity July 11, 2004, 10:45 pm
Problem creating envelope-from in module Email::Send July 16, 2007, 7:33 am
Problem with MIME-tools 5.414 not finding encode_qp October 27, 2004, 8:00 pm
Problem installing GD module April 4, 2006, 12:26 pm
Problem Installing Module April 4, 2007, 10:02 am
problem installing Gtk2 Module January 10, 2005, 1:44 pm
problem installing MATH::MATLAB module August 28, 2006, 10:50 am
Perl Module for S/MIME October 19, 2006, 1:58 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap