<div dir="ltr">Greetings,<div><br></div><div>I would strongly recommend leveraging Perlbrew.</div><div><br></div><div>I make it a point to never touch "The System Perl" since it is used by the operating system. It's actually surprising how many command lines tools are actually perl under the hood, I find it best to leave it alone.</div><div><br></div><div>I generally set up a perlbrew instance for my user account and do my dev that way. Hope that helps!</div><div><br></div><div>Best Regards,</div><div>Robert Stone</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Oct 20, 2019 at 9:07 AM Mike Flannigan <<a href="mailto:mikeflan@att.net">mikeflan@att.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I am on Linux Mint now and have the base Perl install:<br>
perl 5, version 26, subversion 1 (v5.26.1) built for <br>
x86_64-linux-gnu-thread-multi<br>
(with 67 registered patches, see perl -V for more detail)<br>
<br>
I want to install modules and am having trouble (see far below).<br>
<br>
Maybe I can work out that trouble, but I want to ask<br>
you'all how I should set up my system. Just use what<br>
I have (5.26.1) or install PerlBrew and perhaps some<br>
other Perl version?<br>
<br>
If I ever do get a module installed, can you tell me where<br>
they will reside? usr/bin has no folders at all.<br>
Oddly, usr/lib does not have a perl folder in it either.<br>
usr/share/perl has a "5.26" directory and "5.26.1" directory.<br>
<br>
<br>
Mike<br>
<br>
<br>
cpan[5]> install Geo::Coordinates::DecimalDegrees<br>
Running install for module 'Geo::Coordinates::DecimalDegrees'<br>
Fetching with LWP:<br>
<a href="http://www.cpan.org/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz" rel="noreferrer" target="_blank">http://www.cpan.org/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz</a><br>
Fetching with LWP:<br>
<a href="http://www.cpan.org/authors/id/W/WA/WALTMAN/CHECKSUMS" rel="noreferrer" target="_blank">http://www.cpan.org/authors/id/W/WA/WALTMAN/CHECKSUMS</a><br>
Checksum for <br>
/home/mike/.cpan/sources/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz <br>
ok<br>
Configuring W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz with <br>
Makefile.PL<br>
Checking if your kit is complete...<br>
Looks good<br>
Warning: prerequisite Test::Number::Delta 0 not found.<br>
Generating a Unix-style Makefile<br>
Writing Makefile for Geo::Coordinates::DecimalDegrees<br>
Writing MYMETA.yml and MYMETA.json<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK<br>
Running make for W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
----     Unsatisfied dependencies detected during     ----<br>
---- WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz ----<br>
    Test::Number::Delta [requires]<br>
Running install for module 'Test::Number::Delta'<br>
Fetching with LWP:<br>
<a href="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz" rel="noreferrer" target="_blank">http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz</a><br>
Fetching with LWP:<br>
<a href="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CHECKSUMS" rel="noreferrer" target="_blank">http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CHECKSUMS</a><br>
Checksum for <br>
/home/mike/.cpan/sources/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz <br>
ok<br>
Configuring D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz with Makefile.PL<br>
Checking if your kit is complete...<br>
Looks good<br>
Generating a Unix-style Makefile<br>
Writing Makefile for Test::Number::Delta<br>
Writing MYMETA.yml and MYMETA.json<br>
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br>
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK<br>
Running make for D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br>
cp lib/Test/Number/Delta.pm blib/lib/Test/Number/Delta.pm<br>
Manifying 1 pod document<br>
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br>
  /usr/bin/make -- OK<br>
Running make test<br>
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" <br>
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, <br>
'blib/lib', 'blib/arch')" t/*.t<br>
t/00-report-prereqs.t .............. #<br>
# Versions for all modules listed in MYMETA.json (including optional ones):<br>
#<br>
# === Configure Requires ===<br>
#<br>
#    Module             Want Have<br>
#Â Â Â Â ------------------- ---- ----<br>
#Â Â Â Â ExtUtils::MakeMaker 6.17 7.24<br>
#<br>
# === Build Requires ===<br>
#<br>
#    Module             Want Have<br>
#Â Â Â Â ------------------- ---- ----<br>
#    ExtUtils::MakeMaker any 7.24<br>
#<br>
# === Test Requires ===<br>
#<br>
#    Module               Want    Have<br>
#Â Â Â Â --------------------- ---- --------<br>
#    ExtUtils::MakeMaker   any    7.24<br>
#    File::Spec            any    3.67<br>
#Â Â Â Â Test::Builder::Tester 1.02 1.302073<br>
#    Test::More            any 1.302073<br>
#<br>
# === Test Recommends ===<br>
#<br>
#    Module        Want    Have<br>
#Â Â Â Â ---------- -------- --------<br>
#Â Â Â Â CPAN::Meta 2.120900 2.150010<br>
#<br>
# === Runtime Requires ===<br>
#<br>
#    Module       Want    Have<br>
#Â Â Â Â ------------- ---- --------<br>
#    Carp          any    1.42<br>
#    Exporter      any    5.72<br>
#    Test::Builder any 1.302073<br>
#    strict        any    1.11<br>
#    vars          any    1.03<br>
#    warnings      any    1.37<br>
#<br>
t/00-report-prereqs.t .............. ok<br>
t/01-module-basics.t ............... ok<br>
t/02-delta.t ....................... ok<br>
t/03-specify_epsilon.t ............. ok<br>
t/04-specify_relative.t ............ ok<br>
t/05-check_bad_param.t ............. ok<br>
t/06-plan_passthrough.t ............ ok<br>
t/07-noplan_passthrough.t .......... ok<br>
t/08-param_and_plan_passthrough.t .. ok<br>
t/09-bad_param_plan_order.t ........ ok<br>
t/10-specify_negative_epsilon.t .... ok<br>
t/11-specify_negative_relative.t ... ok<br>
All tests successful.<br>
Files=12, Tests=72, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.35 cusr <br>
0.05 csys =Â 0.43 CPU)<br>
Result: PASS<br>
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br>
  /usr/bin/make test -- OK<br>
Running make install<br>
Manifying 1 pod document<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
ERROR: Can't create '/usr/local/man/man3'<br>
mkdir /usr/local/man/man3: Permission denied at <br>
/usr/share/perl/5.26/ExtUtils/Install.pm line 477.<br>
<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
  at -e line 1.<br>
Makefile:733: recipe for target 'pure_site_install' failed<br>
make: *** [pure_site_install] Error 13<br>
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br>
  /usr/bin/make install -- NOT OK<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  Has already been unwrapped into directory <br>
/home/mike/.cpan/build/Geo-Coordinates-DecimalDegrees-0.09-0<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  Has already been prepared<br>
Running make for W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
cp DecimalDegrees.pm blib/lib/Geo/Coordinates/DecimalDegrees.pm<br>
Manifying 1 pod document<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  /usr/bin/make -- OK<br>
Running make test<br>
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" <br>
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, <br>
'blib/lib', 'blib/arch')" t/*.t<br>
t/0-signature.t .. skipped: Set the environment variable TEST_SIGNATURE <br>
to enable this test.<br>
t/1.t ............ ok<br>
t/2.t ............ ok<br>
t/pod.t .......... skipped: Test::Pod v0.95 required for testing POD<br>
All tests successful.<br>
Files=4, Tests=58, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.10 cusr <br>
0.00 csys =Â 0.12 CPU)<br>
Result: PASS<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  /usr/bin/make test -- OK<br>
Running make install<br>
Manifying 1 pod document<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
ERROR: Can't create '/usr/local/man/man3'<br>
mkdir /usr/local/man/man3: Permission denied at <br>
/usr/share/perl/5.26/ExtUtils/Install.pm line 477.<br>
<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
  at -e line 1.<br>
Makefile:708: recipe for target 'pure_site_install' failed<br>
make: *** [pure_site_install] Error 13<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br>
  /usr/bin/make install -- NOT OK<br>
Failed during this command:<br>
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz      : install NO<br>
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz: install NO<br>
_______________________________________________<br>
Houston mailing list<br>
<a href="mailto:Houston@pm.org" target="_blank">Houston@pm.org</a><br>
<a href="https://mail.pm.org/mailman/listinfo/houston" rel="noreferrer" target="_blank">https://mail.pm.org/mailman/listinfo/houston</a><br>
Website: <a href="http://houston.pm.org/" rel="noreferrer" target="_blank">http://houston.pm.org/</a><br>
</blockquote></div>