Subject: | Encode is not properly installed in Strawberry April 2010 |
If I try to install Encode::HanExtra in Strawberry 5.12 April 2009
32-bit MSI compiled at Apr 25, I get the following issue:
CPAN.pm: Going to build A/AU/AUDREYT/Encode-HanExtra-0.23.tar.gz
enc2xs not found! at Makefile.PL line 46.
Warning: No success on command[C:\strawberry\perl\bin\perl.exe Makefile.PL]
AUDREYT/Encode-HanExtra-0.23.tar.gz
C:\strawberry\perl\bin\perl.exe Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Failed during this command:
AUDREYT/Encode-HanExtra-0.23.tar.gz : writemakefile NO
'C:\strawberry\
perl\bin\perl.exe Makefile.PL' returned status 512
A workaround is to force install Encode, after that installation of
Encode::HanExtra works as expected.
Some snippet from #win32:
(4:14:28 PM) kmx: mike__b: the Encode issue seems to be caused by
missing "strawberry/perl/bin/enc2xs" in strawberry 5.12.0-RC2 (note
"strawberry/perl/bin/enc2xs.bat" exists but the detection routine in
Encode::HanExtra requires "enc2xs"). Please start an RT for this at
Perl-Dist-Strawberry.
(4:15:01 PM) mike__b: Great, thanks. I'll do that.
(4:15:03 PM) kmx: mike__b: simply "Encode" seems to be incorrectly
preinstalled in Strawberry 5.12.0 RC2
(4:39:09 PM) BinGOs: er only having enc2xs.bat does not mean it is
incorrectly installed.
(4:41:06 PM) BinGOs: The mechanism that Encode::HanExtra is using is wrong.
So I guess that leaves the question for the root cause still open.
((enjoy))
Mike.