Compiling MySQL & DBD::mysql under cygwin
February 5, 2007 4:12 PM
Subscribe
MySQL source vs 'devel' package quirkiness...
I'm trying to setup DBD::mysql, under cygwin, using the instructions found
here.
I download the MySQL source tar.gz file from the
mysql community site, and build the mysql client/libraries without any obvious issues.
But when I try to make DBD::mysql, it dies saying dbdimp.h references mysqld_error.h, which is not found. Looking in the /usr/local/mysql/include/mysql folder, we can see that indeed, the file doesn't exist.
I tried checking one of the binary "max" tar balls, and it does contain the missing header files. Oldschool me can't help but thinking of the difference between a source and a source-devel package, but I don't see anywhere on mysql.com to find the devel sources. It doesn't appear that the include files from the binary tarball are drop-in replaceable with those that came in the 'source' tarball.
Does anyone know what's up with MySQL sources, and if there is a devel tarball?
posted by nomisxid to computers & internet (7 comments total)
1 user marked this as a favorite
Your other issue is likely related to MySQL's careful hiding of releases from casual non-commercial surfers of MySQL.com. However, you can still get what you need if you know where to look.
posted by wackybrit at 5:14 PM on February 5, 2007 [1 favorite]