Install DBD::mysqlPP, the PurePerl version of DBD::mysql. If you still want DBD::mysql, you'll have to pass the appropriate options to Makefile.PL, like it says
E:\new\DBD-mysql-2.1026>perl makefile.pl --help Usage: perl makefile.pl [options] Possible options are: --cflags=<flags> Use <flags> for running the C compiler; defau +lts to the value of "mysql_config --cflags" --libs=<libs> Use <libs> for running the linker; defaults to the value of "mysql_config --libs" --testdb=<db> Use the database <db> for running the test su +ite; defaults to test --testuser=<user> Use the username <user> for running the test +suite; defaults to no username --testpassword=<pwd> Use the password <pwd> for running the test s +uite; defaults to no password --testhost=<host> Use <host> as a database server for running t +he test suite; defaults to localhost. --testport=<port> Use <port> as the port number of the database +; by default the port number is choosen from th +e mysqlclient library --nocatchstderr Supress using the "myld" script that redirect +s STDERR while running the linker. --help Print this message and exit All options may be configured on the command line. If they are not present on the command line, then mysql_config is called: mysql_config --cflags mysql_config --libs mysql_config --testdb and so on. See the INSTALL.html file for details. E:\new\DBD-mysql-2.1026>
You need to install mysql client libraries, and then do something like
perl Makefile.PL --cflags=-IC:\mysql\include --libs="-LC:\mysql\lib\op +t -lmysqlclient"
You'll have to adjust for your environment.

You'll want to read ExtUtils::MakeMaker, since %97 of Makefile.PL's use ExtUtils::MakeMaker.


MJD says you can't just make shit up and expect the computer to know what you mean, retardo!
I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests.
** The Third rule of perl club is a statement of fact: pod is sexy.


In reply to Re: Cant install DBD-Mysql by PodMaster
in thread Cant install DBD-Mysql by Anonymous Monk

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.