Hi I'm trying to install the Perl module DBI to enable me to access a MySQL database. I'm entering the following command via the Windows Command Prompt (running Windows 7): cpanm DBI It starts running, but after a minute or so I get the pop-up error telling me that the Command Prompt has stopped working - I get this several times until the install fails. Complete list of what is display in the command prompt below:
C:\cpanm DBI Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 --> Working on DBI Fetching http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.633.tar.gz ... + OK Configuring DBI-1.633 ... OK Building and testing DBI-1.633 ... FAIL ! Installing DBI failed. See C:\Users\Colin\.cpanm\work\1424190404.579 +6\build.log for details. Retry with --force to force install it.
I've tried the --force which came up with the same error but informed me that it has installed anyway but does not appear to have worked as my Perl program cannot find the module. Any ideas where I'm going wrong greatly appreciated - I've installed Perl modules using this method before without these kind of issues. Still new to working with Perl! So hopefully something simple I've missed. Thanks Colin

In reply to Trying to install DBI by ureco

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.