in reply to Cant install DBD-Mysql
You need to install mysql client libraries, and then do something likeE:\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'll have to adjust for your environment.perl Makefile.PL --cflags=-IC:\mysql\include --libs="-LC:\mysql\lib\op +t -lmysqlclient"
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. |
|
|---|