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.
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.
Response by poster: 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
posted by Dag Maggot at 3:24 PM on July 16, 2005
Response by poster: That did the trick. (the earlier version). In hindsight, I feel foolish, but this is a good lesson for me.
Thanks
posted by Dag Maggot at 3:50 PM on July 16, 2005
Thanks
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
posted by evariste at 11:56 AM on July 17, 2005
This thread is closed to new comments.
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