Hello blackrussian,
I have been developping Perl projects on that very same platform you're using, but never encountered a problem such as yours. First and foremost, use the CPAN module as marto suggested. Next, remember that many of the tests performed by DBD::mysql need to be able to connect to the mysql server. You should have seen something like this when running perl Makefile.PL:
I will use the following settings for compiling and testing: cflags (mysql_config) = -I/usr/local/mysql/include -Os -arch +ppc -fno-common embedded (mysql_config) = libs (mysql_config) = -L/usr/local/mysql/lib -lmysqlclient +-lz -lm mysql_config (guessed ) = mysql_config nocatchstderr (default ) = 0 nofoundrows (default ) = 0 ssl (guessed ) = 0 testdb (default ) = test testhost (default ) = testpassword (default ) = testsocket (default ) = testuser (default ) = To change these settings, see 'perl Makefile.PL --help' and 'perldoc INSTALL'.
You can correct these settings either by adding arguments to the command, as in perl Makefile.PL --testuser=foo --testpassword=bar or by using the CPAN module configuration options: o conf makepl_arg "--testuser=foo --testpassword=bar".
Try again with that first, knowing that you shouldn't have to update your perl version at all (I didn't need to), but that doing it could be a solution if all else fails.
Hope this helps.
In reply to Re: Installing DBD::MySQL on Mac OS X - Problems
by Fang
in thread Installing DBD::MySQL on Mac OS X - Problems
by blackrussian
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |