Install DBD::mysql on Mac 10.3.2

Install DBD::mysql on Mac 10.3.2

am 11.03.2004 17:02:01 von Greg Rice

I'm having some difficulty installing DBD::mysql on a Mac 10.3.2 system
with Perl 5.8.1. I attempted to install with CPAN, but the make
failed. After searching list archives, I edited
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config .pm,
changing

ld='MOACOSX_DEPLOYMENT_TARGET=10.3 cc'

to

ld='env MOACOSX_DEPLOYMENT_TARGET=10.3 cc'

then ran perl Makefile.PL, followed by make, apparently successfully.
Running make test, however, still shows a problem:

Homer:~/.cpan/build/DBD-mysql-2.9003 greg$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........ok
t/10dsnlist........ok
t/20createdrop.....ok
t/30insertfetch....ok
t/40bindparam......ok
t/40blobs..........ok
t/40listfields.....ok
t/40nulls..........ok
t/40numrows........ok
t/50chopblanks.....ok
t/50commit.........ok
t/60leaks..........skipped
all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable
not installed
t/ak-dbd...........ok
t/akmisc...........ok
t/dbdadmin.........ok
t/insertid.........ok
t/mysql............FAILED tests 46-48
Failed 3/68 tests, 95.59% okay
t/mysql2...........ok
Failed Test Stat Wstat Total Fail Failed List of Failed
------------------------------------------------------------ ------------
-------
t/mysql.t 68 3 4.41% 46-48
1 test skipped.
Failed 1/18 test scripts, 94.44% okay. 3/767 subtests failed, 99.61%
okay.
make: *** [test_dynamic] Error 2

I've looked at t/mysql.t, but am unable to recognize which tests are
failing. Is this a problem with the test, with my existing installation
of MySQL or DBI, or with DBD::mysql? How do I tell?

Any hints appreciated.

Greg


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org