Subject: | make breaks (in myld) on Mac OS X 10.3 |
distro is DBD-mysql-2.9003
Perl version is "v5.8.1-RC3 built for darwin-thread-multi-2level"
OS is "Darwin John-Sullivans-Computer.local 7.0.0 Darwin Kernel Version 7.0.0: Wed Sep 24 15:48:39 PDT 2003; root:xnu/xnu-517.obj~1/RELEASE_PPC Power Macintosh powerpc"
To get this install to work, I had to make a minor edit in myld script, found in the root install dir. At about line 13, I changed:
my $retval = system @ARGV;
To:
my $retval = system "@ARGV";
Before making this change, the make was failing, without giving any error. The command that was causing the failure looked like this, for me:
LD_RUN_PATH="/usr/lib" /usr/bin/perl myld MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib dbdimp.o mysql.o -o blib/arch/auto/DBD/mysql/mysql.bundle -L/usr/local/mysql/lib -lmysqlclient -lz -lm
(I imagine this was a make rule for mysql.bundle, but I didn't look into the Makefile.)