Perl: error installing CPAN module

I am running Mac OS X 10.5 and I want to write a program in Perl. However, I need to install the RDF :: Trine and DBD :: CSV module , and I installed an error when installing both.

If I write:

install RDF :: Trine

Error:

Files = 51, Tests = 5, 2 wallclock secs (0.21 usr 0.18 sys + 1.30 cusr 0.51 csys = 2.20 CPU)
Result: FAIL
Failed 49/51 test programs. 5/5 subtests failed.
make: *** [test_dynamic] Error 2
  / usr / bin / make test - NOT OK
Running make install
  make test had returned bad status, won't install without force

And the error for installing DBD :: CSV:

Files = 21, Tests = 18, 1 wallclock secs (0.10 usr 0.08 sys + 0.85 cusr 0.26 csys = 1.29 CPU)
Result: FAIL
Failed 16/21 test programs. 2/18 subtests failed.
make: *** [test_dynamic] Error 255
  / usr / bin / make test - NOT OK
Running make install
  make test had returned bad status, won't install without force

?

+3
2

:

cpan RDF::Trine

cpan Bundle::CPAN

A > strong > LOT perl MacOS. , .

, cpan , . , cpan :

---- Unsatisfied dependencies detected during ----
----     GWILLIAMS/RDF-Trine-0.125.tar.gz     ----
    Text::Table [requires]
    DBD::SQLite [requires]
    XML::LibXML::SAX [requires]
    Unicode::Escape [requires]
    Unicode::String [requires]
    Text::CSV [requires]
    Error [requires]
    Test::Exception [requires]
    Test::JSON [requires]
    XML::Namespace [requires]
    Data::UUID [requires]
    Math::Combinatorics [requires]
    Set::Scalar [requires]
    XML::CommonNS [requires]
    XML::LibXML [requires]
    JSON [requires]
    Log::Log4perl [requires]
  Ignoring dependencies on modules ARRAY(0x4d22268), ARRAY(0x5463770), ARRAY(0x4d1bbe4), ARRAY(0x4d22724), ARRAY(0x4d21fc8), ARRAY(0x4d226c4), ARRAY(0x4d21fa4), ARRAY(0x5463830), ARRAY(0x5463878), ARRAY(0x4d24cf0), ARRAY(0x4d22784), ARRAY(0x4d21f74), ARRAY(0x4d21f5c), ARRAY(0x4d21e3c), ARRAY(0x4d21ee4), ARRAY(0x4d21d4c), ARRAY(0x4d21e84), ARRAY(0x4d21c80), ARRAY(0x4d21efc), ARRAY(0x4d2219c), ARRAY(0x4d21fb0), ARRAY(0x4d2213c), ARRAY(0x4d21ddc), ARRAY(0x4d2264c), ARRAY(0x4d21ed8), ARRAY(0x5463818), ARRAY(0x4d21d94), ARRAY(0x4d22640), ARRAY(0x4d21de8), ARRAY(0x4d1bb00), ARRAY(0x4d21c98), ARRAY(0x4d2225c), ARRAY(0x4d21f68), ARRAY(0x4d22334)

prerequisites_policy - , .

, o conf prerequisites_policy, ​​ -, ask, :

o conf prerequisites_policy ask
o conf commit

( "" )

cpan.

+2

perl

perl -MCPAN - "RDF:: Trine"

RDF:: Trine -

0

Source: https://habr.com/ru/post/1759397/


All Articles