in reply to Re: DBD::mysql
in thread DBD::mysql

I've installed perl 5.8.5, and am now getting a different problem with installing DBD::mysql. CPAN puts up a list of a couple thousand lines of errors which largely read
dbdimp.c:####: dereferencing pointer to incomplete type
Also there are numerous errors like
dbdimp.c: In function 'mysql_db_reconnect': dbdimp.c.2273: 'MYSQL undeclared (first use in this function)
Is the installation not finding MySQL? It's up and running when I try to install with CPAN.

Replies are listed 'Best First'.
Re^3: DBD::mysql
by jdtoronto (Prior) on Nov 03, 2004 at 14:35 UTC
    It seems you STILL haven't downloaded the client libraries for MySQL. DBD-MySQL requires certain library or header files from MySQL in order to be able to compile.

    Go to the MySQL site and download the appropriate file of 'libraries and headers' (usually around 2.6MB) for your version of MySQl. THEN try to compile DBD-mysql. It will probably work - it usually does.

    jdtoronto