Error while installing Module::Build
[email protected] (Mahmood Naderan) Mon, 26 Jun 2017 13:03:47 +0430
| Newsgroups | perl.cpan.discuss |
|---|---|
| Message-ID | <CADa2P2VRBroMofamdoy_WgPd3efvTmr4_Q8LO3K69=X-HdQDSw@mail.gmail.com> |
--001a114ab62478ef790552d8d0f4
Content-Type: text/plain; charset="UTF-8"
Hi,
When as root, I run cpan Module::Build, I get this error message
Can't locate Module/Metadata.pm in @INC (@INC contains: t/lib
t/bundled lib /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at lib/Module/Build/Base.pm line
23.
BEGIN failed--compilation aborted at lib/Module/Build/Base.pm line 23.
Compilation failed in require at lib/Module/Build.pm line 17.
BEGIN failed--compilation aborted at lib/Module/Build.pm line 17.
Compilation failed in require at Build line 46.
BEGIN failed--compilation aborted at Build line 46.
make: *** [all] Error 2
LEONT/Module-Build-0.4224.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store
persistent state
Running make test
Can't test without successful makeRunning make install
Make had returned bad status, install seems impossible
The full output is available at pastebin <https://pastebin.com/JmFLZeQ3>.
How can I fix that?
Regards,
Mahmood
--001a114ab62478ef790552d8d0f4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:tahoma,s=
ans-serif">Hi,<br><br><div class=3D"gmail-post-text">
<p>When as root, I run <code>cpan Module::Build</code>, I get this error me=
ssage</p>
<pre class=3D"gmail-lang-perl gmail-prettyprint gmail-prettyprinted"><code>=
<span class=3D"gmail-typ">Can</span><span class=3D"gmail-str">'t locate=
Module/Metadata.pm in @INC (@INC contains: t/lib t/bundled lib /usr/local/=
lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/=
perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at lib/Module/Build/=
Base.pm line 23.
BEGIN failed--compilation aborted at lib/Module/Build/Base.pm line 23.
Compilation failed in require at lib/Module/Build.pm line 17.
BEGIN failed--compilation aborted at lib/Module/Build.pm line 17.
Compilation failed in require at Build line 46.
BEGIN failed--compilation aborted at Build line 46.
make: *** [all] Error 2
LEONT/Module-Build-0.4224.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): '</span><span class=3D"gmail-pln">YAML</spa=
n><span class=3D"gmail-str">' not installed, will not store persistent =
state
Running make test
Can'</span><span class=3D"gmail-pln">t test without successful make
</span><span class=3D"gmail-typ">Running</span><span class=3D"gmail-pln"> m=
ake install
</span><span class=3D"gmail-typ">Make</span><span class=3D"gmail-pln"> ha=
d returned bad status</span><span class=3D"gmail-pun">,</span><span class=
=3D"gmail-pln"> install seems impossible</span></code></pre>
<p><br></p><p><br></p><p>The full output is available at <a href=3D"https:/=
/pastebin.com/JmFLZeQ3" rel=3D"nofollow noreferrer">pastebin</a>.</p>
<p>How can I fix that?</p>
<br><br><br></div><br clear=3D"all"></div><div><div class=3D"gmail_sign=
ature"><div dir=3D"ltr"><font face=3D"tahoma,sans-serif">Regards,<br>Mahmoo=
d</font><br><br><br></div></div></div>
</div>
--001a114ab62478ef790552d8d0f4--