On Sun, Oct 26, 2008 at 10:22 PM, Derek Lac <[EMAIL PROTECTED]> wrote: > Hello, > I am using perl version 5.10. I couldn't get dbd-mysql using ppm Gui. > That's why I am trying to compile it for the last 2 days. > > I am trying to compile it with nmake. I played around the quotes for the > program files/mysql, but I keep on getting the following: > c:\dev\dbd-mysql-4.010\dbdimp.h(22) : fatal error C1083: Cannot open include > fil > e: 'mysql.h': No such file or directory > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 8\VC\BIN\c > l.EXE"' : return code '0x2' > Stop.
Do you have the MySQL libraries (.dll files) and header files installed? If not, you can pick them up at [1] below. The "Without Installer" zipfile is usually the easiest to manage as far as being able to put it someplace that's easy to get to. If you do not have a hard requirement to use ActiveState, you could try my Perl distribution, Camelbox. It already comes with DBI/DBD::mysql out of the box. Homepage is at [2] below. If you do have a hard requirement to use ActiveState, most likely you will have to tweak the Makefile with the location of the MySQL client .dll file to get DBD::mysql to compile on Windows. Thanks, Brian [1] http://dev.mysql.com/downloads/mysql/5.0.html#win32 [2] http://code.google.com/p/camelbox/
