I'm setting up PHPTriad on my computer. I've upgraded to a recent version of perl, and am installing the modules I'll need.
I installed CGI::Session and HTML::Template with ease. I've run into a problem when trying to install DBI-1.42, so that my scripts can interact with MySQL...

When I run perl makefile.pl, I get the following warning: "You are using a perl configured with threading enabled. You should be aware that using multiple threads is not recommended for production environments"

Then it does some stuff (Creating DBI::PurePerl.....) and gives me the following error:
"Warning: Prerequisite Test::More failed to load: Can't locate......."

When I try to run nmake once it finishes, it seems to do what it needs to, until it ends up giving me a fatal error stating:
"NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
Stop."

I'll admit, I haven't got a clue what's wrong. Does anyone know how I can get DBI installed so that my script will be able to communicate with MySQL?

Any help is MUCH appreciated.


Steny

In reply to Trouble installing DBI by Stenyj

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.