<html><head></head><body><div class="ydp792572bfyahoo-style-wrap" style=""><div style=""><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;">Mike,</div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><br></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;">> <span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I make it a point to never touch "The System Perl" since it is used by the operating system</span></span></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I concur with this.</span></span></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">> <span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">cpan[5]> install Geo::Coordinates::DecimalDegrees</span></span></span></span></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">> </span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">I would strongly recommend leveraging Perlbrew.</span><br></div><div dir="ltr" data-setdir="false" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><br></span></span></span></span></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif">However, I personally do not recommend either of these processes this for enterprise systems.  In an enterprise, a different team will update the OS stack for patching much more frequently than the application team.  </font></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif">I recommend using the OS provided Perl version and work around any missing capabilities.  Then I recommend that you build/find packages for all of the CPAN modules that you need and put them in a <span><span style="color: rgb(38, 40, 42); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px;">YUM/APT </span></span>repository. Finally, I recommend that you also package your own application.</font></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif">We use RPMs which are easy to create. I use the EPEL repository which has just about all of the Perl package we need.  Any others can normally be built with cpanspec -b.  Then for my application-level RPMs, I have a Makefile that can build my RPM with a simple `make rpm` command wrapper around tar and rpmbuild.  </font></div><div dir="ltr" data-setdir="false" style=""><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div dir="ltr" data-setdir="false" style=""><div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif">In our enterprise, we cannot install on a production server directly from the internet so, `cpan install` would not work anyway and there is a chance that the code installed is not the version that went through QA and will most likely not be the same version when the server needs to be rebuilt in a year.  </font></div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div dir="ltr" data-setdir="false" style="color: rgb(0, 0, 0); font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><font color="#26282a" face="Helvetica Neue, Helvetica, Arial, sans-serif">Remember, any packages that you build are supported by your team. Any packages that the OS/Security team installs are support by them!  So, try to reuse as much code as possible from the supported OS teams repositories.</font></div></div><br></div><div dir="ltr" data-setdir="false" style=""><br></div><div class="ydp792572bfsignature" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><div style="font-family:courier, monaco, monospace, sans-serif;font-size:16px;">Michael R. Davis</div></div></div>
        <div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><br></div><div style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 16px;"><br></div>
        
        </div><div id="ydp3174fc6cyahoo_quoted_2165844826" class="ydp3174fc6cyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Sunday, October 20, 2019, 03:12:28 PM EDT, Robert Stone <drzigman@drzigman.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydp3174fc6cyiv7821892705"><div><div dir="ltr">Greetings,<div><br clear="none"></div><div>I would strongly recommend leveraging Perlbrew.</div><div><br clear="none"></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 clear="none"></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 clear="none"></div><div>Best Regards,</div><div>Robert Stone</div></div><br clear="none"><div class="ydp3174fc6cyiv7821892705yqt8760551286" id="ydp3174fc6cyiv7821892705yqt91982"><div class="ydp3174fc6cyiv7821892705gmail_quote"><div class="ydp3174fc6cyiv7821892705gmail_attr" dir="ltr">On Sun, Oct 20, 2019 at 9:07 AM Mike Flannigan <<a shape="rect" href="mailto:mikeflan@att.net" rel="nofollow" target="_blank">mikeflan@att.net</a>> wrote:<br clear="none"></div><blockquote class="ydp3174fc6cyiv7821892705gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><br clear="none">
I am on Linux Mint now and have the base Perl install:<br clear="none">
perl 5, version 26, subversion 1 (v5.26.1) built for <br clear="none">
x86_64-linux-gnu-thread-multi<br clear="none">
(with 67 registered patches, see perl -V for more detail)<br clear="none">
<br clear="none">
I want to install modules and am having trouble (see far below).<br clear="none">
<br clear="none">
Maybe I can work out that trouble, but I want to ask<br clear="none">
you'all how I should set up my system.  Just use what<br clear="none">
I have (5.26.1) or install PerlBrew and perhaps some<br clear="none">
other Perl version?<br clear="none">
<br clear="none">
If I ever do get a module installed, can you tell me where<br clear="none">
they will reside?  usr/bin has no folders at all.<br clear="none">
Oddly, usr/lib does not have a perl folder in it either.<br clear="none">
usr/share/perl has a "5.26" directory and "5.26.1" directory.<br clear="none">
<br clear="none">
<br clear="none">
Mike<br clear="none">
<br clear="none">
<br clear="none">
cpan[5]> install Geo::Coordinates::DecimalDegrees<br clear="none">
Running install for module 'Geo::Coordinates::DecimalDegrees'<br clear="none">
Fetching with LWP:<br clear="none">
<a shape="rect" href="http://www.cpan.org/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz" rel="nofollow" target="_blank">http://www.cpan.org/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz</a><br clear="none">
Fetching with LWP:<br clear="none">
<a shape="rect" href="http://www.cpan.org/authors/id/W/WA/WALTMAN/CHECKSUMS" rel="nofollow" target="_blank">http://www.cpan.org/authors/id/W/WA/WALTMAN/CHECKSUMS</a><br clear="none">
Checksum for <br clear="none">
/home/mike/.cpan/sources/authors/id/W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz <br clear="none">
ok<br clear="none">
Configuring W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz with <br clear="none">
Makefile.PL<br clear="none">
Checking if your kit is complete...<br clear="none">
Looks good<br clear="none">
Warning: prerequisite Test::Number::Delta 0 not found.<br clear="none">
Generating a Unix-style Makefile<br clear="none">
Writing Makefile for Geo::Coordinates::DecimalDegrees<br clear="none">
Writing MYMETA.yml and MYMETA.json<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK<br clear="none">
Running make for W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
----      Unsatisfied dependencies detected during      ----<br clear="none">
---- WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz ----<br clear="none">
     Test::Number::Delta [requires]<br clear="none">
Running install for module 'Test::Number::Delta'<br clear="none">
Fetching with LWP:<br clear="none">
<a shape="rect" href="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz" rel="nofollow" target="_blank">http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz</a><br clear="none">
Fetching with LWP:<br clear="none">
<a shape="rect" href="http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CHECKSUMS" rel="nofollow" target="_blank">http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CHECKSUMS</a><br clear="none">
Checksum for <br clear="none">
/home/mike/.cpan/sources/authors/id/D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz <br clear="none">
ok<br clear="none">
Configuring D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz with Makefile.PL<br clear="none">
Checking if your kit is complete...<br clear="none">
Looks good<br clear="none">
Generating a Unix-style Makefile<br clear="none">
Writing Makefile for Test::Number::Delta<br clear="none">
Writing MYMETA.yml and MYMETA.json<br clear="none">
   DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br clear="none">
   /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK<br clear="none">
Running make for D/DA/DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br clear="none">
cp lib/Test/Number/Delta.pm blib/lib/Test/Number/Delta.pm<br clear="none">
Manifying 1 pod document<br clear="none">
   DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br clear="none">
   /usr/bin/make -- OK<br clear="none">
Running make test<br clear="none">
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" <br clear="none">
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, <br clear="none">
'blib/lib', 'blib/arch')" t/*.t<br clear="none">
t/00-report-prereqs.t .............. #<br clear="none">
# Versions for all modules listed in MYMETA.json (including optional ones):<br clear="none">
#<br clear="none">
# === Configure Requires ===<br clear="none">
#<br clear="none">
#     Module              Want Have<br clear="none">
#     ------------------- ---- ----<br clear="none">
#     ExtUtils::MakeMaker 6.17 7.24<br clear="none">
#<br clear="none">
# === Build Requires ===<br clear="none">
#<br clear="none">
#     Module              Want Have<br clear="none">
#     ------------------- ---- ----<br clear="none">
#     ExtUtils::MakeMaker  any 7.24<br clear="none">
#<br clear="none">
# === Test Requires ===<br clear="none">
#<br clear="none">
#     Module                Want     Have<br clear="none">
#     --------------------- ---- --------<br clear="none">
#     ExtUtils::MakeMaker    any     7.24<br clear="none">
#     File::Spec             any     3.67<br clear="none">
#     Test::Builder::Tester 1.02 1.302073<br clear="none">
#     Test::More             any 1.302073<br clear="none">
#<br clear="none">
# === Test Recommends ===<br clear="none">
#<br clear="none">
#     Module         Want     Have<br clear="none">
#     ---------- -------- --------<br clear="none">
#     CPAN::Meta 2.120900 2.150010<br clear="none">
#<br clear="none">
# === Runtime Requires ===<br clear="none">
#<br clear="none">
#     Module        Want     Have<br clear="none">
#     ------------- ---- --------<br clear="none">
#     Carp           any     1.42<br clear="none">
#     Exporter       any     5.72<br clear="none">
#     Test::Builder  any 1.302073<br clear="none">
#     strict         any     1.11<br clear="none">
#     vars           any     1.03<br clear="none">
#     warnings       any     1.37<br clear="none">
#<br clear="none">
t/00-report-prereqs.t .............. ok<br clear="none">
t/01-module-basics.t ............... ok<br clear="none">
t/02-delta.t ....................... ok<br clear="none">
t/03-specify_epsilon.t ............. ok<br clear="none">
t/04-specify_relative.t ............ ok<br clear="none">
t/05-check_bad_param.t ............. ok<br clear="none">
t/06-plan_passthrough.t ............ ok<br clear="none">
t/07-noplan_passthrough.t .......... ok<br clear="none">
t/08-param_and_plan_passthrough.t .. ok<br clear="none">
t/09-bad_param_plan_order.t ........ ok<br clear="none">
t/10-specify_negative_epsilon.t .... ok<br clear="none">
t/11-specify_negative_relative.t ... ok<br clear="none">
All tests successful.<br clear="none">
Files=12, Tests=72,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.35 cusr  <br clear="none">
0.05 csys =  0.43 CPU)<br clear="none">
Result: PASS<br clear="none">
   DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br clear="none">
   /usr/bin/make test -- OK<br clear="none">
Running make install<br clear="none">
Manifying 1 pod document<br clear="none">
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br clear="none">
ERROR: Can't create '/usr/local/man/man3'<br clear="none">
mkdir /usr/local/man/man3: Permission denied at <br clear="none">
/usr/share/perl/5.26/ExtUtils/Install.pm line 477.<br clear="none">
<br clear="none">
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br clear="none">
  at -e line 1.<br clear="none">
Makefile:733: recipe for target 'pure_site_install' failed<br clear="none">
make: *** [pure_site_install] Error 13<br clear="none">
   DAGOLDEN/Test-Number-Delta-1.06.tar.gz<br clear="none">
   /usr/bin/make install  -- NOT OK<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   Has already been unwrapped into directory <br clear="none">
/home/mike/.cpan/build/Geo-Coordinates-DecimalDegrees-0.09-0<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   Has already been prepared<br clear="none">
Running make for W/WA/WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
cp DecimalDegrees.pm blib/lib/Geo/Coordinates/DecimalDegrees.pm<br clear="none">
Manifying 1 pod document<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   /usr/bin/make -- OK<br clear="none">
Running make test<br clear="none">
PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" <br clear="none">
"-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, <br clear="none">
'blib/lib', 'blib/arch')" t/*.t<br clear="none">
t/0-signature.t .. skipped: Set the environment variable TEST_SIGNATURE <br clear="none">
to enable this test.<br clear="none">
t/1.t ............ ok<br clear="none">
t/2.t ............ ok<br clear="none">
t/pod.t .......... skipped: Test::Pod v0.95 required for testing POD<br clear="none">
All tests successful.<br clear="none">
Files=4, Tests=58,  0 wallclock secs ( 0.01 usr  0.01 sys +  0.10 cusr  <br clear="none">
0.00 csys =  0.12 CPU)<br clear="none">
Result: PASS<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   /usr/bin/make test -- OK<br clear="none">
Running make install<br clear="none">
Manifying 1 pod document<br clear="none">
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br clear="none">
ERROR: Can't create '/usr/local/man/man3'<br clear="none">
mkdir /usr/local/man/man3: Permission denied at <br clear="none">
/usr/share/perl/5.26/ExtUtils/Install.pm line 477.<br clear="none">
<br clear="none">
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br clear="none">
  at -e line 1.<br clear="none">
Makefile:708: recipe for target 'pure_site_install' failed<br clear="none">
make: *** [pure_site_install] Error 13<br clear="none">
   WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz<br clear="none">
   /usr/bin/make install  -- NOT OK<br clear="none">
Failed during this command:<br clear="none">
  DAGOLDEN/Test-Number-Delta-1.06.tar.gz       : install NO<br clear="none">
  WALTMAN/Geo-Coordinates-DecimalDegrees-0.09.tar.gz: install NO<br clear="none">
_______________________________________________<br clear="none">
Houston mailing list<br clear="none">
<a shape="rect" href="mailto:Houston@pm.org" rel="nofollow" target="_blank">Houston@pm.org</a><br clear="none">
<a shape="rect" href="https://mail.pm.org/mailman/listinfo/houston" rel="nofollow" target="_blank">https://mail.pm.org/mailman/listinfo/houston</a><br clear="none">
Website: <a shape="rect" href="http://houston.pm.org/" rel="nofollow" target="_blank">http://houston.pm.org/</a><br clear="none">
</blockquote></div></div></div></div><div class="ydp3174fc6cyqt8760551286" id="ydp3174fc6cyqt43079">_______________________________________________<br clear="none">Houston mailing list<br clear="none"><a shape="rect" href="mailto:Houston@pm.org" rel="nofollow" target="_blank">Houston@pm.org</a><br clear="none"><a shape="rect" href="https://mail.pm.org/mailman/listinfo/houston" rel="nofollow" target="_blank">https://mail.pm.org/mailman/listinfo/houston</a><br clear="none">Website: <a shape="rect" href="http://houston.pm.org/" rel="nofollow" target="_blank">http://houston.pm.org/</a><br clear="none"></div></div>
            </div>
        </div></body></html>