Hello again Nanjizal,

First of all do not worried for obvious mistakes we all being there and believe me all of us (at least the majority) we are still here. Maybe this minor problem it looks big to you but we also face minor problems that looks huge to us.

Moving on to resolve the issue, regarding install CPAN. It is very important to read the stdout of the modules. By 99.9% usually contains the answer to your problems.

Read carefully this part:

Warning: Prerequisite 'Mac::SystemDirectory => 0.04' for 'REHSACK/File +-HomeDir-1.002.tar.gz' failed when processing 'ETHER/Mac-SystemDirect +ory-0.10.tar.gz' with 'make_test => NO'. Continuing, but chances to s +ucceed are limited.

The same error you get at the end also. Try as sudo (if there is I can not remember):

sudo cpan Mac::SystemDirectory

If everything works fine, do again install CPAN and reload cpan. In case of another error repeat again and again until you make it work ;)

Always but always read the output 99.9% in all cases contains hints on how to resolve issues not only for Perl but in general.

Minor hint, when you are posting a huge bunch of coding lines use <readmore> and </readmore> it helps a lot for readability reasons.

Try it out and if you get any problems comment again.

BR / Thanos

Seeking for Perl wisdom...on the process of learning...not there...yet!

In reply to Re^3: Perl DBI installation problem on MacOS Sierra - Can't open blib/lib/DBI/Util/ by thanos1983
in thread Perl DBI installation problem on MacOS Sierra - Can't open blib/lib/DBI/Util/ by Nanjizal

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.