Problem Installing Module (Email::MIME::Modifier)
Problem Installing Module (Email::MIME::Modifier)
am 01.08.2007 05:41:19 von wadi
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
Re: Problem Installing Module (Email::MIME::Modifier)
am 01.08.2007 06:21:13 von Sisyphus
"wadi" wrote in message
..
..
> 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
Re: Problem Installing Module (Email::MIME::Modifier)
am 02.08.2007 02:05:35 von wadi
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=========================== ====
Re: Problem Installing Module (Email::MIME::Modifier)
am 02.08.2007 06:38:56 von Sisyphus
"wadi" wrote in message
..
..
> 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
Re: Problem Installing Module (Email::MIME::Modifier)
am 03.08.2007 03:01:58 von wadi
Thanks Bob.
I just did that. I am about to set up BugZilla... running into
some problems, but that's for another forum
-Wadi