YourSQL, definitely not mine.
July 16, 2005 2:37 PM   Subscribe

This might be a little esoteric - but has anynone managed to get Perl's DBD::mysql module working on OSX Tiger?

I intalled the standard OSX Mysql 4.x binary, and I've tried downloading and manually building the DBI module from source. After doing make: I get the following error:

dbdimp.c: In function 'mysql_st_fetch':
dbdimp.c:2775: error: 'MYSQL_BIND' undeclared (first use in this function)
dbdimp.c:2775: error: (Each undeclared identifier is reported only once
dbdimp.c:2775: error: for each function it appears in.)
make: *** [dbdimp.o] Error 1

I've tried forcing the install, but this does not work. So I guess it's a fairly major problem. I've also tried the MCPAN shell installer, with similar results. Any help would be greatly appreciated, and save a few hairs on my head.
posted by Dag Maggot to Technology (4 answers total)
Did you try Googling for <MYSQL_BIND undeclared>? This is always a good idea if you have an easily identifiable error message before asking other people.

If you did, you would find that this seems to be a problem with a version of DBD::mysql released in the last week or so. So either get an older version or a newer one.
posted by grouse at 2:51 PM on July 16, 2005

I did google that, but couldn't tell if this was Darwin or BSD issue specifically. Good advice however to try an earlier version, I'll give it a shot.
posted by Dag Maggot at 3:24 PM on July 16, 2005

That did the trick. (the earlier version). In hindsight, I feel foolish, but this is a good lesson for me.

posted by Dag Maggot at 3:50 PM on July 16, 2005

If you're installing DBD::mysql in order to run Movable Type on localhost, beware a certain version.
posted by evariste at 11:56 AM on July 17, 2005

« Older reproducing old documents   |   Can You Hear That Dog? Newer »
This thread is closed to new comments.