porting MakeMaker to z/OS (ebcdic)

<[email protected]> Thu, 26 Jun 2014 15:13:00 -0400
Newsgroups gmane.comp.lang.perl.modules.extutils-makemaker.devel
Message-ID <52B9BB401A22114C93576EB24BC5A83CC3ED7ED0C2@PLYVMSX30.internal.imsglobal.com>
--_000_52B9BB401A22114C93576EB24BC5A83CC3ED7ED0C2PLYVMSX30inte_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello [email protected]<mailto:[email protected]>,

I am trying to port the latest version of MakeMaker to our z/OS system (ebc=
dic). I download the MakeMaker.tar file and use the pax command to untar an=
d convert to ebcdic (pax -o to=3DIBM-1047,from=3DISO8859-1 -r < ExtUtils-Ma=
keMaker-6.98.tar).

When I run the perl Makefile.PL, I get the following output with errors:

# /usr/lpp/perl/bin/perl Makefile.PL
Using included version of JSON::PP::Compat5006 (1.09) because it is not alr=
eady installed.
Using included version of File::Temp (0.22) as it is newer than the install=
ed version (0.16).
Using included version of version (0.88) because it is not already installe=
d.
Using included version of ExtUtils::Install (1.54) as it is newer than the =
installed version (1.32).
Using included version of JSON::PP (2.27203) because it is not already inst=
alled.
Using included version of CPAN::Meta::YAML (0.008) because it is not alread=
y installed.
Using included version of ExtUtils::Manifest (1.60) as it is newer than the=
 installed version (1.42).
Using included version of ExtUtils::Command (1.16) as it is newer than the =
installed version (1.05).
Using included version of CPAN::Meta (2.120351) because it is not already i=
nstalled.
Using included version of File::Copy::Recursive (0.38) because it is not al=
ready installed.
Using included version of Parse::CPAN::Meta (1.4405) because it is not alre=
ady installed.
Checking if your kit is complete...
Warning: the following files are missing in your kit:
        't/liblist/win32/di
        't/liblist/win32/space
Please inform the author.
HPE20681 Subroutine MY::special_targets redefined at lib/ExtUtils/MakeMaker=
.pm line 1094.
HPE20681 Subroutine MY::dist_test redefined at lib/ExtUtils/MakeMaker.pm li=
ne 1094.
HPE20681 Subroutine MY::init_PERL redefined at lib/ExtUtils/MakeMaker.pm li=
ne 1094.
HPE20681 Subroutine MY::postamble redefined at lib/ExtUtils/MakeMaker.pm li=
ne 1094.
malformed UTF-8 character in JSON string, at character offset 2 (before "\x=
{a5}\x{85}\x{99}\x{a2}...") at bundled/CPAN-Meta/CPAN/Meta/Converter.pm lin=
e 23
at lib/ExtUtils/MM_Any.pm line 831
malformed UTF-8 character in JSON string, at character offset 2 (before "\x=
{a5}\x{85}\x{99}\x{a2}...") at bundled/CPAN-Meta/CPAN/Meta/Converter.pm lin=
e 23
#

I cannot figure out what the malformed UTF-8 character in JSON means. I tho=
ught that maybe I converted a binary file to ebcdic by mistake, but I have =
not been able to find any files under the  ExtUtils-MakeMaker-6.98 director=
y that are in binary.

Is there someplace that you can direct me that will help me figure out what=
 is happening when I run the Makefile.PL.

Thanks,
Steve Malony

IMS Health
Sr Tech Services Engineer,GTSO
200 Campus Drive
Collegeville, PA 19426

Phone: 610-244-2722
Email: [email protected]


--_000_52B9BB401A22114C93576EB24BC5A83CC3ED7ED0C2PLYVMSX30inte_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40"><head><meta http-equiv=3DContent-Type content=
=3D"text/html; charset=3Dus-ascii"><meta name=3DGenerator content=3D"Micros=
oft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue vli=
nk=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Hello <a href=3D=
"mailto:[email protected]">[email protected]</a>,<o:p></o:p></p><p class=
=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I am trying to port =
the latest version of MakeMaker to our z/OS system (ebcdic). I download the=
 MakeMaker.tar file and use the pax command to untar and convert to ebcdic =
(pax -o to=3DIBM-1047,from=3DISO8859-1 -r &lt; ExtUtils-MakeMaker-6.98.tar)=
. <o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNo=
rmal>When I run the perl Makefile.PL, I get the following output with error=
s:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNo=
rmal># /usr/lpp/perl/bin/perl Makefile.PL<o:p></o:p></p><p class=3DMsoNorma=
l>Using included version of JSON::PP::Compat5006 (1.09) because it is not a=
lready installed.<o:p></o:p></p><p class=3DMsoNormal>Using included version=
 of File::Temp (0.22) as it is newer than the installed version (0.16).<o:p=
></o:p></p><p class=3DMsoNormal>Using included version of version (0.88) be=
cause it is not already installed.<o:p></o:p></p><p class=3DMsoNormal>Using=
 included version of ExtUtils::Install (1.54) as it is newer than the insta=
lled version (1.32).<o:p></o:p></p><p class=3DMsoNormal>Using included vers=
ion of JSON::PP (2.27203) because it is not already installed.<o:p></o:p></=
p><p class=3DMsoNormal>Using included version of CPAN::Meta::YAML (0.008) b=
ecause it is not already installed.<o:p></o:p></p><p class=3DMsoNormal>Usin=
g included version of ExtUtils::Manifest (1.60) as it is newer than the ins=
talled version (1.42).<o:p></o:p></p><p class=3DMsoNormal>Using included ve=
rsion of ExtUtils::Command (1.16) as it is newer than the installed version=
 (1.05).<o:p></o:p></p><p class=3DMsoNormal>Using included version of CPAN:=
:Meta (2.120351) because it is not already installed.<o:p></o:p></p><p clas=
s=3DMsoNormal>Using included version of File::Copy::Recursive (0.38) becaus=
e it is not already installed.<o:p></o:p></p><p class=3DMsoNormal>Using inc=
luded version of Parse::CPAN::Meta (1.4405) because it is not already insta=
lled.<o:p></o:p></p><p class=3DMsoNormal>Checking if your kit is complete..=
.<o:p></o:p></p><p class=3DMsoNormal>Warning: the following files are missi=
ng in your kit:<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; 't/liblist/win32/di<o:p></o:p></p><p class=3DMsoNormal>&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 't/liblist/win32/space<o:p></o:p>=
</p><p class=3DMsoNormal>Please inform the author.<o:p></o:p></p><p class=
=3DMsoNormal>HPE20681 Subroutine MY::special_targets redefined at lib/ExtUt=
ils/MakeMaker.pm line 1094.<o:p></o:p></p><p class=3DMsoNormal>HPE20681 Sub=
routine MY::dist_test redefined at lib/ExtUtils/MakeMaker.pm line 1094.<o:p=
></o:p></p><p class=3DMsoNormal>HPE20681 Subroutine MY::init_PERL redefined=
 at lib/ExtUtils/MakeMaker.pm line 1094.<o:p></o:p></p><p class=3DMsoNormal=
>HPE20681 Subroutine MY::postamble redefined at lib/ExtUtils/MakeMaker.pm l=
ine 1094.<o:p></o:p></p><p class=3DMsoNormal>malformed UTF-8 character in J=
SON string, at character offset 2 (before &quot;\x{a5}\x{85}\x{99}\x{a2}...=
&quot;) at bundled/CPAN-Meta/CPAN/Meta/Converter.pm line 23<o:p></o:p></p><=
p class=3DMsoNormal> at lib/ExtUtils/MM_Any.pm line 831<o:p></o:p></p><p cl=
ass=3DMsoNormal>malformed UTF-8 character in JSON string, at character offs=
et 2 (before &quot;\x{a5}\x{85}\x{99}\x{a2}...&quot;) at bundled/CPAN-Meta/=
CPAN/Meta/Converter.pm line 23<o:p></o:p></p><p class=3DMsoNormal>#<o:p></o=
:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I can=
not figure out what the malformed UTF-8 character in JSON means. I thought =
that maybe I converted a binary file to ebcdic by mistake, but I have not b=
een able to find any files under the &nbsp;ExtUtils-MakeMaker-6.98 director=
y that are in binary.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p><=
/p><p class=3DMsoNormal>Is there someplace that you can direct me that will=
 help me figure out what is happening when I run the Makefile.PL.<o:p></o:p=
></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Thanks,=
<o:p></o:p></p><p class=3DMsoNormal>Steve Malony<o:p></o:p></p><p class=3DM=
soNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span style=3D'font-size=
:10.0pt;color:#17365D'>IMS Health<o:p></o:p></span></p><p class=3DMsoNormal=
><span style=3D'font-size:10.0pt;color:#17365D'>Sr Tech Services Engineer,G=
TSO<o:p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0=
pt;color:#17365D'>200 Campus Drive <o:p></o:p></span></p><p class=3DMsoNorm=
al><span style=3D'font-size:10.0pt;color:#17365D'>Collegeville, PA 19426<o:=
p></o:p></span></p><p class=3DMsoNormal><span style=3D'font-size:10.0pt;col=
or:#17365D'><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span style=3D=
'font-size:10.0pt;color:#17365D'>Phone: 610-244-2722<o:p></o:p></span></p><=
p class=3DMsoNormal><span style=3D'font-size:10.0pt;color:#17365D'>Email:</=
span><span style=3D'font-size:10.0pt;color:#1F497D'> </span><span style=3D'=
font-size:10.0pt'>[email protected]<span style=3D'color:#1F497D'><o:=
p></o:p></span></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><=
/body></html>=

--_000_52B9BB401A22114C93576EB24BC5A83CC3ED7ED0C2PLYVMSX30inte_--