Hello
Here iam running with Debian 10.13, and please i need little Support - i think me cpan and perl have any problems, please what are the right path for PERL_LIB?` how i can reinstall cpan or Perl so that i can install Cpan/Perl packages? this always i have executed > $ cpan o conf init thanks for any possible help root ~/.cpan/build/Perl-Critic-1.148-2# cpan Perl::OSType Loading internal logger. Log::Log4perl recommended for better logging Reading '/root/.cpan/Metadata' Database was generated on Sat, 28 Jan 2023 18:54:01 GMT Running install for module 'Perl::OSType' Checksum for /root/.cpan/sources/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz ok 'YAML' not installed, will not store persistent state The content of '/root/.cpan/build/Perl-OSType-1.010-1/META.yml' is not a HASH reference. Cannot use it. Configuring D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning: PERL_LIB (/usr/share/perl/5.28) seems not to be a perl library directory (strict.pm not found) at /etc/perl/ExtUtils/MM_Unix.pm line 1948. Generating a Unix-style Makefile Writing Makefile for Perl::OSType DAGOLDEN/Perl-OSType-1.010.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for D/DA/DAGOLDEN/Perl-OSType-1.010.tar.gz The content of '/root/.cpan/build/Perl-OSType-1.010-1/META.yml' is not a HASH reference. Cannot use it. Could not read metadata file. Falling back to other methods to determine prerequisites cp lib/Perl/OSType.pm blib/lib/Perl/OSType.pm Manifying 1 pod document DAGOLDEN/Perl-OSType-1.010.tar.gz /usr/bin/make -- OK Running make test for DAGOLDEN/Perl-OSType-1.010.tar.gz PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate Benchmark.pm in @INC (you may need to install the Benchmark module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/local/share/perl/5.28.1/TAP/Parser/Aggregator.pm line 5. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/TAP/Parser/Aggregator.pm line 5. Compilation failed in require at /usr/local/share/perl/5.28.1/Test/Harness.pm line 12. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/Test/Harness.pm line 12. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [Makefile:778: test_dynamic] Error 2 DAGOLDEN/Perl-OSType-1.010.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DAGOLDEN/Perl-OSType-1.010.tar.gz root@ ~/.cpan/build/Perl-Critic-1.148-2# -- root:~/.cpan/build/Perl-Critic-1.148-2# cpan install XML::Simple Loading internal logger. Log::Log4perl recommended for better logging Reading '/root/.cpan/Metadata' Database was generated on Sat, 28 Jan 2023 18:54:01 GMT Running install for module 'XML::Simple' Fetching with HTTP::Tiny: https://cpan.org/authors/id/G/GR/GRANTM/XML-Simple-2.25.tar.gz Fetching with HTTP::Tiny: https://cpan.org/authors/id/G/GR/GRANTM/CHECKSUMS Checksum for /root/.cpan/sources/authors/id/G/GR/GRANTM/XML-Simple-2.25.tar.gz ok 'YAML' not installed, will not store persistent state The content of '/root/.cpan/build/XML-Simple-2.25-0/META.yml' is not a HASH reference. Cannot use it. Configuring G/GR/GRANTM/XML-Simple-2.25.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning: PERL_LIB (/usr/share/perl/5.28) seems not to be a perl library directory (strict.pm not found) at /etc/perl/ExtUtils/MM_Unix.pm line 1948. Generating a Unix-style Makefile Writing Makefile for XML::Simple GRANTM/XML-Simple-2.25.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for G/GR/GRANTM/XML-Simple-2.25.tar.gz The content of '/root/.cpan/build/XML-Simple-2.25-0/META.yml' is not a HASH reference. Cannot use it. Could not read metadata file. Falling back to other methods to determine prerequisites cp lib/XML/Simple/FAQ.pod blib/lib/XML/Simple/FAQ.pod cp lib/XML/Simple.pm blib/lib/XML/Simple.pm Manifying 2 pod documents GRANTM/XML-Simple-2.25.tar.gz /usr/bin/make -- OK Running make test for GRANTM/XML-Simple-2.25.tar.gz PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Can't locate Benchmark.pm in @INC (you may need to install the Benchmark module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/local/share/perl/5.28.1/TAP/Parser/Aggregator.pm line 5. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/TAP/Parser/Aggregator.pm line 5. Compilation failed in require at /usr/local/share/perl/5.28.1/Test/Harness.pm line 12. BEGIN failed--compilation aborted at /usr/local/share/perl/5.28.1/Test/Harness.pm line 12. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [Makefile:782: test_dynamic] Error 2 GRANTM/XML-Simple-2.25.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports GRANTM/XML-Simple-2.25.tar.gz root:~/.cpan/build/Perl-Critic-1.148-2# also root: ~/.cpan/build/Perl-Critic-1.148-2# perl -e "use XML::Simple " Can't locate XML/Simple.pm in @INC (you may need to install the XML::Simple module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at -e line 1. BEGIN failed--compilation aborted at -e line 1. root@nmail:~/.cpan/build/Perl-Critic-1.148-2# <mailto:root@nmail:~/.cpan/build/Perl-Critic-1.148-2#>