DBD::mysql v2.9003 install problems on macosx 10.3

DBD::mysql v2.9003 install problems on macosx 10.3

am 26.11.2003 04:52:03 von matt harrison

hi there...

version 2.9003 of DBD-mysql from cpan does not compile (make) cleanly
on macosx 10.3 (panther). the problem stems from line 38 of the
Makefile generated by perl Makefile.PL, which in turn is sourced from
/System/Library/Perl/5.8.1/darwin-thread-multi-2level/Config .pm. the
offending line reads:

LD = MACOSX_DEPLOYMENT_TARGET=10.3 cc

....which ought to be:

LD = env MACOSX_DEPLOYMENT_TARGET=10.3 cc

and can be changed with:

perl -pi -e's/MACOSX/env MACOSX/' Makefile

as is abundantly described at http://www.truerwords.net/3556

since this issue arises from the system Config.pm, i don't know if this
is a more general problem than just DBD::mysql, although to date i have
not had to amend the Makefile for the installation of other perl mods.

hope this helps someone.

cheers, matt
(pls cc me on any replies as i am not on the list)


--
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