I've never used CPAN on my Mac before and hardly at all on other machines ... in other words newbie warning.

Anyway, I want to use MySQL from Perl so I installed DBI, no problems. Then I tried to install DBD::mysql but it fails. I get the following error message:
---------------------------
dbdimp.c: In function ‘mysql_dr_connect’:
dbdimp.c:1677: error: ‘ulong’ undeclared (first use in this function)
dbdimp.c:1677: error: (Each undeclared identifier is reported only once
dbdimp.c:1677: error: for each function it appears in.)
dbdimp.c:1677: error: parse error before numeric constant
make: *** [dbdimp.o] Error 1
  /usr/bin/make  -- NOT OK
---------------------------

which seems to be this line

#if MYSQL_VERSION_ID >= MULTIPLE_RESULT_SET_VERSION
    client_flag|= CLIENT_MULTI_RESULTS;
#endif

So I'm at a loss here, I'm using the prebuild MySQL from MySQL version 5.0.27-standard.

Any suggestions for what I'm doing wrong?

            jem

Reply via email to