can't compile MakeMaker-7.16 on custom perl on CentOS 6

"Root, Paul T" <[email protected]> Wed, 18 May 2016 15:22:17 +0000
Newsgroups gmane.comp.lang.perl.modules.extutils-makemaker.devel
Message-ID <C88055D0A02F174F848A984067ACC21C5BCD7571@podcwmbxex503.ctl.intranet>
--_000_C88055D0A02F174F848A984067ACC21C5BCD7571podcwmbxex503ct_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
                I have a vendor built perl that is linked in with the envir=
onment of the application (EMC Smarts) running on CentOS 6.7 (2.6.32-573.el=
6.x86_64), and we can't get it to install ExtUtil::MakeMaker, among many ot=
her modules. The built in perl of the system installs MakeMaker just fine.

# sm_perl -v

This is perl 5, version 16, subversion 2 (v5.16.2) built for x86_64-linux-t=
hread-multi

When I try to do the make test I get this:

# make test
PERL_DL_NONLAZY=3D1 "/opt/InCharge9/SAM/smarts/bin/sm_perl" "-Iblib/arch" "=
-Iblib/lib" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::=
Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00compile.t ............. ok
t/01perl_bugs.t ........... ok
t/02-xsdynamic.t .......... Can't locate object method "can_dep_space" via =
package "PACK001" at lib//MakeMaker/Test/Setup/XS.pm line 22.
Compilation failed in require at t/02-xsdynamic.t line 11.
BEGIN failed--compilation aborted at t/02-xsdynamic.t line 11.
cannot remove path when cwd is /tmp/CPAN/ExtUtils-MakeMaker-7.16/t/A0fJXBaY=
zO for /tmp/CPAN/ExtUtils-MakeMaker-7.16/t/A0fJXBaYzO:  at /opt/InCharge9/S=
AM/smarts/toolbox/perl/lib/5.16.2/File/Temp.pm line 902.
t/02-xsdynamic.t .......... Dubious, test returned 2 (wstat 512, 0x200)
No subtests run
t/03-xsstatic.t ........... Can't locate object method "can_dep_space" via =
package "PACK001" at lib//MakeMaker/Test/Setup/XS.pm line 22.





Any ideas of what is going on here?  Many of the subparts of Smarts needs 3=
2 bit libraries. We've gone through the required rpms for the system and th=
ey are installed.


Paul Root
Lead Engineer
CenturyLink Network Reliability Operations Center

390 Commerce Dr
Woodbury, MN 55125
Direct: (651)312-5207
[email protected]

This communication is the property of CenturyLink and may contain confident=
ial or privileged information. Unauthorized use of this communication is st=
rictly prohibited and may be unlawful. If you have received this communicat=
ion in error, please immediately notify the sender by reply e-mail and dest=
roy all copies of the communication and any attachments.

--_000_C88055D0A02F174F848A984067ACC21C5BCD7571podcwmbxex503ct_
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=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft 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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I have a vendor built perl that is l=
inked in with the environment of the application (EMC Smarts) running on Ce=
ntOS 6.7 (2.6.32-573.el6.x86_64), and we can&#8217;t get it to install ExtU=
til::MakeMaker, among many other modules.
 The built in perl of the system installs MakeMaker just fine. <o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b># sm_perl -v<o:p></o:p></b></p>
<p class=3D"MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class=3D"MsoNormal"><b>This is perl 5, version 16, subversion 2 (v5.16.2=
) built for x86_64-linux-thread-multi<o:p></o:p></b></p>
<p class=3D"MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class=3D"MsoNormal">When I try to do the make test I get this:<o:p></o:p=
></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"># make test<o:p></o:p></p>
<p class=3D"MsoNormal">PERL_DL_NONLAZY=3D1 &quot;/opt/InCharge9/SAM/smarts/=
bin/sm_perl&quot; &quot;-Iblib/arch&quot; &quot;-Iblib/lib&quot; &quot;-MEx=
tUtils::Command::MM&quot; &quot;-MTest::Harness&quot; &quot;-e&quot; &quot;=
undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')&qu=
ot; t/*.t<o:p></o:p></p>
<p class=3D"MsoNormal">t/00compile.t ............. ok&nbsp;&nbsp;&nbsp;&nbs=
p; <o:p></o:p></p>
<p class=3D"MsoNormal">t/01perl_bugs.t ........... ok&nbsp;&nbsp; <o:p></o:=
p></p>
<p class=3D"MsoNormal">t/02-xsdynamic.t .......... Can't locate object meth=
od &quot;can_dep_space&quot; via package &quot;PACK001&quot; at lib//MakeMa=
ker/Test/Setup/XS.pm line 22.<o:p></o:p></p>
<p class=3D"MsoNormal">Compilation failed in require at t/02-xsdynamic.t li=
ne 11.<o:p></o:p></p>
<p class=3D"MsoNormal">BEGIN failed--compilation aborted at t/02-xsdynamic.=
t line 11.<o:p></o:p></p>
<p class=3D"MsoNormal">cannot remove path when cwd is /tmp/CPAN/ExtUtils-Ma=
keMaker-7.16/t/A0fJXBaYzO for /tmp/CPAN/ExtUtils-MakeMaker-7.16/t/A0fJXBaYz=
O:&nbsp; at /opt/InCharge9/SAM/smarts/toolbox/perl/lib/5.16.2/File/Temp.pm =
line 902.<o:p></o:p></p>
<p class=3D"MsoNormal">t/02-xsdynamic.t .......... Dubious, test returned 2=
 (wstat 512, 0x200)<o:p></o:p></p>
<p class=3D"MsoNormal">No subtests run <o:p></o:p></p>
<p class=3D"MsoNormal">t/03-xsstatic.t ........... Can't locate object meth=
od &quot;can_dep_space&quot; via package &quot;PACK001&quot; at lib//MakeMa=
ker/Test/Setup/XS.pm line 22.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Any ideas of what is going on here? &nbsp;Many of th=
e subparts of Smarts needs 32 bit libraries. We&#8217;ve gone through the r=
equired rpms for the system and they are installed.
<o:p></o:p></p>
<p class=3D"MsoNormal"><b><o:p>&nbsp;</o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b><span style=3D"font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;;color:green">Paul Root<o:p></o:p></span></b></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Lead Engineer<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">CenturyLink Network Reliability Operations Center<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">390 Commerce Dr<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Woodbury, MN 55125<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">Direct: (651)312-5207<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Arial&quot;,&quot;s=
ans-serif&quot;">[email protected]<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<center>This communication is the property of CenturyLink and may contain c=
onfidential or privileged information. Unauthorized use of this communicati=
on is strictly prohibited and may be unlawful. If you have received this co=
mmunication in error, please immediately
 notify the sender by reply e-mail and destroy all copies of the communicat=
ion and any attachments.</center>
</body>
</html>

--_000_C88055D0A02F174F848A984067ACC21C5BCD7571podcwmbxex503ct_--