in reply to Problems setting up a local version of Perl (DBD::mysql)...

Don't be frightened by the size of the <h3> :) its simpler than p/b|big or li/b|big

dbdimp.h:22:49: error: mysql.h: No such file or directory

dbdimp.h:23:45: error: mysqld_error.h: No such file or directory

dbdimp.h:25:49: error: errmsg.h: No such file or directory

Why those files aren't under /usr/include/mysql I do not know :)

http://search.cpan.org/dist/DBD-mysql/lib/DBD/mysql/INSTALL.pod has tips on which RPMs you need

  • Comment on Re: Problems setting up a local version of Perl (DBD::mysql)...

Replies are listed 'Best First'.
Re^2: Problems setting up a local version of Perl (DBD::mysql)...
by s2cuts (Acolyte) on Jun 18, 2011 at 17:56 UTC

    Ok, the install POD hinted that I was missing the OS package "mysql-devel". After installing it, DBD::mysql installed through the CPAN client.

    Thanks for the help.