Задать вопрос
@artem78

Почему не устанавливается YAML в Perl?

Ставлю через CPAN.
Going to read '/home/user/.cpan/Metadata'
  Database was generated on Sat, 06 Sep 2014 16:17:02 GMT
Running install for module 'YAML'
Running make for I/IN/INGY/YAML-1.11.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/I/IN/INGY/YAML-1.11.tar.gz ok
Scanning cache /home/user/.cpan/build for sizes
............................................................................DONE

  CPAN.pm: Going to build I/IN/INGY/YAML-1.11.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Test::YAML 1.05 not found.
Writing Makefile for YAML
Writing MYMETA.yml
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
---- Unsatisfied dependencies detected during ----
----           INGY/YAML-1.11.tar.gz          ----
    Test::YAML [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Test::YAML'
Running make for I/IN/INGY/Test-YAML-1.05.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/I/IN/INGY/Test-YAML-1.05.tar.gz ok

  CPAN.pm: Going to build I/IN/INGY/Test-YAML-1.05.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Test::Base 0.86 not found.
Writing Makefile for Test::YAML
Writing MYMETA.yml
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
---- Unsatisfied dependencies detected during ----
----        INGY/Test-YAML-1.05.tar.gz        ----
    Test::Base [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Test::Base'
Running make for I/IN/INGY/Test-Base-0.88.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/I/IN/INGY/Test-Base-0.88.tar.gz ok

  CPAN.pm: Going to build I/IN/INGY/Test-Base-0.88.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Algorithm::Diff 1.15 not found.
Warning: prerequisite Spiffy 0.40 not found.
Warning: prerequisite Text::Diff 0.35 not found.
Writing Makefile for Test::Base
Writing MYMETA.yml
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
---- Unsatisfied dependencies detected during ----
----        INGY/Test-Base-0.88.tar.gz        ----
    Text::Diff [requires]
    Spiffy [requires]
    Algorithm::Diff [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Text::Diff'
Running make for O/OV/OVID/Text-Diff-1.41.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/O/OV/OVID/Text-Diff-1.41.tar.gz ok

  CPAN.pm: Going to build O/OV/OVID/Text-Diff-1.41.tar.gz

Checking if your kit is complete...
Looks good
Warning: prerequisite Algorithm::Diff 1.19 not found.
Writing Makefile for Text::Diff
Writing MYMETA.yml
---- Unsatisfied dependencies detected during ----
----        OVID/Text-Diff-1.41.tar.gz        ----
    Algorithm::Diff [requires]
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Algorithm::Diff'
Running make for T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz ok

  CPAN.pm: Going to build T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Algorithm::Diff
Writing MYMETA.yml
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  TYEMQ/Algorithm-Diff-1.1902.tar.gz
  make -- NOT OK
'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for O/OV/OVID/Text-Diff-1.41.tar.gz
  Has already been unwrapped into directory /home/user/.cpan/build/Text-Diff-1.41-5qQBUr

  CPAN.pm: Going to build O/OV/OVID/Text-Diff-1.41.tar.gz

Warning: Prerequisite 'Algorithm::Diff => 1.19' for 'OVID/Text-Diff-1.41.tar.gz' failed when processing 'TYEMQ/Algorithm-Diff-1.1902.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  OVID/Text-Diff-1.41.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Spiffy'
Running make for I/IN/INGY/Spiffy-0.46.tar.gz
Checksum for /home/user/.cpan/sources/authors/id/I/IN/INGY/Spiffy-0.46.tar.gz ok

  CPAN.pm: Going to build I/IN/INGY/Spiffy-0.46.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Spiffy
Writing MYMETA.yml
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  INGY/Spiffy-0.46.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Algorithm::Diff'
Running make for T/TY/TYEMQ/Algorithm-Diff-1.1902.tar.gz
  Has already been unwrapped into directory /home/user/.cpan/build/Algorithm-Diff-1.1902-NqwxrL
Could not make: Unknown error
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for I/IN/INGY/Test-Base-0.88.tar.gz
  Has already been unwrapped into directory /home/user/.cpan/build/Test-Base-0.88-vvqXTJ

  CPAN.pm: Going to build I/IN/INGY/Test-Base-0.88.tar.gz

utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Warning: Prerequisite 'Text::Diff => 0.35' for 'INGY/Test-Base-0.88.tar.gz' failed when processing 'OVID/Text-Diff-1.41.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Spiffy => 0.40' for 'INGY/Test-Base-0.88.tar.gz' failed when processing 'INGY/Spiffy-0.46.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Algorithm::Diff => 1.15' for 'INGY/Test-Base-0.88.tar.gz' failed when processing 'TYEMQ/Algorithm-Diff-1.1902.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  INGY/Test-Base-0.88.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for I/IN/INGY/Test-YAML-1.05.tar.gz
  Has already been unwrapped into directory /home/user/.cpan/build/Test-YAML-1.05-cs4n_d

  CPAN.pm: Going to build I/IN/INGY/Test-YAML-1.05.tar.gz

utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Warning: Prerequisite 'Test::Base => 0.86' for 'INGY/Test-YAML-1.05.tar.gz' failed when processing 'INGY/Test-Base-0.88.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  INGY/Test-YAML-1.05.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for I/IN/INGY/YAML-1.11.tar.gz
  Has already been unwrapped into directory /home/user/.cpan/build/YAML-1.11-JAkVVG

  CPAN.pm: Going to build I/IN/INGY/YAML-1.11.tar.gz

utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Warning: Prerequisite 'Test::YAML => 1.05' for 'INGY/YAML-1.11.tar.gz' failed when processing 'INGY/Test-YAML-1.05.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.
  INGY/YAML-1.11.tar.gz
  make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Failed during this command:
 INGY/Test-Base-0.88.tar.gz                   : make NO
 OVID/Text-Diff-1.41.tar.gz                   : make NO
 INGY/Spiffy-0.46.tar.gz                      : make NO
 TYEMQ/Algorithm-Diff-1.1902.tar.gz           : make NO
 INGY/Test-YAML-1.05.tar.gz                   : make NO
 INGY/YAML-1.11.tar.gz                        : make NO
  • Вопрос задан
  • 4431 просмотр
Подписаться 2 Оценить Комментировать
Пригласить эксперта
Ответы на вопрос 5
@s1dney
Can't exec "make": No such file or directory at /usr/share/perl/5.14/CPAN/Distribution.pm line 2078.

Я чисто поиском нашел про make
Вы правда думаете, что эту простыню кто-то будет читать?
Ответ написан
Комментировать
shoorick
@shoorick
программист
Вам принципиально ставить именно через cpan? Попробуйте штатный метод установки ПО, используемый вашей операционной системой. В дебианоподобных линуксах (Debian, Ubuntu, Mint) — sudo apt install libyaml-perl
Ответ написан
Комментировать
@artem78 Автор вопроса
Теперь остались только ошибки:
utf8 "\xF6" does not map to Unicode at /usr/share/perl/5.14/Parse/CPAN/Meta.pm line 89, <$fh> chunk 1.
Ответ написан
Комментировать
@noize
попробуйте обновить CPAN::Meta - cpan CPAN::Meta
ну и заодно сам CPAN тоже обновите: cpan CPAN
Ответ написан
Комментировать
@thekostya
curl -L cpanmin.us | perl - --sudo YAML
Ответ написан
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы