Hi Monks! I'm new to Perl and am trying to set up perl DBI so I can get started with MySQL. I've run into a problem with DBI that arises during the make stage of the installation, and would greatly appreciate some help with solving the issue.

I am trying to install DBI v1.637 using Perl v5.18.2, on MacOS Sierra v10.12.6. However, the problem persists for other recent DBI versions, and occurs when using cpan or a tarball. I've included a copy of the makefile that is generated here: pastebin.com/mXaxUaYX and terminal output below after running the makefile and then make as sudo. Many thanks for your help

/usr/bin/perl -MExtUtils::Command -e 'mkpath' -- blib/lib/DBI rm -f blib/lib/DBI/Changes.pm cp Changes blib/lib/DBI/Changes.pm cp lib/DBD/File/Roadmap.pod blib/lib/DBD/File/Roadmap.pod cp dbi_sql.h blib/arch/auto/DBI/dbi_sql.h cp lib/DBD/Sponge.pm blib/lib/DBD/Sponge.pm cp dbipport.h blib/arch/auto/DBI/dbipport.h cp lib/DBI/DBD/Metadata.pm blib/lib/DBI/DBD/Metadata.pm cp lib/DBI/SQL/Nano.pm blib/lib/DBI/SQL/Nano.pm cp lib/DBI/Gofer/Serializer/DataDumper.pm blib/lib/DBI/Gofer/Serialize +r/DataDumper.pm cp lib/DBI/Const/GetInfo/ODBC.pm blib/lib/DBI/Const/GetInfo/ODBC.pm cp lib/DBD/File/Developers.pod blib/lib/DBD/File/Developers.pod cp lib/DBI/Gofer/Transport/Base.pm blib/lib/DBI/Gofer/Transport/Base.p +m cp lib/DBI/Util/_accessor.pm blib/lib/DBI/Util/_accessor.pm cp lib/DBD/NullP.pm blib/lib/DBD/NullP.pm cp lib/DBI/DBD/SqlEngine/Developers.pod blib/lib/DBI/DBD/SqlEngine/Dev +elopers.pod cp lib/DBI/ProfileDumper/Apache.pm blib/lib/DBI/ProfileDumper/Apache.p +m cp lib/DBI/PurePerl.pm blib/lib/DBI/PurePerl.pm cp lib/DBI/ProfileSubs.pm blib/lib/DBI/ProfileSubs.pm cp dbivport.h blib/arch/auto/DBI/dbivport.h cp dbixs_rev.h blib/arch/auto/DBI/dbixs_rev.h cp lib/DBI/Gofer/Serializer/Base.pm blib/lib/DBI/Gofer/Serializer/Base +.pm cp lib/DBI/Const/GetInfoType.pm blib/lib/DBI/Const/GetInfoType.pm cp dbd_xsh.h blib/arch/auto/DBI/dbd_xsh.h cp lib/DBD/Gofer/Policy/Base.pm blib/lib/DBD/Gofer/Policy/Base.pm cp lib/DBI/Util/CacheMemory.pm blib/lib/DBI/Util/ AutoSplit: Can't open blib/lib/DBI/Util/.pm: No such file or directory make: *** [pm_to_blib] Error 2

In reply to 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.