DBI should build out of the box, which version (Perl, DBI, ...) did you try? To build DBD::mysql DBI needs to be installed and also the mysql client import lib libmysqlclient.a. MySQL binary mysql-3.23.43-pc-cygwin-i586.tar.bz2 including the client lib and the (not stable running) server:
http://koeln.convey.de/cywgin/mysql/
However that link goes nowhere (literally).
Additionally the readme for the DBD package states:
Windows/CygWin
Unfortunately it seems that the usual MySQL windows binaries cannot be combined with the CygWin libraries. At least I don't know how. In other words: You need to compile your own MySQL client binaries. In what follows I assume that you have downloaded and extracted the MySQL sources and the DBD::mysq sources to /usr/local/src. The following steps should do:
So where do I get the MySQL sources? (Attempting to download the source from: http://www.mysql.com/downloads/download.php?file=Downloads%2FMySQL-4.0%2Fmysql-4.0.15a.tar.gz&pick=mirror yeilds nothing but errors!).
I think it would be advantagous to have a Cygwin package for just the MySQL client and/or the MySQL libraries needed to use MySQL as well as a MySQL server compiled under Cygwin. Apparently that doesn't seem to exist.
=== Obligatory witty line: Honk If you want to see my finger
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/