in reply to DBD::mysql installation

Looking at those errors, you might not have the mysql client header files installed. Actually, it looks like something else is going wrong. You do have the mysqlclient libraries installed, right?

I'm not sure if there is a cygwin package for libmysqlclient, but you could try compiling it from source on cygwin. If you get that to work, chances are DBD::mysql will compile too.

Replies are listed 'Best First'.
Re^2: DBD::mysql installation
by Anonymous Monk on Apr 06, 2005 at 17:27 UTC
    Yes, I have the mysqlclient.lib file installed and available. I think it's finding it, but I'm not 100% sure.

    Now that I'm looking at this again, I think it's not finding the client library. I'm getting an error when I run perl Makefile.PL related to that. However, when it said it was probably harmless, I guess I ignored it. I guess I best look into this some more.

    Here's the error if you want to see it:
    I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/local/include libs (mysql_config) = -L/usr/local/lib -lmysqlclient -lz -l +crypt -lns l -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'. Note (probably harmless): No library found for -lmysqlclient Note (probably harmless): No library found for -lnsl Using DBI 1.48 (for perl 5.008006 on cygwin-thread-multi-64int) instal +led in /us r/lib/perl5/site_perl/5.8/cygwin/auto/DBI/ Writing Makefile for DBD::mysql